Fixed tracker #49

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@230 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
bxing 2006-05-22 08:51:07 +00:00
parent b544966b27
commit 6749d10be5
2 changed files with 8 additions and 2 deletions

View File

@ -42,4 +42,11 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
<Includes>
<PackageName>MdePkg</PackageName>
</Includes>
<PCDs>
<PcdData ItemType="FIXED_AT_BUILD">
<C_Name>PcdPciExpressBaseAddress</C_Name>
<Token>0x0000000A</Token>
<DatumType>UINT64</DatumType>
</PcdData>
</PCDs>
</LibraryModuleSurfaceArea>

View File

@ -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);
}
/**