diff options
| author | Derek Hensley <hensley.derek58@gmail.com> | 2023-09-11 17:38:31 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-09-12 10:38:31 +1000 |
| commit | 190b78549e0fa1a801786e73d914185e1fbca2a6 (patch) | |
| tree | bc62310b90bbd59005ef01873ca4a007d8c8ef31 /src/boot_O2_g3/boot_main.c | |
| parent | 39523baf8c52d59b8ca52832c22e70eadf518f8a (diff) | |
Non libultra Boot Cleanup (#1370)
* reorganize
* math64
* rcp_utils
* osSyncPrintfUnused
* comment spacing
Diffstat (limited to 'src/boot_O2_g3/boot_main.c')
| -rw-r--r-- | src/boot_O2_g3/boot_main.c | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/src/boot_O2_g3/boot_main.c b/src/boot_O2_g3/boot_main.c deleted file mode 100644 index dcb66fefd..000000000 --- a/src/boot_O2_g3/boot_main.c +++ /dev/null @@ -1,24 +0,0 @@ -#include "prevent_bss_reordering.h" -#include "global.h" -#include "idle.h" -#include "stack.h" -#include "stackcheck.h" -#include "z64thread.h" - -StackEntry sBootStackInfo; -OSThread sIdleThread; -STACK(sIdleStack, 0x400); -StackEntry sIdleStackInfo; -STACK(sBootStack, 0x400); - -void bootproc(void) { - StackCheck_Init(&sBootStackInfo, sBootStack, STACK_TOP(sBootStack), 0, -1, "boot"); - osMemSize = osGetMemSize(); - func_800818F4(); - osInitialize(); - osUnmapTLBAll(); - gCartHandle = osCartRomInit(); - StackCheck_Init(&sIdleStackInfo, sIdleStack, STACK_TOP(sIdleStack), 0, 0x100, "idle"); - osCreateThread(&sIdleThread, Z_THREAD_ID_IDLE, Idle_ThreadEntry, NULL, STACK_TOP(sIdleStack), Z_PRIORITY_IDLE); - osStartThread(&sIdleThread); -} |
