summaryrefslogtreecommitdiff
path: root/arm7/lib/include
diff options
context:
space:
mode:
authorred031000 <rubenru09@aol.com>2020-06-12 18:08:19 +0100
committerred031000 <rubenru09@aol.com>2020-06-12 18:08:19 +0100
commit5c34c97254b35f93d9254e63265446f9f7d50817 (patch)
tree5c124f89c7770a34c20a968cf05456e75d36cae1 /arm7/lib/include
parente672765bfe4b9272e91309872b01730dc3b6d3f7 (diff)
arm7 OS_reset
Diffstat (limited to 'arm7/lib/include')
-rw-r--r--arm7/lib/include/OS_init.h2
-rw-r--r--arm7/lib/include/OS_interrupt.h6
-rw-r--r--arm7/lib/include/OS_reset.h14
-rw-r--r--arm7/lib/include/PXI_fifo.h6
4 files changed, 28 insertions, 0 deletions
diff --git a/arm7/lib/include/OS_init.h b/arm7/lib/include/OS_init.h
index 9c9b1f93..c90740c2 100644
--- a/arm7/lib/include/OS_init.h
+++ b/arm7/lib/include/OS_init.h
@@ -4,6 +4,8 @@
#include "nitro/types.h"
#include "OS_system.h"
#include "OS_arena.h"
+#include "OS_alloc.h"
+#include "OS_reset.h"
void OS_Init(void);
diff --git a/arm7/lib/include/OS_interrupt.h b/arm7/lib/include/OS_interrupt.h
new file mode 100644
index 00000000..afcb9b5f
--- /dev/null
+++ b/arm7/lib/include/OS_interrupt.h
@@ -0,0 +1,6 @@
+#ifndef POKEDIAMOND_ARM7_OS_INTERRUPT_H
+#define POKEDIAMOND_ARM7_OS_INTERRUPT_H
+
+#include "nitro/OS_interrupt_shared.h"
+
+#endif //POKEDIAMOND_ARM7_OS_INTERRUPT_H
diff --git a/arm7/lib/include/OS_reset.h b/arm7/lib/include/OS_reset.h
new file mode 100644
index 00000000..f643dd58
--- /dev/null
+++ b/arm7/lib/include/OS_reset.h
@@ -0,0 +1,14 @@
+#ifndef POKEDIAMOND_ARM7_OS_RESET_H
+#define POKEDIAMOND_ARM7_OS_RESET_H
+
+#include "nitro/types.h"
+#include "nitro/OS_reset_shared.h"
+#include "PXI_fifo.h"
+
+void OS_InitReset(void);
+BOOL OS_IsResetOccurred(void);
+static void OSi_CommonCallback(PXIFifoTag tag, u32 data, BOOL err);
+static void OSi_SendToPxi(u16 data);
+void OS_ResetSystem(void);
+
+#endif //POKEDIAMOND_ARM7_OS_RESET_H
diff --git a/arm7/lib/include/PXI_fifo.h b/arm7/lib/include/PXI_fifo.h
new file mode 100644
index 00000000..6d634f72
--- /dev/null
+++ b/arm7/lib/include/PXI_fifo.h
@@ -0,0 +1,6 @@
+#ifndef POKEDIAMOND_ARM7_PXI_FIFO_H
+#define POKEDIAMOND_ARM7_PXI_FIFO_H
+
+#include "nitro/PXI_fifo_shared.h"
+
+#endif //POKEDIAMOND_ARM7_PXI_FIFO_H