Gekko: Convert UReg_SDR1 over to using Common::BitField
Also fixes a typo in the struct name, since it was referring to SPR1 instead of SDR1. Given this isn't used anywhere yet, it's a painless change.
This commit is contained in:
parent
9e183e63f1
commit
1ec3768b84
|
@ -608,16 +608,14 @@ union UReg_HID4
|
||||||
explicit UReg_HID4(u32 hex_) : Hex{hex_} {}
|
explicit UReg_HID4(u32 hex_) : Hex{hex_} {}
|
||||||
};
|
};
|
||||||
|
|
||||||
// SPR1 - Page Table format
|
// SDR1 - Page Table format
|
||||||
union UReg_SPR1
|
union UReg_SDR1
|
||||||
{
|
{
|
||||||
u32 Hex;
|
BitField<0, 16, u32> htaborg;
|
||||||
struct
|
BitField<16, 7, u32> reserved;
|
||||||
{
|
BitField<23, 9, u32> htabmask;
|
||||||
u32 htaborg : 16;
|
|
||||||
u32 : 7;
|
u32 Hex = 0;
|
||||||
u32 htabmask : 9;
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
|
|
||||||
// MMCR0 - Monitor Mode Control Register 0 format
|
// MMCR0 - Monitor Mode Control Register 0 format
|
||||||
|
|
Loading…
Reference in New Issue