Gekko: Convert UReg_PTE over to using Common::BitField
This commit is contained in:
parent
e4e1b6064d
commit
dbf8e27d7f
|
@ -748,20 +748,17 @@ union UReg_THRM3
|
||||||
|
|
||||||
union UReg_PTE
|
union UReg_PTE
|
||||||
{
|
{
|
||||||
struct
|
BitField<0, 6, u64> API;
|
||||||
{
|
BitField<6, 1, u64> H;
|
||||||
u64 API : 6;
|
BitField<7, 24, u64> VSID;
|
||||||
u64 H : 1;
|
BitField<31, 1, u64> V;
|
||||||
u64 VSID : 24;
|
BitField<32, 2, u64> PP;
|
||||||
u64 V : 1;
|
BitField<34, 1, u64> reserved_1;
|
||||||
u64 PP : 2;
|
BitField<35, 4, u64> WIMG;
|
||||||
u64 : 1;
|
BitField<39, 1, u64> C;
|
||||||
u64 WIMG : 4;
|
BitField<40, 1, u64> R;
|
||||||
u64 C : 1;
|
BitField<41, 3, u64> reserved_2;
|
||||||
u64 R : 1;
|
BitField<44, 20, u64> RPN;
|
||||||
u64 : 3;
|
|
||||||
u64 RPN : 20;
|
|
||||||
};
|
|
||||||
|
|
||||||
u64 Hex = 0;
|
u64 Hex = 0;
|
||||||
u32 Hex32[2];
|
u32 Hex32[2];
|
||||||
|
|
Loading…
Reference in New Issue