Split `1B530`, remove `nuIdle` definition

Move `nuSiCallBackAdd` to `nusicallbackadd.c`
Move `nuSiCallBackRemove` to `nusicallbackremove.c`
This commit is contained in:
gijs 2023-10-21 19:53:42 +02:00
parent 0f70a6bf41
commit ad75b6d5f3
4 changed files with 8 additions and 2 deletions

View File

@ -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*);

View File

@ -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]

3
src/nu/nusicallbackadd.c Normal file
View File

@ -0,0 +1,3 @@
#include "common.h"
INCLUDE_ASM(const s32, "nu/nusicallbackadd", nuSiCallBackAdd);

View File

@ -0,0 +1,3 @@
#include "common.h"
INCLUDE_ASM(const s32, "nu/nusicallbackremove", nuSiCallBackRemove);