diff options
author | red031000 <rubenru09@aol.com> | 2020-05-06 16:46:28 +0100 |
---|---|---|
committer | red031000 <rubenru09@aol.com> | 2020-05-06 16:46:28 +0100 |
commit | 07f5d61d46874a88796614d15517de3e3f1f0410 (patch) | |
tree | 755881268c736430d65074c220a563508eca8419 /arm9/lib/include/OS_reset.h | |
parent | 55faa9e2d1b393e832f95485f5412425136bd6b7 (diff) |
match OS_reset.c
Diffstat (limited to 'arm9/lib/include/OS_reset.h')
-rw-r--r-- | arm9/lib/include/OS_reset.h | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/arm9/lib/include/OS_reset.h b/arm9/lib/include/OS_reset.h new file mode 100644 index 00000000..c3b60c98 --- /dev/null +++ b/arm9/lib/include/OS_reset.h @@ -0,0 +1,20 @@ +// +// Created by red031000 on 2020-05-06. +// + +#ifndef POKEDIAMOND_OS_RESET_H +#define POKEDIAMOND_OS_RESET_H + +#include "consts.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 OSi_CommonCallback(PXIFifoTag tag, u32 data, BOOL err); +void OSi_SendToPxi(u16 data); +void OS_ResetSystem(u32 parameter); + +#endif //POKEDIAMOND_OS_RESET_H |