summaryrefslogtreecommitdiff
path: root/arm7/lib/include
diff options
context:
space:
mode:
authorRevo <projectrevotpp@hotmail.com>2020-06-12 14:07:11 -0400
committerGitHub <noreply@github.com>2020-06-12 14:07:11 -0400
commitc4263506fa96acc210d1cf356023a3ffde805a0b (patch)
treeb39057449acad0ae7866534e5bdbad99091bd9f7 /arm7/lib/include
parent45f97db651b38ea41d33402efea293e50a31725a (diff)
parenta2dc5cb0cf5db3b4d8103ab5abc6e67faae2e3d3 (diff)
Merge pull request #160 from red031000/master
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