prime/include/dolphin/os/OSReset.h

28 lines
400 B
C
Raw Normal View History

#ifndef __OSRESET_H__
#define __OSRESET_H__
#include <types.h>
#ifdef __cplusplus
extern "C" {
#endif
2022-09-18 06:05:46 +00:00
typedef BOOL (*OSResetFunction)(BOOL final);
typedef struct OSResetFunctionInfo OSResetFunctionInfo;
2022-09-18 06:05:46 +00:00
struct OSResetFunctionInfo {
// public
OSResetFunction func;
u32 priority;
2022-09-18 06:05:46 +00:00
// private
OSResetFunctionInfo* next;
OSResetFunctionInfo* prev;
};
#ifdef __cplusplus
}
#endif
#endif