summaryrefslogtreecommitdiff
path: root/arm7/lib/include/OS_reset.h
diff options
context:
space:
mode:
authorPikalaxALT <PikalaxALT@users.noreply.github.com>2020-06-12 14:39:00 -0400
committerGitHub <noreply@github.com>2020-06-12 14:39:00 -0400
commit09514ee0e6982c61d884682b4b747a4383f0d1b8 (patch)
treefe67fb209023d19114ca07efa71f1846dd030911 /arm7/lib/include/OS_reset.h
parent2d8d454dfe8691f4cd1077c50ab6f3c286c28ce1 (diff)
parentc4263506fa96acc210d1cf356023a3ffde805a0b (diff)
Merge branch 'master' into pikalax_work
Diffstat (limited to 'arm7/lib/include/OS_reset.h')
-rw-r--r--arm7/lib/include/OS_reset.h14
1 files changed, 14 insertions, 0 deletions
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