Port OoT's docs for fault.c and fault_drawer.c (#1199)

* fault.h

* some docs stealing

* fix building

* fault_internal.h

* pass

* finish stealing docs

* finish cleanup

* format

* warning

* Update src/boot_O2_g3/fault.c

Co-authored-by: Derek Hensley <hensley.derek58@gmail.com>

* Update src/boot_O2_g3/fault.c

Co-authored-by: Derek Hensley <hensley.derek58@gmail.com>

* Update src/boot_O2_g3/fault.c

Co-authored-by: Derek Hensley <hensley.derek58@gmail.com>

* review

Co-authored-by: Derek Hensley <hensley.derek58@gmail.com>

* arggggg

* arggggg part 2

* STACK

* PHYS_TO_K0(0x400000)

* format

* fix

* Instance

* format

* Neutral reset

* variables.h cleanup

* bss

* frameBuffer

* format

* Update src/boot_O2_g3/fault.c

Co-authored-by: Derek Hensley <hensley.derek58@gmail.com>

* review

Co-authored-by: Derek Hensley <hensley.derek58@gmail.com>

* Update src/boot_O2_g3/fault.c

Co-authored-by: Derek Hensley <hensley.derek58@gmail.com>

* bss

* bss

* bss

* callback cleanup

* fix function declarations

* fix again

* bss

* bss

* Update src/overlays/actors/ovl_En_Fishing/z_en_fishing.c

Co-authored-by: engineer124 <47598039+engineer124@users.noreply.github.com>

* Update src/boot_O2_g3/fault.c

Co-authored-by: engineer124 <47598039+engineer124@users.noreply.github.com>

* bss

* bss

* Update src/boot_O2_g3/fault.c

Co-authored-by: engineer124 <47598039+engineer124@users.noreply.github.com>

* review

* import bss

* format

* minor cleanup

* bss

* review

* fix

* bss

* bss

* bss

* bss

* bss

* format

* a

* Z_PRIORITY_FAULT

* bss

* fix

* idle.c bss doesn't want to get fixed :c

* review

* bss

---------

Co-authored-by: Derek Hensley <hensley.derek58@gmail.com>
Co-authored-by: engineer124 <47598039+engineer124@users.noreply.github.com>
This commit is contained in:
Anghelo Carvajal
2023-07-08 14:41:25 -04:00
committed by GitHub
parent a506e8620a
commit b3eae0e5b7
41 changed files with 1007 additions and 874 deletions
+10 -10
View File
@@ -62,27 +62,27 @@ asm/non_matchings/boot/fault/Fault_FillScreenBlack.s,Fault_FillScreenBlack,0x800
asm/non_matchings/boot/fault/Fault_FillScreenRed.s,Fault_FillScreenRed,0x8008212C,0x15
asm/non_matchings/boot/fault/Fault_DrawCornerRec.s,Fault_DrawCornerRec,0x80082180,0x15
asm/non_matchings/boot/fault/Fault_PrintFReg.s,Fault_PrintFReg,0x800821D4,0x2B
asm/non_matchings/boot/fault/osSyncPrintfFReg.s,osSyncPrintfFReg,0x80082280,0x2C
asm/non_matchings/boot/fault/Fault_LogFReg.s,Fault_LogFReg,0x80082280,0x2C
asm/non_matchings/boot/fault/Fault_PrintFPCR.s,Fault_PrintFPCR,0x80082330,0x29
asm/non_matchings/boot/fault/osSyncPrintfFPCR.s,osSyncPrintfFPCR,0x800823D4,0x26
asm/non_matchings/boot/fault/Fault_LogFPCSR.s,Fault_LogFPCSR,0x800823D4,0x26
asm/non_matchings/boot/fault/Fault_PrintThreadContext.s,Fault_PrintThreadContext,0x8008246C,0xD4
asm/non_matchings/boot/fault/osSyncPrintfThreadContext.s,osSyncPrintfThreadContext,0x800827BC,0xBF
asm/non_matchings/boot/fault/Fault_FindFaultedThread.s,Fault_FindFaultedThread,0x80082AB8,0x22
asm/non_matchings/boot/fault/Fault_Wait5Seconds.s,Fault_Wait5Seconds,0x80082B40,0x24
asm/non_matchings/boot/fault/Fault_WaitForButtonCombo.s,Fault_WaitForButtonCombo,0x80082BD0,0x27
asm/non_matchings/boot/fault/Fault_DrawMemDumpPage.s,Fault_DrawMemDumpPage,0x80082C6C,0x5B
asm/non_matchings/boot/fault/Fault_DrawMemDumpContents.s,Fault_DrawMemDumpContents,0x80082C6C,0x5B
asm/non_matchings/boot/fault/Fault_DrawMemDump.s,Fault_DrawMemDump,0x80082DD8,0x7E
asm/non_matchings/boot/fault/Fault_FindNextStackCall.s,Fault_FindNextStackCall,0x80082FD0,0x5D
asm/non_matchings/boot/fault/Fault_WalkStack.s,Fault_WalkStack,0x80082FD0,0x5D
asm/non_matchings/boot/fault/Fault_DrawStackTrace.s,Fault_DrawStackTrace,0x80083144,0x64
asm/non_matchings/boot/fault/osSyncPrintfStackTrace.s,osSyncPrintfStackTrace,0x800832D4,0x5F
asm/non_matchings/boot/fault/Fault_LogStackTrace.s,Fault_LogStackTrace,0x800832D4,0x5F
asm/non_matchings/boot/fault/Fault_ResumeThread.s,Fault_ResumeThread,0x80083450,0x1F
asm/non_matchings/boot/fault/Fault_CommitFB.s,Fault_CommitFB,0x800834CC,0x30
asm/non_matchings/boot/fault/Fault_DisplayFrameBuffer.s,Fault_DisplayFrameBuffer,0x800834CC,0x30
asm/non_matchings/boot/fault/Fault_ProcessClients.s,Fault_ProcessClients,0x8008358C,0x39
asm/non_matchings/boot/fault/Fault_SetOptionsFromController3.s,Fault_SetOptionsFromController3,0x80083670,0x5D
asm/non_matchings/boot/fault/Fault_SetOptions.s,Fault_SetOptions,0x800837E4,0x11
asm/non_matchings/boot/fault/Fault_UpdatePad.s,Fault_UpdatePad,0x800837E4,0x11
asm/non_matchings/boot/fault/Fault_ThreadEntry.s,Fault_ThreadEntry,0x80083828,0xD2
asm/non_matchings/boot/fault/Fault_SetFB.s,Fault_SetFB,0x80083B70,0x15
asm/non_matchings/boot/fault/Fault_Start.s,Fault_Start,0x80083BC4,0x4D
asm/non_matchings/boot/fault/Fault_SetFrameBuffer.s,Fault_SetFrameBuffer,0x80083B70,0x15
asm/non_matchings/boot/fault/Fault_Init.s,Fault_Init,0x80083BC4,0x4D
asm/non_matchings/boot/fault/Fault_HangupFaultClient.s,Fault_HangupFaultClient,0x80083CF8,0x3F
asm/non_matchings/boot/fault/Fault_AddHungupAndCrashImpl.s,Fault_AddHungupAndCrashImpl,0x80083DF4,0x16
asm/non_matchings/boot/fault/Fault_AddHungupAndCrash.s,Fault_AddHungupAndCrash,0x80083E4C,0x19
@@ -101,7 +101,7 @@ asm/non_matchings/boot/fault_drawer/FaultDrawer_FormatStringFunc.s,FaultDrawer_F
asm/non_matchings/boot/fault_drawer/FaultDrawer_VPrintf.s,FaultDrawer_VPrintf,0x8008477C,0x14
asm/non_matchings/boot/fault_drawer/FaultDrawer_Printf.s,FaultDrawer_Printf,0x800847CC,0x14
asm/non_matchings/boot/fault_drawer/FaultDrawer_DrawText.s,FaultDrawer_DrawText,0x8008481C,0x14
asm/non_matchings/boot/fault_drawer/FaultDrawer_SetDrawerFB.s,FaultDrawer_SetDrawerFB,0x8008486C,0xE
asm/non_matchings/boot/fault_drawer/FaultDrawer_SetDrawerFrameBuffer.s,FaultDrawer_SetDrawerFrameBuffer,0x8008486C,0xE
asm/non_matchings/boot/fault_drawer/FaultDrawer_SetInputCallback.s,FaultDrawer_SetInputCallback,0x800848A4,0x5
asm/non_matchings/boot/fault_drawer/FaultDrawer_Init.s,FaultDrawer_Init,0x800848B8,0x22
asm/non_matchings/boot/boot_80084940/func_80084940.s,func_80084940,0x80084940,0xA
1 asm/non_matchings/boot/boot_main/bootproc.s bootproc 0x80080060 0x3C
62 asm/non_matchings/boot/fault/Fault_FillScreenRed.s Fault_FillScreenRed 0x8008212C 0x15
63 asm/non_matchings/boot/fault/Fault_DrawCornerRec.s Fault_DrawCornerRec 0x80082180 0x15
64 asm/non_matchings/boot/fault/Fault_PrintFReg.s Fault_PrintFReg 0x800821D4 0x2B
65 asm/non_matchings/boot/fault/osSyncPrintfFReg.s asm/non_matchings/boot/fault/Fault_LogFReg.s osSyncPrintfFReg Fault_LogFReg 0x80082280 0x2C
66 asm/non_matchings/boot/fault/Fault_PrintFPCR.s Fault_PrintFPCR 0x80082330 0x29
67 asm/non_matchings/boot/fault/osSyncPrintfFPCR.s asm/non_matchings/boot/fault/Fault_LogFPCSR.s osSyncPrintfFPCR Fault_LogFPCSR 0x800823D4 0x26
68 asm/non_matchings/boot/fault/Fault_PrintThreadContext.s Fault_PrintThreadContext 0x8008246C 0xD4
69 asm/non_matchings/boot/fault/osSyncPrintfThreadContext.s osSyncPrintfThreadContext 0x800827BC 0xBF
70 asm/non_matchings/boot/fault/Fault_FindFaultedThread.s Fault_FindFaultedThread 0x80082AB8 0x22
71 asm/non_matchings/boot/fault/Fault_Wait5Seconds.s Fault_Wait5Seconds 0x80082B40 0x24
72 asm/non_matchings/boot/fault/Fault_WaitForButtonCombo.s Fault_WaitForButtonCombo 0x80082BD0 0x27
73 asm/non_matchings/boot/fault/Fault_DrawMemDumpPage.s asm/non_matchings/boot/fault/Fault_DrawMemDumpContents.s Fault_DrawMemDumpPage Fault_DrawMemDumpContents 0x80082C6C 0x5B
74 asm/non_matchings/boot/fault/Fault_DrawMemDump.s Fault_DrawMemDump 0x80082DD8 0x7E
75 asm/non_matchings/boot/fault/Fault_FindNextStackCall.s asm/non_matchings/boot/fault/Fault_WalkStack.s Fault_FindNextStackCall Fault_WalkStack 0x80082FD0 0x5D
76 asm/non_matchings/boot/fault/Fault_DrawStackTrace.s Fault_DrawStackTrace 0x80083144 0x64
77 asm/non_matchings/boot/fault/osSyncPrintfStackTrace.s asm/non_matchings/boot/fault/Fault_LogStackTrace.s osSyncPrintfStackTrace Fault_LogStackTrace 0x800832D4 0x5F
78 asm/non_matchings/boot/fault/Fault_ResumeThread.s Fault_ResumeThread 0x80083450 0x1F
79 asm/non_matchings/boot/fault/Fault_CommitFB.s asm/non_matchings/boot/fault/Fault_DisplayFrameBuffer.s Fault_CommitFB Fault_DisplayFrameBuffer 0x800834CC 0x30
80 asm/non_matchings/boot/fault/Fault_ProcessClients.s Fault_ProcessClients 0x8008358C 0x39
81 asm/non_matchings/boot/fault/Fault_SetOptionsFromController3.s Fault_SetOptionsFromController3 0x80083670 0x5D
82 asm/non_matchings/boot/fault/Fault_SetOptions.s asm/non_matchings/boot/fault/Fault_UpdatePad.s Fault_SetOptions Fault_UpdatePad 0x800837E4 0x11
83 asm/non_matchings/boot/fault/Fault_ThreadEntry.s Fault_ThreadEntry 0x80083828 0xD2
84 asm/non_matchings/boot/fault/Fault_SetFB.s asm/non_matchings/boot/fault/Fault_SetFrameBuffer.s Fault_SetFB Fault_SetFrameBuffer 0x80083B70 0x15
85 asm/non_matchings/boot/fault/Fault_Start.s asm/non_matchings/boot/fault/Fault_Init.s Fault_Start Fault_Init 0x80083BC4 0x4D
86 asm/non_matchings/boot/fault/Fault_HangupFaultClient.s Fault_HangupFaultClient 0x80083CF8 0x3F
87 asm/non_matchings/boot/fault/Fault_AddHungupAndCrashImpl.s Fault_AddHungupAndCrashImpl 0x80083DF4 0x16
88 asm/non_matchings/boot/fault/Fault_AddHungupAndCrash.s Fault_AddHungupAndCrash 0x80083E4C 0x19
101 asm/non_matchings/boot/fault_drawer/FaultDrawer_VPrintf.s FaultDrawer_VPrintf 0x8008477C 0x14
102 asm/non_matchings/boot/fault_drawer/FaultDrawer_Printf.s FaultDrawer_Printf 0x800847CC 0x14
103 asm/non_matchings/boot/fault_drawer/FaultDrawer_DrawText.s FaultDrawer_DrawText 0x8008481C 0x14
104 asm/non_matchings/boot/fault_drawer/FaultDrawer_SetDrawerFB.s asm/non_matchings/boot/fault_drawer/FaultDrawer_SetDrawerFrameBuffer.s FaultDrawer_SetDrawerFB FaultDrawer_SetDrawerFrameBuffer 0x8008486C 0xE
105 asm/non_matchings/boot/fault_drawer/FaultDrawer_SetInputCallback.s FaultDrawer_SetInputCallback 0x800848A4 0x5
106 asm/non_matchings/boot/fault_drawer/FaultDrawer_Init.s FaultDrawer_Init 0x800848B8 0x22
107 asm/non_matchings/boot/boot_80084940/func_80084940.s func_80084940 0x80084940 0xA