summaryrefslogtreecommitdiff
path: root/arm9/lib/include/OS_reset.h
blob: 756de9fbfb436f2e2651a963d3ebf3fce89e852b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#ifndef POKEDIAMOND_ARM9_OS_RESET_H
#define POKEDIAMOND_ARM9_OS_RESET_H

#include "nitro/OS_reset_shared.h"
#include "mmap.h"

void OS_InitReset(void);
void OS_ResetSystem(u32 parameter);
void OSi_DoBoot(void);

static inline u32 OS_GetResetParameter(void)
{
    return (u32)*(u32 *)HW_RESET_PARAMETER_BUF;
}

#endif //POKEDIAMOND_ARM9_OS_RESET_H