diff options
-rw-r--r-- | include/nitro/os_alloc.c | 12 | ||||
-rw-r--r-- | include/nitro/os_alloc.h | 12 |
2 files changed, 12 insertions, 12 deletions
diff --git a/include/nitro/os_alloc.c b/include/nitro/os_alloc.c index b8dc7ef1..3115d106 100644 --- a/include/nitro/os_alloc.c +++ b/include/nitro/os_alloc.c @@ -17,6 +17,18 @@ extern Cell* DLAddFront(Cell* list, Cell* cell); extern void OS_SetProtectionRegion1(u32 param); extern void OS_SetProtectionRegion2(u32 param); +void* OSiHeapInfo[OS_ARENA_MAX] = { + NULL, + NULL, + NULL, + NULL, + NULL, + NULL, + NULL, + NULL, + NULL +}; + #ifdef MATCH_ASM asm void* OS_AllocFromArenaHi(OSArenaId id, u32 size, u32 align) { stmdb sp!,{ r4-r6, lr } diff --git a/include/nitro/os_alloc.h b/include/nitro/os_alloc.h index 904b3e9e..e3c37079 100644 --- a/include/nitro/os_alloc.h +++ b/include/nitro/os_alloc.h @@ -51,18 +51,6 @@ typedef struct { HeapDesc* heapArray; } OSHeapInfo; -void* OSiHeapInfo[OS_ARENA_MAX] = { - NULL, - NULL, - NULL, - NULL, - NULL, - NULL, - NULL, - NULL, - NULL -}; - void* OS_AllocFromArenaHi(OSArenaId id, u32 size, u32 align); void* OS_AllocFromArenaLo(OSArenaId id, u32 size, u32 align); void OS_SetArenaLo(OSArenaId id, void *newLo); |