mirror of https://github.com/acidanthera/audk.git
Pass ICC building.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6761 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
88b6bcec9d
commit
2b7d16cf8c
|
@ -51,7 +51,7 @@ EFI_LEGACY_8259_PROTOCOL *mLegacy8259;
|
|||
// The notification function to call on every timer interrupt.
|
||||
// A bug in the compiler prevents us from initializing this here.
|
||||
//
|
||||
volatile EFI_TIMER_NOTIFY mTimerNotifyFunction;
|
||||
EFI_TIMER_NOTIFY mTimerNotifyFunction;
|
||||
|
||||
//
|
||||
// The current period of the timer interrupt
|
||||
|
|
|
@ -121,7 +121,7 @@ Returns:
|
|||
&OldCommand
|
||||
);
|
||||
|
||||
OldCommand |= Command;
|
||||
OldCommand = (UINT16) (OldCommand | Command);
|
||||
|
||||
return PciIo->Pci.Write (
|
||||
PciIo,
|
||||
|
@ -165,7 +165,7 @@ Returns:
|
|||
&OldCommand
|
||||
);
|
||||
|
||||
OldCommand &= ~(Command);
|
||||
OldCommand = (UINT16) (OldCommand & ~(Command));
|
||||
|
||||
return PciIo->Pci.Write (
|
||||
PciIo,
|
||||
|
@ -244,7 +244,7 @@ Returns:
|
|||
&OldCommand
|
||||
);
|
||||
|
||||
OldCommand |= Command;
|
||||
OldCommand = (UINT16) (OldCommand | Command);
|
||||
|
||||
return PciIo->Pci.Write (
|
||||
PciIo,
|
||||
|
@ -287,7 +287,7 @@ Returns:
|
|||
&OldCommand
|
||||
);
|
||||
|
||||
OldCommand &= ~(Command);
|
||||
OldCommand = (UINT16) (OldCommand & ~(Command));
|
||||
|
||||
return PciIo->Pci.Write (
|
||||
PciIo,
|
||||
|
|
|
@ -148,7 +148,6 @@ Returns:
|
|||
UINT16 OffsetPcir;
|
||||
UINT32 RomBarOffset;
|
||||
UINT32 RomBar;
|
||||
UINT64 Temp;
|
||||
EFI_STATUS retStatus;
|
||||
BOOLEAN FirstCheck;
|
||||
UINT8 *Image;
|
||||
|
@ -164,7 +163,6 @@ Returns:
|
|||
Indicator = 0;
|
||||
RomImageSize = 0;
|
||||
RomInMemory = NULL;
|
||||
Temp = 0;
|
||||
CodeType = 0xFF;
|
||||
|
||||
//
|
||||
|
|
|
@ -555,7 +555,7 @@ SaveCommandRegister (
|
|||
//
|
||||
// Clear the memory enable bit
|
||||
//
|
||||
Command = Context->CommandRegisterBuffer[Index] & (~0x02);
|
||||
Command = (UINT16) (Context->CommandRegisterBuffer[Index] & (~0x02));
|
||||
|
||||
IoDev->Pci.Write (IoDev, EfiPciWidthUint16, Address, 1, &Command);
|
||||
}
|
||||
|
|
|
@ -151,7 +151,7 @@ Returns:
|
|||
//
|
||||
// Build the EFI Device Path Protocol instance for this PCI Root Bridge
|
||||
//
|
||||
Status = PcatRootBridgeDevicePathConstructor (&PrivateData->DevicePath, PciRootBridgeIndex, (PrivateData->PciExpressBaseAddress != 0) ? TRUE : FALSE);
|
||||
Status = PcatRootBridgeDevicePathConstructor (&PrivateData->DevicePath, PciRootBridgeIndex, (BOOLEAN)((PrivateData->PciExpressBaseAddress != 0) ? TRUE : FALSE));
|
||||
if (EFI_ERROR (Status)) {
|
||||
goto Done;
|
||||
}
|
||||
|
@ -804,7 +804,7 @@ Returns:
|
|||
if ( *Value == 0 ) {
|
||||
return EFI_DEVICE_ERROR;
|
||||
}
|
||||
return EFI_SUCCESS;
|
||||
return Status;
|
||||
}
|
||||
|
||||
EFI_STATUS
|
||||
|
|
Loading…
Reference in New Issue