Gekko: Convert UReg_HID0 over to using Common::BitField
This commit is contained in:
parent
4591246608
commit
02ec9c3b50
|
@ -529,39 +529,37 @@ union UReg_FPSCR
|
||||||
// Hardware Implementation-Dependent Register 0
|
// Hardware Implementation-Dependent Register 0
|
||||||
union UReg_HID0
|
union UReg_HID0
|
||||||
{
|
{
|
||||||
struct
|
BitField<0, 1, u32> NOOPTI;
|
||||||
{
|
BitField<1, 1, u32> reserved_1;
|
||||||
u32 NOOPTI : 1;
|
BitField<2, 1, u32> BHT;
|
||||||
u32 : 1;
|
BitField<3, 1, u32> ABE;
|
||||||
u32 BHT : 1;
|
BitField<4, 1, u32> reserved_2;
|
||||||
u32 ABE : 1;
|
BitField<5, 1, u32> BTIC;
|
||||||
u32 : 1;
|
BitField<6, 1, u32> DCFA;
|
||||||
u32 BTIC : 1;
|
BitField<7, 1, u32> SGE;
|
||||||
u32 DCFA : 1;
|
BitField<8, 1, u32> IFEM;
|
||||||
u32 SGE : 1;
|
BitField<9, 1, u32> SPD;
|
||||||
u32 IFEM : 1;
|
BitField<10, 1, u32> DCFI;
|
||||||
u32 SPD : 1;
|
BitField<11, 1, u32> ICFI;
|
||||||
u32 DCFI : 1;
|
BitField<12, 1, u32> DLOCK;
|
||||||
u32 ICFI : 1;
|
BitField<13, 1, u32> ILOCK;
|
||||||
u32 DLOCK : 1;
|
BitField<14, 1, u32> DCE;
|
||||||
u32 ILOCK : 1;
|
BitField<15, 1, u32> ICE;
|
||||||
u32 DCE : 1;
|
BitField<16, 1, u32> NHR;
|
||||||
u32 ICE : 1;
|
BitField<17, 3, u32> reserved_3;
|
||||||
u32 NHR : 1;
|
BitField<20, 1, u32> DPM;
|
||||||
u32 : 3;
|
BitField<21, 1, u32> SLEEP;
|
||||||
u32 DPM : 1;
|
BitField<22, 1, u32> NAP;
|
||||||
u32 SLEEP : 1;
|
BitField<23, 1, u32> DOZE;
|
||||||
u32 NAP : 1;
|
BitField<24, 1, u32> PAR;
|
||||||
u32 DOZE : 1;
|
BitField<25, 1, u32> ECLK;
|
||||||
u32 PAR : 1;
|
BitField<26, 1, u32> reserved_4;
|
||||||
u32 ECLK : 1;
|
BitField<27, 1, u32> BCLK;
|
||||||
u32 : 1;
|
BitField<28, 1, u32> EBD;
|
||||||
u32 BCLK : 1;
|
BitField<29, 1, u32> EBA;
|
||||||
u32 EBD : 1;
|
BitField<30, 1, u32> DBP;
|
||||||
u32 EBA : 1;
|
BitField<31, 1, u32> EMCP;
|
||||||
u32 DBP : 1;
|
|
||||||
u32 EMCP : 1;
|
|
||||||
};
|
|
||||||
u32 Hex = 0;
|
u32 Hex = 0;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue