summaryrefslogtreecommitdiff
path: root/src/code
diff options
context:
space:
mode:
authorAnghelo Carvajal <angheloalf95@gmail.com>2023-04-18 17:50:34 -0400
committerGitHub <noreply@github.com>2023-04-18 17:50:34 -0400
commit4647ebb91b9646d92d85929814815e48fa6e44ac (patch)
tree8735fcae56bde31af7cb818cb9a6266b2a25e1ca /src/code
parent823746d49530318331f29af92fa924a15f2482a1 (diff)
`stackcheck.h` (#1204)
* stackcheck.h * warning * Update src/boot_O2/stackcheck.c Co-authored-by: engineer124 <47598039+engineer124@users.noreply.github.com> * Update src/boot_O2/stackcheck.c Co-authored-by: engineer124 <47598039+engineer124@users.noreply.github.com> * Update src/boot_O2/stackcheck.c Co-authored-by: engineer124 <47598039+engineer124@users.noreply.github.com> * stack * format * bss * review * review --------- Co-authored-by: engineer124 <47598039+engineer124@users.noreply.github.com>
Diffstat (limited to 'src/code')
-rw-r--r--src/code/PreRender.c1
-rw-r--r--src/code/main.c1
-rw-r--r--src/code/sched.c1
-rw-r--r--src/code/sys_flashrom.c7
-rw-r--r--src/code/sys_slowly.c1
5 files changed, 8 insertions, 3 deletions
diff --git a/src/code/PreRender.c b/src/code/PreRender.c
index 075f941d4..172659cf7 100644
--- a/src/code/PreRender.c
+++ b/src/code/PreRender.c
@@ -1,6 +1,7 @@
#include "global.h"
#include "slowly.h"
#include "stack.h"
+#include "stackcheck.h"
/**
* Assigns the "save" values in PreRender
diff --git a/src/code/main.c b/src/code/main.c
index c4a80f1ea..7fbb5ba39 100644
--- a/src/code/main.c
+++ b/src/code/main.c
@@ -7,6 +7,7 @@
#include "global.h"
#include "buffers.h"
#include "stack.h"
+#include "stackcheck.h"
extern OSMesgQueue sSiIntMsgQ;
extern OSMesg sSiIntMsgBuf[1];
diff --git a/src/code/sched.c b/src/code/sched.c
index 5f9cdf236..c2630677c 100644
--- a/src/code/sched.c
+++ b/src/code/sched.c
@@ -1,5 +1,6 @@
#include "prevent_bss_reordering.h"
#include "global.h"
+#include "stackcheck.h"
#define RSP_DONE_MSG 667
#define RDP_DONE_MSG 668
diff --git a/src/code/sys_flashrom.c b/src/code/sys_flashrom.c
index e9ea6e21e..0db0b8744 100644
--- a/src/code/sys_flashrom.c
+++ b/src/code/sys_flashrom.c
@@ -1,5 +1,6 @@
#include "global.h"
#include "stack.h"
+#include "stackcheck.h"
#include "system_malloc.h"
// extern UNK_TYPE1 D_801FBE10;
@@ -7,10 +8,10 @@
// extern UNK_TYPE1 D_801FBE2C;
// extern UNK_TYPE4 D_801FBE30;
extern STACK(sSysFlashromStack, 0x1000);
-extern StackEntry sys_flashromStackEntry;
-extern OSThread sys_flashromOSThread;
+extern StackEntry sSysFlashromStackInfo;
+extern OSThread sSysFlashromThread;
extern s80185D40 D_801FD008;
-extern OSMesg D_801FD034;
+extern OSMesg D_801FD034[1];
#pragma GLOBAL_ASM("asm/non_matchings/code/sys_flashrom/func_801857C0.s")
diff --git a/src/code/sys_slowly.c b/src/code/sys_slowly.c
index 29ac0db78..754c5d472 100644
--- a/src/code/sys_slowly.c
+++ b/src/code/sys_slowly.c
@@ -10,6 +10,7 @@
*/
#include "slowly.h"
#include "global.h"
+#include "stackcheck.h"
void Slowly_Main(SlowlyMgr* slowly) {
slowly->status |= SLOWLY_STATUS_STARTED;