1. Rename gRT in GlueLib to avoid collision with EfiDriverLib
2. Add the extra parameter of PciCfg in the new PeiLibPciCfgModify() to keep the parameter list the same as the PciCfg->Modify(). PciCfg is just a place holder. 3. Allow platform develop to set EDKII_GLUE_PciExpressBaseAddress value in build option. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5868 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
@@ -112,7 +112,9 @@ Abstract:
|
||||
// [BuildOptions]
|
||||
// *_*_*_CC_FLAGS = /D PCD_EDKII_GLUE_PciExpressBaseAddress=0xC0000000
|
||||
//
|
||||
#ifndef EDKII_GLUE_PciExpressBaseAddress
|
||||
#define EDKII_GLUE_PciExpressBaseAddress PCD_EDKII_GLUE_PciExpressBaseAddress
|
||||
#endif
|
||||
|
||||
//
|
||||
//
|
||||
|
@@ -23,6 +23,11 @@ Abstract:
|
||||
#ifndef __EDKII_GLUE_UEFI_RUNTIME_SERVICES_TABLE_LIB_H__
|
||||
#define __EDKII_GLUE_UEFI_RUNTIME_SERVICES_TABLE_LIB_H__
|
||||
|
||||
//
|
||||
// To avoid symbol collision with gRT in EfiDriverLib
|
||||
//
|
||||
#define gRT gGlueRT
|
||||
|
||||
//
|
||||
// Cached copy of the EFI Runtime Services Table
|
||||
//
|
||||
|
Reference in New Issue
Block a user