diff options
author | qhuang8 <qhuang8@6f19259b-4bc3-4df7-8a09-765794883524> | 2008-03-27 04:49:40 +0000 |
---|---|---|
committer | qhuang8 <qhuang8@6f19259b-4bc3-4df7-8a09-765794883524> | 2008-03-27 04:49:40 +0000 |
commit | 204529a3a033b5379c53332313d01c739274fc9b (patch) | |
tree | d5f7d081d900d676d8daf6cf11231c4d6d3c29d5 | |
parent | d1d1603e20b76cade36ace14531abb83d0b5c655 (diff) | |
download | edk2-platforms-204529a3a033b5379c53332313d01c739274fc9b.tar.xz |
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
-rw-r--r-- | EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Include/EdkIIGlueConfig.h | 8 |
1 files 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
//
//
|