6 #define CM_WRITETHROUGH 0
8 #define CM_SERIALIZED 2
9 #define CM_NONCACHEABLE 3
11 /* Platform-specific part of KernelBase */
18 UBYTE
*zeropagedescriptor
;
19 UBYTE cachemodestore
; /* CachePreDMA()/CachePostDMA() */
22 extern BOOL
map_region(struct KernelBase
*kb
, void *addr
, void *physaddr
, ULONG size
, BOOL invalid
, BOOL writeprotect
, BOOL supervisor
, UBYTE cachemode
);
23 extern BOOL
unmap_region(struct KernelBase
*kb
, void *addr
, ULONG size
);
24 extern void debug_mmu(struct KernelBase
*kb
);
25 extern void enable_mmu(struct KernelBase
*kb
);
26 extern void disable_mmu(struct KernelBase
*kb
);
27 extern BOOL
init_mmu(struct KernelBase
*kb
);