Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/arch/sparc64/src/mm/sun4v/tlb.c

    r77f65df ra000878c  
    5454#include <arch/cpu.h>
    5555#include <arch/mm/pagesize.h>
     56#include <genarch/mm/page_ht.h>
    5657
    5758#ifdef CONFIG_TSB
     
    8889 * field of the MMU fault status area is i.
    8990 */
    90 char *fault_types[] = {
     91static const char *fault_types[] = {
    9192        "unknown",
    9293        "fast miss",
     
    106107        "invalid page size"
    107108        };
    108        
    109109
    110110/** Array of MMU fault status areas. */
     
    405405        uint64_t errno =  __hypercall_fast3(MMU_DEMAP_ALL, 0, 0,
    406406                MMU_FLAG_DTLB | MMU_FLAG_ITLB);
    407         if (errno != EOK) {
     407        if (errno != HV_EOK) {
    408408                panic("Error code = %d.\n", errno);
    409409        }
Note: See TracChangeset for help on using the changeset viewer.