2022-10-09 05:13:17 +00:00
|
|
|
#ifndef _DOLPHIN_PPCARCH
|
|
|
|
#define _DOLPHIN_PPCARCH
|
2022-04-10 00:17:06 +00:00
|
|
|
|
2022-04-04 10:20:15 +00:00
|
|
|
#include "types.h"
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
2022-04-10 00:17:06 +00:00
|
|
|
|
2022-04-04 10:20:15 +00:00
|
|
|
u32 PPCMfmsr();
|
|
|
|
void PPCMtmsr(u32 newMSR);
|
|
|
|
u32 PPCOrMsr(u32 value);
|
|
|
|
u32 PPCMfhid0();
|
|
|
|
void PPCMthid0(u32 newHID0);
|
|
|
|
u32 PPCMfl2cr();
|
|
|
|
void PPCMtl2cr(u32 newL2cr);
|
|
|
|
void PPCMtdec(u32 newDec);
|
|
|
|
void PPCSync();
|
|
|
|
void PPCHalt();
|
|
|
|
u32 PPCMffpscr();
|
|
|
|
void PPCMtfpscr(u32 newFPSCR);
|
|
|
|
u32 PPCMfhid2();
|
|
|
|
void PPCMthid2(u32 newhid2);
|
|
|
|
u32 PPCMfwpar();
|
|
|
|
void PPCMtwpar(u32 newwpar);
|
|
|
|
void PPCEnableSpeculation();
|
|
|
|
void PPCDisableSpeculation();
|
|
|
|
void PPCSetFpIEEEMode();
|
|
|
|
void PPCSetFpNonIEEEMode();
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif
|
2022-04-10 00:17:06 +00:00
|
|
|
|
2022-10-09 05:13:17 +00:00
|
|
|
#endif // _DOLPHIN_PPCARCH
|