mirror of https://github.com/PrimeDecomp/prime.git
28 lines
400 B
C
28 lines
400 B
C
#ifndef __OSRESET_H__
|
|
#define __OSRESET_H__
|
|
|
|
#include <types.h>
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
typedef BOOL (*OSResetFunction)(BOOL final);
|
|
typedef struct OSResetFunctionInfo OSResetFunctionInfo;
|
|
|
|
struct OSResetFunctionInfo {
|
|
// public
|
|
OSResetFunction func;
|
|
u32 priority;
|
|
|
|
// private
|
|
OSResetFunctionInfo* next;
|
|
OSResetFunctionInfo* prev;
|
|
};
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif
|