From 204529a3a033b5379c53332313d01c739274fc9b Mon Sep 17 00:00:00 2001 From: qhuang8 Date: Thu, 27 Mar 2008 04:49:40 +0000 Subject: Remove the default value 0xE0000000 of EDKII_GLUE_PciExpressBaseAddress. It requires platform DSC file to specify it explicitly in their DSC file to avoid runtime issue. Unlike the other default value of PCD in GlueLib, this value does not work for all all platforms. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4960 6f19259b-4bc3-4df7-8a09-765794883524 --- .../Foundation/Library/EdkIIGlueLib/Include/EdkIIGlueConfig.h | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Include/EdkIIGlueConfig.h b/EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Include/EdkIIGlueConfig.h index 8a1d018a97..180400e511 100644 --- a/EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Include/EdkIIGlueConfig.h +++ b/EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Include/EdkIIGlueConfig.h @@ -106,9 +106,13 @@ Abstract: #define EDKII_GLUE_DebugClearMemoryValue 0xAF // -// pci express base address +// pci express base address. +// "PCD_EDKII_GLUE_PciExpressBaseAddress" is required to be defined explicitly: +// e.g. in EDK II DSC file to build EDK modules: +// [BuildOptions] +// *_*_*_CC_FLAGS = /D PCD_EDKII_GLUE_PciExpressBaseAddress=0xC0000000 // -#define EDKII_GLUE_PciExpressBaseAddress 0xE0000000 +#define EDKII_GLUE_PciExpressBaseAddress PCD_EDKII_GLUE_PciExpressBaseAddress // // -- cgit v1.2.3