Docs Cleanup (#1153)

* sysheap

* Gorons

* Update goron comment

* functions.h

* Update src/boot_O2/system_heap.c

Co-authored-by: engineer124 <47598039+engineer124@users.noreply.github.com>

* add header

* Fix header guards

* Update data

* Add malloc and free to header

---------

Co-authored-by: engineer124 <47598039+engineer124@users.noreply.github.com>
This commit is contained in:
Derek Hensley
2023-05-28 20:04:07 -07:00
committed by GitHub
parent 1ec875f6dc
commit fc475a9756
11 changed files with 71 additions and 56 deletions
+2 -1
View File
@@ -8,6 +8,7 @@
#include "buffers.h"
#include "stack.h"
#include "stackcheck.h"
#include "system_heap.h"
extern OSMesgQueue sSiIntMsgQ;
extern OSMesg sSiIntMsgBuf[1];
@@ -44,7 +45,7 @@ void Main(void* arg) {
sysHeap = gSystemHeap;
fb = 0x80780000;
startHeapSize = fb - sysHeap;
SystemArena_Init(sysHeap, startHeapSize);
SystemHeap_Init(sysHeap, startHeapSize);
Regs_Init();