diff options
author | PikalaxALT <pikalaxalt@gmail.com> | 2020-05-07 10:04:35 -0400 |
---|---|---|
committer | PikalaxALT <pikalaxalt@gmail.com> | 2020-05-07 10:04:35 -0400 |
commit | 1fe92db5c3fef98e7f1d51f73b65ad83b6178734 (patch) | |
tree | f640337a70ca7706f34286683d896861d3773ea6 /arm9/lib/include/OS_reset.h | |
parent | a222e198bbdaef7de3931299adc1166dad205428 (diff) | |
parent | 7bd2d6636ba5a34fb0ae984f377f690d51ba97f0 (diff) |
Merge branch 'master' of github.com:martmists/pokediamond into pikalax_work
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 |