Rename `obIdle` to `nuIdle`

This commit is contained in:
gijs 2023-10-20 18:18:33 +02:00
parent ca62a08c7c
commit a8f58de733
3 changed files with 5 additions and 4 deletions

View File

@ -315,7 +315,6 @@ extern void __some_logging(const char* format, ...);
extern void nuBoot(void);
extern void (*nuIdleFunc)();
extern void obIdle(void*);
extern void obMain(void*);
extern OSThread obThreadMain;

View File

@ -61,6 +61,7 @@ nuSiMgrThread = 0x80089D9C;
nuSiSendMesg = 0x80089CF8;
nuSiMgrStop = 0x80089D5C;
nuSiMgrRestart = 0x80089D7C;
nuIdle = 0x8007F8E4;
obCurrentTime = 0x800C47D0;
@ -1001,7 +1002,6 @@ __virtual_mem_alloc = 0x80070F30;
obIdle = 0x8007F8E4;
obThreadIdle = 0x800AF440;
obStackIdle = 0x800B17A0;

View File

@ -4,13 +4,15 @@
extern u8 obStackMain[];
void nuIdle(void* arg);
void nuBoot(void) {
osInitialize();
osCreateThread(&obThreadIdle, 1, obIdle, NULL, obStackIdle, 0xA);
osCreateThread(&obThreadIdle, 1, nuIdle, NULL, obStackIdle, 0xA);
osStartThread(&obThreadIdle);
}
void obIdle(void* arg) {
void nuIdle(void* arg) {
nuIdleFunc = NULL;
nuPiInit();