From 5c34c97254b35f93d9254e63265446f9f7d50817 Mon Sep 17 00:00:00 2001 From: red031000 Date: Fri, 12 Jun 2020 18:08:19 +0100 Subject: arm7 OS_reset --- arm7/lib/include/OS_reset.h | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 arm7/lib/include/OS_reset.h (limited to 'arm7/lib/include/OS_reset.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 -- cgit v1.2.3