Gekko: Convert UReg_MSR over to using Common::BitField
This commit is contained in:
parent
1863212d94
commit
4ecdcc9d78
|
@ -367,29 +367,27 @@ union UReg_XER
|
||||||
// Machine State Register
|
// Machine State Register
|
||||||
union UReg_MSR
|
union UReg_MSR
|
||||||
{
|
{
|
||||||
struct
|
BitField<0, 1, u32> LE;
|
||||||
{
|
BitField<1, 1, u32> RI;
|
||||||
u32 LE : 1;
|
BitField<2, 1, u32> PM;
|
||||||
u32 RI : 1;
|
BitField<3, 1, u32> reserved_1;
|
||||||
u32 PM : 1;
|
BitField<4, 1, u32> DR;
|
||||||
u32 : 1; // res28
|
BitField<5, 1, u32> IR;
|
||||||
u32 DR : 1;
|
BitField<6, 1, u32> IP;
|
||||||
u32 IR : 1;
|
BitField<7, 1, u32> reserved_2;
|
||||||
u32 IP : 1;
|
BitField<8, 1, u32> FE1;
|
||||||
u32 : 1; // res24
|
BitField<9, 1, u32> BE;
|
||||||
u32 FE1 : 1;
|
BitField<10, 1, u32> SE;
|
||||||
u32 BE : 1;
|
BitField<11, 1, u32> FE0;
|
||||||
u32 SE : 1;
|
BitField<12, 1, u32> MCHECK;
|
||||||
u32 FE0 : 1;
|
BitField<13, 1, u32> FP;
|
||||||
u32 MCHECK : 1;
|
BitField<14, 1, u32> PR;
|
||||||
u32 FP : 1;
|
BitField<15, 1, u32> EE;
|
||||||
u32 PR : 1;
|
BitField<16, 1, u32> ILE;
|
||||||
u32 EE : 1;
|
BitField<17, 1, u32> reserved_3;
|
||||||
u32 ILE : 1;
|
BitField<18, 1, u32> POW;
|
||||||
u32 : 1; // res14
|
BitField<19, 13, u32> reserved_4;
|
||||||
u32 POW : 1;
|
|
||||||
u32 res : 13;
|
|
||||||
};
|
|
||||||
u32 Hex = 0;
|
u32 Hex = 0;
|
||||||
|
|
||||||
UReg_MSR() = default;
|
UReg_MSR() = default;
|
||||||
|
|
Loading…
Reference in New Issue