Idle + Main bss and cleanup (#1292)

* Idle bss and cleanup

* main bss and cleanup

* format

* Remove pad comment about sAudioMgr

* PR

* Missed a couple size_t changes

* unused pads

* static
This commit is contained in:
Derek Hensley
2023-06-26 10:18:50 +10:00
committed by GitHub
parent a2c2c45a0e
commit 22035890fa
33 changed files with 199 additions and 175 deletions
+5 -5
View File
@@ -2,11 +2,11 @@
{
0x80080000:("entrypoint",),
0x80080060:("bootproc",),
0x80080150:("Idle_ClearMemory",),
0x80080180:("Idle_InitFramebuffer",),
0x8008019C:("Idle_InitScreen",),
0x800801EC:("Idle_InitMemory",),
0x80080250:("Idle_InitCodeAndMemory",),
0x80080150:("Main_ClearMemory",),
0x80080180:("Main_InitFramebuffer",),
0x8008019C:("Main_InitScreen",),
0x800801EC:("Main_InitMemory",),
0x80080250:("Main_Init",),
0x80080300:("Main_ThreadEntry",),
0x8008038C:("Idle_InitVideo",),
0x80080514:("Idle_ThreadEntry",),
+10 -10
View File
@@ -18,7 +18,7 @@
0x80096B30:("gViConfigXScale","f32","",0x4),
0x80096B34:("gViConfigYScale","f32","",0x4),
0x80096B40:("gCartHandle","OSPiHandle*","",0x4),
0x80096B50:("sDmaMgrDmaBuffSize","u32","",0x4),
0x80096B50:("gDmaMgrDmaBuffSize","u32","",0x4),
0x80096B60:("gIrqMgrResetStatus","vs32","",0x4),
0x80096B68:("sIrqMgrResetTime","volatile OSTime","",0x8),
0x80096B70:("sIrqMgrRetraceTime","volatile OSTime","",0x8),
@@ -295,11 +295,11 @@
0x8009A840:("sMainStack","u8","[2304]",0x900),
0x8009B140:("sMainStackInfo","StackEntry","",0x1c),
0x8009B160:("sPiMgrCmdBuff","OSMesg","[50]",0xc8),
0x8009B228:("gPiMgrCmdQ","OSMesgQueue","",0x18),
0x8009B228:("gPiMgrCmdQueue","OSMesgQueue","",0x18),
0x8009B240:("gViConfigMode","OSViMode","",0x50),
0x8009B290:("D_8009B290","u8","",0x1),
0x8009B290:("gViConfigModeType","u8","",0x1),
0x8009B2A0:("sDmaMgrStackInfo","StackEntry","",0x1c),
0x8009B2BC:("numDmaEntries","u16","",0x2),
0x8009B2BC:("sNumDmaEntries","u16","",0x2),
0x8009B2C0:("sDmaMgrMsgQueue","OSMesgQueue","",0x18),
0x8009B2D8:("sDmaMgrMsgs","OSMesg","[32]",0x80),
0x8009B358:("sDmaMgrThread","OSThread","",0x1b0),
@@ -2157,7 +2157,7 @@
0x801D150C:("gFramerateDivisorThird","f32","",0x4),
0x801D1520:("gScreenWidth","s32","",0x4),
0x801D1524:("gScreenHeight","s32","",0x4),
0x801D1528:("startHeapSize","UNK_TYPE4","",0x4),
0x801D1528:("gSystemHeapSize","UNK_TYPE4","",0x4),
0x801D1530:("sPadMgrInstance","PadMgr*","",0x4),
0x801D1534:("sPadMgrRetraceCount","UNK_TYPE4","",0x4),
0x801D1538:("sVoiceInitStatus","UNK_TYPE4","",0x4),
@@ -4035,13 +4035,13 @@
0x801F80F0:("gGfxMasterDL","Gfx*","",0x4),
0x801F80F8:("sGraphCfbInfos","UNK_TYPE1","",0x1),
0x801F8150:("sGraphTaskStartTime","u64","",0x8),
0x801F8160:("sSiIntMsgQ","OSMesgQueue","",0x18),
0x801F8178:("sSiIntMsgBuf","OSMesg","[1]",0x4),
0x801F8160:("sSerialEventQueue","OSMesgQueue","",0x18),
0x801F8178:("sSerialMsgBuf","OSMesg","[1]",0x4),
0x801F8180:("gSegments","u32","[16]",0x40),
0x801F81C0:("gSchedContext","SchedContext","",0x338),
0x801F84F8:("irqClient","IrqMgrClient","",0x8),
0x801F8500:("irqMgrMsgQ","OSMesgQueue","",0x18),
0x801F8518:("irqMgrMsgBuf","OSMesg","[60]",0xf0),
0x801F84F8:("sIrqClient","IrqMgrClient","",0x8),
0x801F8500:("sIrqMgrMsgQueue","OSMesgQueue","",0x18),
0x801F8518:("sIrqMgrMsgBuf","OSMesg","[60]",0xf0),
0x801F8608:("gGraphThread","OSThread","",0x1b0),
0x801F87B8:("sGraphStack","u8","[6144]",0x1800),
0x801F9FB8:("sSchedStack","u8","[1536]",0x600),
+5 -5
View File
@@ -1,9 +1,9 @@
asm/non_matchings/boot/boot_main/bootproc.s,bootproc,0x80080060,0x3C
asm/non_matchings/boot/idle/Idle_ClearMemory.s,Idle_ClearMemory,0x80080150,0xC
asm/non_matchings/boot/idle/Idle_InitFramebuffer.s,Idle_InitFramebuffer,0x80080180,0x7
asm/non_matchings/boot/idle/Idle_InitScreen.s,Idle_InitScreen,0x8008019C,0x14
asm/non_matchings/boot/idle/Idle_InitMemory.s,Idle_InitMemory,0x800801EC,0x19
asm/non_matchings/boot/idle/Idle_InitCodeAndMemory.s,Idle_InitCodeAndMemory,0x80080250,0x2C
asm/non_matchings/boot/idle/Main_ClearMemory.s,Main_ClearMemory,0x80080150,0xC
asm/non_matchings/boot/idle/Main_InitFramebuffer.s,Main_InitFramebuffer,0x80080180,0x7
asm/non_matchings/boot/idle/Main_InitScreen.s,Main_InitScreen,0x8008019C,0x14
asm/non_matchings/boot/idle/Main_InitMemory.s,Main_InitMemory,0x800801EC,0x19
asm/non_matchings/boot/idle/Main_Init.s,Main_Init,0x80080250,0x2C
asm/non_matchings/boot/idle/Main_ThreadEntry.s,Main_ThreadEntry,0x80080300,0x23
asm/non_matchings/boot/idle/Idle_InitVideo.s,Idle_InitVideo,0x8008038C,0x62
asm/non_matchings/boot/idle/Idle_ThreadEntry.s,Idle_ThreadEntry,0x80080514,0x33
1 asm/non_matchings/boot/boot_main/bootproc.s bootproc 0x80080060 0x3C
2 asm/non_matchings/boot/idle/Idle_ClearMemory.s asm/non_matchings/boot/idle/Main_ClearMemory.s Idle_ClearMemory Main_ClearMemory 0x80080150 0xC
3 asm/non_matchings/boot/idle/Idle_InitFramebuffer.s asm/non_matchings/boot/idle/Main_InitFramebuffer.s Idle_InitFramebuffer Main_InitFramebuffer 0x80080180 0x7
4 asm/non_matchings/boot/idle/Idle_InitScreen.s asm/non_matchings/boot/idle/Main_InitScreen.s Idle_InitScreen Main_InitScreen 0x8008019C 0x14
5 asm/non_matchings/boot/idle/Idle_InitMemory.s asm/non_matchings/boot/idle/Main_InitMemory.s Idle_InitMemory Main_InitMemory 0x800801EC 0x19
6 asm/non_matchings/boot/idle/Idle_InitCodeAndMemory.s asm/non_matchings/boot/idle/Main_Init.s Idle_InitCodeAndMemory Main_Init 0x80080250 0x2C
7 asm/non_matchings/boot/idle/Main_ThreadEntry.s Main_ThreadEntry 0x80080300 0x23
8 asm/non_matchings/boot/idle/Idle_InitVideo.s Idle_InitVideo 0x8008038C 0x62
9 asm/non_matchings/boot/idle/Idle_ThreadEntry.s Idle_ThreadEntry 0x80080514 0x33