From: bxing Date: Mon, 22 May 2006 08:51:07 +0000 (+0000) Subject: Fixed tracker #49 X-Git-Tag: edk2-stable201903~25456 X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=commitdiff_plain;h=6749d10be5ec2b96f3c72b1a7a32a6329f9aa832;ds=sidebyside Fixed tracker #49 git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@230 6f19259b-4bc3-4df7-8a09-765794883524 --- diff --git a/MdePkg/Library/BasePciExpressLib/BasePciExpressLib.msa b/MdePkg/Library/BasePciExpressLib/BasePciExpressLib.msa index dd071189dc..af128ea417 100644 --- a/MdePkg/Library/BasePciExpressLib/BasePciExpressLib.msa +++ b/MdePkg/Library/BasePciExpressLib/BasePciExpressLib.msa @@ -42,4 +42,11 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. MdePkg + + + PcdPciExpressBaseAddress + 0x0000000A + UINT64 + + diff --git a/MdePkg/Library/BasePciExpressLib/PciLib.c b/MdePkg/Library/BasePciExpressLib/PciLib.c index a3dab38ec3..3003613486 100644 --- a/MdePkg/Library/BasePciExpressLib/PciLib.c +++ b/MdePkg/Library/BasePciExpressLib/PciLib.c @@ -37,8 +37,7 @@ GetPciExpressBaseAddress ( VOID ) { - /// @bug Change this to a PCD Get call to retrieve the PCI-E Base Address - return 0xc0000000; + return (UINTN)PcdGet64 (PcdPciExpressBaseAddress); } /**