summaryrefslogtreecommitdiff
path: root/arm9/lib/include
diff options
context:
space:
mode:
authorred031000 <rubenru09@aol.com>2020-05-29 14:45:08 +0100
committerred031000 <rubenru09@aol.com>2020-05-29 14:46:26 +0100
commit77463372468870d20c6751fff4d7708f93fae571 (patch)
tree2a9dd929bae96d370cb766a6a0800b116ad78b86 /arm9/lib/include
parent03100d9a6c0da43f02e3b1f3d3e062ecf884d8b4 (diff)
more itcm, asm funcs in OS_reset.c
Diffstat (limited to 'arm9/lib/include')
-rw-r--r--arm9/lib/include/OS_reset.h2
-rw-r--r--arm9/lib/include/mmap.h9
-rw-r--r--arm9/lib/include/registers.h3
3 files changed, 13 insertions, 1 deletions
diff --git a/arm9/lib/include/OS_reset.h b/arm9/lib/include/OS_reset.h
index c50106da..4f0b80a9 100644
--- a/arm9/lib/include/OS_reset.h
+++ b/arm9/lib/include/OS_reset.h
@@ -16,5 +16,7 @@ void OS_InitReset(void);
static void OSi_CommonCallback(PXIFifoTag tag, u32 data, BOOL err);
static void OSi_SendToPxi(u16 data);
void OS_ResetSystem(u32 parameter);
+void OSi_DoBoot(void);
+static void OSi_CpuClear32(register u32 data, register void *destp, register u32 size);
#endif //POKEDIAMOND_OS_RESET_H
diff --git a/arm9/lib/include/mmap.h b/arm9/lib/include/mmap.h
index 8eb3f623..386ee0e4 100644
--- a/arm9/lib/include/mmap.h
+++ b/arm9/lib/include/mmap.h
@@ -42,6 +42,15 @@ extern u32 SDK_AUTOLOAD_DTCM_START[];
#define HW_DTCM_SVC_STACK (HW_DTCM_SVC_STACK_END - HW_SVC_STACK_SIZE)
#define HW_DTCM_IRQ_STACK_END (HW_DTCM_SVC_STACK)
+#define HW_BIOS_EXCP_STACK_MAIN (HW_MAIN_MEM + 0x007ffd80)
+#define HW_EXCP_VECTOR_MAIN (HW_MAIN_MEM + 0x007ffd9c)
+
+#define HW_PXI_SIGNAL_PARAM_ARM9 (HW_MAIN_MEM + 0x007fff80)
+
+#define HW_WM_RSSI_POOL (HW_MAIN_MEM + 0x007fff98)
+
+#define HW_COMPONENT_PARAM (HW_MAIN_MEM + 0x007fff9c)
+
#define HW_LOCK_ID_FLAG_MAIN (HW_MAIN_MEM + 0x007fffb0)
#define HW_SHARED_LOCK_BUF (HW_MAIN_MEM + 0x007fffc0)
#define HW_CARD_LOCK_BUF (HW_MAIN_MEM + 0x007fffe0)
diff --git a/arm9/lib/include/registers.h b/arm9/lib/include/registers.h
index 598ba3f9..366f4654 100644
--- a/arm9/lib/include/registers.h
+++ b/arm9/lib/include/registers.h
@@ -92,7 +92,8 @@
#define reg_PAD_KEYINPUT (*(REGType16v *)0x4000130)
#define reg_PAD_KEYCNT (*(REGType16v *)0x4000132)
-#define reg_PXI_SUBPINTF (*(REGType16v *)0x4000180)
+#define REG_SUBPINTF_ADDR 0x4000180
+#define reg_PXI_SUBPINTF (*(REGType16v *)REG_SUBPINTF_ADDR)
#define reg_PXI_SUBP_FIFO_CNT (*(REGType16v *)0x4000184)
#define reg_PXI_SEND_FIFO (*(REGType32v *)0x4000188)