mirror of https://github.com/zeldaret/tp.git
41 lines
695 B
C
41 lines
695 B
C
#ifndef _REVOLUTION_OSNANDBOOT_H_
|
|
#define _REVOLUTION_OSNANDBOOT_H_
|
|
|
|
#include <revolution/types.h>
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
typedef struct {
|
|
u32 CheckSum;
|
|
u32 ArgOffset;
|
|
u8 reserved[2];
|
|
u8 LastAppType;
|
|
u8 ReturnType;
|
|
u32 ArgValue;
|
|
u8 padding[8];
|
|
u64 LastTitleId;
|
|
u8 args[0x1000];
|
|
} OSNandbootInfo;
|
|
|
|
typedef struct {
|
|
u32 CheckSum;
|
|
u32 ArgOffset;
|
|
u8 reserved[2];
|
|
u8 LastAppType;
|
|
u8 ReturnType;
|
|
u32 ArgValue;
|
|
u8 padding[8];
|
|
u64 LastTitleId;
|
|
} OSNandbootInfoHeader;
|
|
|
|
BOOL __OSCreateNandbootInfo(void);
|
|
BOOL __OSWriteNandbootInfo(OSNandbootInfo*);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif // _REVOLUTION_OSNANDBOOT_H_
|