diff options
author | Revo <projectrevotpp@hotmail.com> | 2020-06-12 14:07:11 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-06-12 14:07:11 -0400 |
commit | c4263506fa96acc210d1cf356023a3ffde805a0b (patch) | |
tree | b39057449acad0ae7866534e5bdbad99091bd9f7 /arm9/lib/include/OS_reset.h | |
parent | 45f97db651b38ea41d33402efea293e50a31725a (diff) | |
parent | a2dc5cb0cf5db3b4d8103ab5abc6e67faae2e3d3 (diff) |
Merge pull request #160 from red031000/master
arm7 OS_reset
Diffstat (limited to 'arm9/lib/include/OS_reset.h')
-rw-r--r-- | arm9/lib/include/OS_reset.h | 15 |
1 files changed, 4 insertions, 11 deletions
diff --git a/arm9/lib/include/OS_reset.h b/arm9/lib/include/OS_reset.h index cb7680d1..ef62184b 100644 --- a/arm9/lib/include/OS_reset.h +++ b/arm9/lib/include/OS_reset.h @@ -1,17 +1,10 @@ -// -// Created by red031000 on 2020-05-06. -// - -#ifndef POKEDIAMOND_OS_RESET_H -#define POKEDIAMOND_OS_RESET_H +#ifndef POKEDIAMOND_ARM9_OS_RESET_H +#define POKEDIAMOND_ARM9_OS_RESET_H #include "consts.h" +#include "nitro/OS_reset_shared.h" #include "PXI_fifo.h" -#define OS_PXI_COMMAND_MASK 0x7f00 -#define OS_PXI_COMMAND_SHIFT 8 -#define OS_PXI_COMMAND_RESET 0x10 - void OS_InitReset(void); static void OSi_CommonCallback(PXIFifoTag tag, u32 data, BOOL err); static void OSi_SendToPxi(u16 data); @@ -27,4 +20,4 @@ static inline u32 OS_GetResetParameter(void) return (u32)*(u32 *)HW_RESET_PARAMETER_BUF; } -#endif //POKEDIAMOND_OS_RESET_H +#endif //POKEDIAMOND_ARM9_OS_RESET_H |