revert between 56095 -> 55830 in arch
[AROS.git] / arch / all-pc / kernel / kernel_mmap.h
blob5e1a7c4c2b75aa666ddf4dd90f348be8e66e89c5
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);
21 IPTR mmap_LargestAddress(struct mb_mmap *mmap, unsigned long len);