Fix the issue in MdeModulePkg that mismatch between PCD type and the PCD Lib API to get the PCD.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9751 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
rsun3
2010-01-14 09:46:12 +00:00
parent 9c1d98d822
commit c11fa40c4e
8 changed files with 22 additions and 22 deletions

View File

@@ -2040,7 +2040,7 @@ CreatePciIoDevice (
);
DEBUG ((EFI_D_INFO, "PCI-IOV B%x.D%x.F%x - SupportedPageSize - 0x%x\n", (UINTN)Bus, (UINTN)Device, (UINTN)Func, PciIoDevice->SystemPageSize));
PciIoDevice->SystemPageSize = (PcdGet32(PcdSrIovSystemPageSize) & PciIoDevice->SystemPageSize);
PciIoDevice->SystemPageSize = (FixedPcdGet32(PcdSrIovSystemPageSize) & PciIoDevice->SystemPageSize);
ASSERT (PciIoDevice->SystemPageSize != 0);
PciIo->Pci.Write (