diff options
author | red031000 <rubenru09@aol.com> | 2020-04-23 20:08:39 +0100 |
---|---|---|
committer | red031000 <rubenru09@aol.com> | 2020-04-23 20:08:39 +0100 |
commit | 8036822563446f9b6f236e83dc31efd24968397f (patch) | |
tree | 67d59a02e63dfd4c94a0283353d5f67ea6788e90 | |
parent | d92774c7db0d5655f271d2cefc0831afbd091954 (diff) |
fix build
-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); |