Call core_ExitInterrupt only when going back to user mode. Going back to
[AROS.git] / arch / all-pc / kernel / kernel_mmap.h
blobb8072d948c02a169a0ab122b298189e52e17b464
1 #include <aros/multiboot.h>
2 #include <exec/lists.h>
4 /* This structure describes a single hardware memory region */
5 struct MemRegion
7 IPTR start;
8 IPTR end;
9 STRPTR name;
10 BYTE pri;
11 ULONG flags;
14 #define ALLOCATOR_STD 1
15 #define ALLOCATOR_TLSF 2
17 void mmap_InitMemory(struct mb_mmap *mmap, unsigned long len, struct MinList *memList,
18 IPTR klo, IPTR khi, IPTR reserve, const struct MemRegion *reg, ULONG allocator);
19 struct mb_mmap *mmap_FindRegion(IPTR addr, struct mb_mmap *mmap, unsigned long len);
20 BOOL mmap_ValidateRegion(unsigned long addr, unsigned long len, struct mb_mmap *mmap, unsigned long mmap_len);