Rename `MQ_800BE030` to `nuPiMgrMesgQ`
This commit is contained in:
parent
10c83abcbf
commit
1243f13789
|
|
@ -133,7 +133,6 @@ extern s32 D_A9EF0;
|
|||
extern s32 D_800C4B30;
|
||||
|
||||
extern OSPiHandle* CART_HANDLE;
|
||||
extern OSMesgQueue MQ_800BE030;
|
||||
extern OSMesg OSMESG_800BE048[0x32];
|
||||
|
||||
extern OSMesgQueue MQ_800E7988;
|
||||
|
|
|
|||
|
|
@ -728,6 +728,7 @@ extern NUCallBackList* nuSiCallBackList;/* Callback function list */
|
|||
/*--------------------------------------*/
|
||||
/* pi variables */
|
||||
/*--------------------------------------*/
|
||||
extern OSMesgQueue nuPiMgrMesgQ; /* PI Manager queue */
|
||||
extern OSPiHandle* nuPiCartHandle;
|
||||
extern OSPiHandle* nuPiSramHandle;
|
||||
extern OSPiHandle* nuPiDDRomHandle;
|
||||
|
|
|
|||
|
|
@ -29,6 +29,7 @@ siMgrThread = 0x800BBE80;
|
|||
nuThreadIdle = 0x800AF440;
|
||||
nuStackIdle = 0x800B17A0;
|
||||
nuPiCartHandle = 0x800E7A20;
|
||||
nuPiMgrMesgQ = 0x800BE030;
|
||||
|
||||
nuBoot = 0x8007F880;
|
||||
nuScCreateScheduler = 0x80088C50; // rom:0x19050
|
||||
|
|
@ -916,7 +917,6 @@ MQ_800AF320 = 0x800AF320;
|
|||
MQ_800B1880 = 0x800B1880;
|
||||
MQ_800E79C8 = 0x800E79C8;
|
||||
MQ_800C49E8 = 0x800C49E8;
|
||||
MQ_800BE030 = 0x800BE030;
|
||||
|
||||
OSMESG_800BE190 = 0x800BE190;
|
||||
OSMESG_800BE194 = 0x800BE194;
|
||||
|
|
|
|||
|
|
@ -15,7 +15,7 @@ u8 nuSiMgrInit(void) {
|
|||
|
||||
osContInit(&nuSiMesgQ, &pattern, status);
|
||||
|
||||
osCreateThread(&siMgrThread, 5, nuSiMgrThread, NULL, &MQ_800BE030, NU_SI_THREAD_PRI);
|
||||
osCreateThread(&siMgrThread, 5, nuSiMgrThread, NULL, &nuPiMgrMesgQ, NU_SI_THREAD_PRI);
|
||||
osStartThread(&siMgrThread);
|
||||
|
||||
return pattern;
|
||||
|
|
@ -48,7 +48,7 @@ void nuSiMgrRestart(void) {
|
|||
INCLUDE_ASM(const s32, "_ob_icy_coast", nuSiMgrThread);
|
||||
|
||||
void nuPiInit(void) {
|
||||
osCreatePiManager(OS_PRIORITY_PIMGR, &MQ_800BE030, OSMESG_800BE048, sizeof(OSMESG_800BE048) / sizeof(OSMesg));
|
||||
osCreatePiManager(OS_PRIORITY_PIMGR, &nuPiMgrMesgQ, OSMESG_800BE048, sizeof(OSMESG_800BE048) / sizeof(OSMesg));
|
||||
nuPiCartHandle = osCartRomInit();
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue