diff --git a/boot/common/mm/mman.c b/boot/common/mm/mman.c index 4e1575a..c2a4d6e 100644 --- a/boot/common/mm/mman.c +++ b/boot/common/mm/mman.c @@ -23,6 +23,9 @@ #include #include +// NOTE: If any allocations fail, try increasing this number. +#define MAX_ALLOCATIONS 256 + struct alloc_header allocation_list[MAX_ALLOCATIONS] = {0}; int find_alloc(void *addr) diff --git a/boot/include/mm/mman.h b/boot/include/mm/mman.h index 10ed008..5f24189 100644 --- a/boot/include/mm/mman.h +++ b/boot/include/mm/mman.h @@ -22,9 +22,6 @@ #include -// NOTE: If any allocations fail, try increasing this number. -#define MAX_ALLOCATIONS 256 - struct alloc_header { void *addr; size_t size;