2022-10-09 05:13:17 +00:00
|
|
|
#ifndef _DOLPHIN_OSRTCPRIV
|
|
|
|
#define _DOLPHIN_OSRTCPRIV
|
2022-09-11 00:25:05 +00:00
|
|
|
|
|
|
|
#include <types.h>
|
|
|
|
|
|
|
|
typedef struct OSSram {
|
|
|
|
u16 checkSum;
|
|
|
|
u16 checkSumInv;
|
|
|
|
u32 ead0;
|
|
|
|
u32 ead1;
|
|
|
|
u32 counterBias;
|
|
|
|
s8 displayOffsetH;
|
|
|
|
u8 ntd;
|
|
|
|
u8 language;
|
|
|
|
|
|
|
|
u8 flags;
|
|
|
|
} OSSram;
|
|
|
|
|
|
|
|
typedef struct OSSramEx {
|
|
|
|
u8 flashID[2][12];
|
|
|
|
u32 wirelessKeyboardID;
|
|
|
|
u16 wirelessPadID[4];
|
|
|
|
u8 dvdErrorCode;
|
|
|
|
u8 _padding0;
|
|
|
|
u8 flashIDCheckSum[2];
|
|
|
|
u16 gbs;
|
|
|
|
u8 _padding1[2];
|
|
|
|
} OSSramEx;
|
|
|
|
|
2022-09-11 04:54:54 +00:00
|
|
|
OSSram* __OSLockSram();
|
2022-09-11 00:25:05 +00:00
|
|
|
OSSramEx* __OSLockSramEx();
|
2022-10-09 05:13:17 +00:00
|
|
|
|
|
|
|
#endif // _DOLPHIN_OSRTCPRIV
|