mirror of https://github.com/acidanthera/audk.git
Fix ICC toolchain build break.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9600 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
6051620257
commit
f00b5d8352
|
@ -481,11 +481,11 @@ GatherPpbInfo (
|
||||||
// if so, it is assumed non-stardard I/O window alignment is supported by this bridge.
|
// if so, it is assumed non-stardard I/O window alignment is supported by this bridge.
|
||||||
// Per spec, bit 3-1 of I/O Base Register are reserved bits, so its content can't be assumed.
|
// Per spec, bit 3-1 of I/O Base Register are reserved bits, so its content can't be assumed.
|
||||||
//
|
//
|
||||||
Value = Temp ^ (BIT3 | BIT2 | BIT1);
|
Value = (UINT8)(Temp ^ (BIT3 | BIT2 | BIT1));
|
||||||
PciIo->Pci.Write (PciIo, EfiPciIoWidthUint8, 0x1C, 1, &Value);
|
PciIo->Pci.Write (PciIo, EfiPciIoWidthUint8, 0x1C, 1, &Value);
|
||||||
PciIo->Pci.Read (PciIo, EfiPciIoWidthUint8, 0x1C, 1, &Value);
|
PciIo->Pci.Read (PciIo, EfiPciIoWidthUint8, 0x1C, 1, &Value);
|
||||||
PciIo->Pci.Write (PciIo, EfiPciIoWidthUint8, 0x1C, 1, &Temp);
|
PciIo->Pci.Write (PciIo, EfiPciIoWidthUint8, 0x1C, 1, &Temp);
|
||||||
Value = (Value ^ Temp) & (BIT3 | BIT2 | BIT1);
|
Value = (UINT8)((Value ^ Temp) & (BIT3 | BIT2 | BIT1));
|
||||||
switch (Value) {
|
switch (Value) {
|
||||||
case BIT3:
|
case BIT3:
|
||||||
PciIoDevice->BridgeIoAlignment = 0x7FF;
|
PciIoDevice->BridgeIoAlignment = 0x7FF;
|
||||||
|
|
Loading…
Reference in New Issue