X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=blobdiff_plain;f=MdePkg%2FLibrary%2FBasePciExpressLib%2FPciLib.c;h=3003613486a9bce2906c1de844a80d543890e8ca;hp=a3dab38ec34f43a969d769325afc3d07fda201b6;hb=6749d10be5ec2b96f3c72b1a7a32a6329f9aa832;hpb=b544966b2725ccbd31296626901dece19ee2df31;ds=sidebyside 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); } /**