summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDerek Hensley <hensley.derek58@gmail.com>2023-08-17 09:45:57 -0700
committerGitHub <noreply@github.com>2023-08-17 09:45:57 -0700
commitae5aa8db7c07a162cf140a30e9af772c57e4b16b (patch)
tree4c2f80c7cd3dcf03f09005e502e03562c349c76c /include
parentbe86fa2c2f2a0fdf1918428a650da6179acff83e (diff)
system_heap (007060) OK (#60)
* OK * Renames + cleanup * format --------- Co-authored-by: emilybrooks <emilybrooksemilybrooks@gmail.com>
Diffstat (limited to 'include')
-rw-r--r--include/boot_functions.h2
-rw-r--r--include/boot_variables.h2
-rw-r--r--include/system_heap.h11
3 files changed, 14 insertions, 1 deletions
diff --git a/include/boot_functions.h b/include/boot_functions.h
index 26177fa..0716d54 100644
--- a/include/boot_functions.h
+++ b/include/boot_functions.h
@@ -16,6 +16,8 @@
// void func_8002BF08_jp();
// void func_8002BF78_jp();
+// void func_8002BFA0_jp();
+
// void func_8003B960_jp();
// void func_8003B9B0_jp();
// void func_8003B9E0_jp();
diff --git a/include/boot_variables.h b/include/boot_variables.h
index 5d04b00..7cf0075 100644
--- a/include/boot_variables.h
+++ b/include/boot_variables.h
@@ -20,7 +20,7 @@ extern OSPiHandle* gCartHandle; // TODO: Determine where this goes
// extern UNK_TYPE D_8003BC90_jp;
// extern UNK_TYPE D_8003BC94_jp;
-// extern UNK_TYPE D_8003C560_jp;
+// extern UNK_TYPE __qrand_idum;
diff --git a/include/system_heap.h b/include/system_heap.h
new file mode 100644
index 0000000..a0138b0
--- /dev/null
+++ b/include/system_heap.h
@@ -0,0 +1,11 @@
+#ifndef SYSTEM_HEAP_H
+#define SYSTEM_HEAP_H
+
+#include "ultra64.h"
+#include "libc/stddef.h"
+
+void* SystemHeap_Malloc(size_t size);
+void SystemHeap_Free(void* ptr);
+void SystemHeap_Init(void* heap, size_t size);
+
+#endif