Fix ICC warnings
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6714 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
@@ -107,14 +107,15 @@ PeiPciSegmentLibPciCfg2ReadWorker (
|
||||
{
|
||||
UINT32 Data;
|
||||
CONST EFI_PEI_PCI_CFG2_PPI *PciCfg2Ppi;
|
||||
UINT64 PciCfg2Address;
|
||||
|
||||
PciCfg2Ppi = InternalGetPciCfg2Ppi (Address);
|
||||
|
||||
PciCfg2Address = PCI_TO_PCICFG2_ADDRESS (Address);
|
||||
PciCfg2Ppi->Read (
|
||||
GetPeiServicesTablePointer (),
|
||||
PciCfg2Ppi,
|
||||
Width,
|
||||
PCI_TO_PCICFG2_ADDRESS (Address),
|
||||
PciCfg2Address,
|
||||
&Data
|
||||
);
|
||||
|
||||
@@ -145,14 +146,15 @@ PeiPciSegmentLibPciCfg2WriteWorker (
|
||||
)
|
||||
{
|
||||
CONST EFI_PEI_PCI_CFG2_PPI *PciCfg2Ppi;
|
||||
UINT64 PciCfg2Address;
|
||||
|
||||
PciCfg2Ppi = InternalGetPciCfg2Ppi (Address);
|
||||
|
||||
PciCfg2Address = PCI_TO_PCICFG2_ADDRESS (Address);
|
||||
PciCfg2Ppi->Write (
|
||||
GetPeiServicesTablePointer (),
|
||||
PciCfg2Ppi,
|
||||
Width,
|
||||
PCI_TO_PCICFG2_ADDRESS (Address),
|
||||
PciCfg2Address,
|
||||
&Data
|
||||
);
|
||||
|
||||
|
Reference in New Issue
Block a user