config: fix build with external compiler by passing the sysroot where needed
[AROS.git] / arch / m68k-all / kernel / kernel_intern.h
blob2acd188992ce454cafa4f858e77632a02c2ff627
2 #define MMU030 1
3 #define MMU040 2
4 #define MMU060 3
6 #define CM_WRITETHROUGH 0
7 #define CM_COPYBACK 1
8 #define CM_SERIALIZED 2
9 #define CM_NONCACHEABLE 3
11 /* Platform-specific part of KernelBase */
12 struct PlatformData
14 ULONG *MMU_Level_A;
15 UBYTE mmu_type;
16 UBYTE *page_ptr;
17 ULONG page_free;
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);