summaryrefslogtreecommitdiff
path: root/include/dolphin/os/OSResetSW.h
blob: e0205387e542d2075d22a05d5979d20999458653 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#ifndef OSRESETSW_H
#define OSRESETSW_H

#include "dolphin/os/OSInterrupt.h"

#ifdef __cplusplus
extern "C" {
#endif

typedef void (*OSResetCallback)(void);

static BOOL OSGetResetButtonState(void);
BOOL OSGetResetSwitchState(void);
void __OSResetSWInterruptHandler(__OSInterrupt interrupt, OSContext* context);

#ifdef __cplusplus
};
#endif

#endif /* OSRESETSW_H */