Split `1B530`, remove `nuIdle` definition
Move `nuSiCallBackAdd` to `nusicallbackadd.c` Move `nuSiCallBackRemove` to `nusicallbackremove.c`
This commit is contained in:
parent
0f70a6bf41
commit
ad75b6d5f3
|
|
@ -289,7 +289,6 @@ extern void AddHeap(void* start, u32 length);
|
||||||
extern void __some_logging(const char* format, ...);
|
extern void __some_logging(const char* format, ...);
|
||||||
|
|
||||||
extern void nuBoot(void);
|
extern void nuBoot(void);
|
||||||
extern void (*nuIdleFunc)();
|
|
||||||
|
|
||||||
extern void obMain(void*);
|
extern void obMain(void*);
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -145,7 +145,8 @@ segments:
|
||||||
- [0x1B3A0, c, "_ob_electric_zephyr"]
|
- [0x1B3A0, c, "_ob_electric_zephyr"]
|
||||||
- [0x1B3E0, c, "nu/nugfxthread"]
|
- [0x1B3E0, c, "nu/nugfxthread"]
|
||||||
- [0x1B510, c, "_ob_painful_roll"]
|
- [0x1B510, c, "_ob_painful_roll"]
|
||||||
- [0x1B530, asm]
|
- [0x1B530, c, "nu/nusicallbackadd"]
|
||||||
|
- [0x1B5D0, c, "nu/nusicallbackremove"]
|
||||||
- [0x1B650, asm]
|
- [0x1B650, asm]
|
||||||
- [0x1B7A0, asm]
|
- [0x1B7A0, asm]
|
||||||
- [0x1B940, asm]
|
- [0x1B940, asm]
|
||||||
|
|
|
||||||
|
|
@ -0,0 +1,3 @@
|
||||||
|
#include "common.h"
|
||||||
|
|
||||||
|
INCLUDE_ASM(const s32, "nu/nusicallbackadd", nuSiCallBackAdd);
|
||||||
|
|
@ -0,0 +1,3 @@
|
||||||
|
#include "common.h"
|
||||||
|
|
||||||
|
INCLUDE_ASM(const s32, "nu/nusicallbackremove", nuSiCallBackRemove);
|
||||||
Loading…
Reference in New Issue