The Index Register Base Address bitfield is selected by the binary mask
00000000 00000000 11111111 11000000, 0xFFC0; fix the typo.
Reported-by: Gleb Natapov <gleb@redhat.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Laszlo Ersek <lersek@redhat.com>
Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13720
6f19259b-4bc3-4df7-8a09-
765794883524
mPmba = PcdGet16 (PcdAcpiPmBaseAddress);\r
\r
PciAndThenOr32 (PCI_LIB_ADDRESS (0,Device,3,0x40),\r
- (UINT32) ~0xfc0, mPmba);\r
+ (UINT32) ~0xFFC0, mPmba);\r
PciOr8 (PCI_LIB_ADDRESS (0,Device,3,0x04), 0x01);\r
}\r
\r
//\r
// Set the PM I/O base address to 0x400\r
//\r
- PciAndThenOr32 (PCI_LIB_ADDRESS (0, 1, 3, 0x40), (UINT32) ~0xfc0, 0x400);\r
+ PciAndThenOr32 (PCI_LIB_ADDRESS (0, 1, 3, 0x40), (UINT32) ~0xFFC0, 0x400);\r
}\r
}\r
\r