[headers] Move padmgr, scheduler, irqmgr symbols to respective headers; add segmented_address.h (#1681)

* [headers] Move padmgr, scheduler symbols to respective headers

* fix revealed header problems

* Fix bss

* review

* bss

* segmented_address.h

---------

Co-authored-by: Derek Hensley <hensley.derek58@gmail.com>
This commit is contained in:
Dragorn421
2024-09-08 00:47:22 +02:00
committed by GitHub
parent e982c44721
commit 2e2b2e2c7a
16 changed files with 55 additions and 40 deletions
+5 -2
View File
@@ -1,6 +1,8 @@
#include "prevent_bss_reordering.h"
#include "stdbool.h"
#include "buffers.h"
#include "irqmgr.h"
#include "main.h"
#include "segment_symbols.h"
#include "stack.h"
@@ -10,7 +12,7 @@
#include "z64thread.h"
// Variables are put before most headers as a hacky way to bypass bss reordering
IrqMgr gIrqMgr;
struct IrqMgr gIrqMgr;
STACK(sIrqMgrStack, 0x500);
StackEntry sIrqMgrStackInfo;
OSThread sMainThread;
@@ -22,6 +24,7 @@ OSViMode gViConfigMode;
u8 gViConfigModeType;
#include "idle.h"
#include "irqmgr.h"
u8 D_80096B20 = 1;
vu8 gViConfigUseBlack = true;