mirror of
https://github.com/zeldaret/mm.git
synced 2026-08-04 01:02:54 -04:00
[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:
+5
-2
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user