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:
		@@ -1307,6 +1307,7 @@ EFI_STATUS
 | 
			
		||||
EFIAPI 
 | 
			
		||||
PeiLibPciCfgModify (
 | 
			
		||||
  IN EFI_PEI_SERVICES         **PeiServices,
 | 
			
		||||
  IN PEI_PCI_CFG_PPI          *PciCfg,
 | 
			
		||||
  IN PEI_PCI_CFG_PPI_WIDTH    Width,
 | 
			
		||||
  IN UINT64                   Address,
 | 
			
		||||
  IN UINTN                    SetBits,
 | 
			
		||||
@@ -1337,6 +1338,7 @@ Routine Description:
 | 
			
		||||
   it will be updated to the following code which call this library API:
 | 
			
		||||
      PeiLibPciCfgModify (
 | 
			
		||||
          PeiServices,
 | 
			
		||||
          PciCfg,
 | 
			
		||||
          Width,
 | 
			
		||||
          Address,
 | 
			
		||||
          SetBits,
 | 
			
		||||
@@ -1349,7 +1351,9 @@ Arguments:
 | 
			
		||||
  
 | 
			
		||||
  PeiServices     An indirect pointer to the PEI Services Table
 | 
			
		||||
                          published by the PEI Foundation.
 | 
			
		||||
 | 
			
		||||
  PciCfg          A pointer to the this pointer of EFI_PEI_PCI_CFG_PPI. 
 | 
			
		||||
                          This parameter is unused as a place holder to make
 | 
			
		||||
                          the parameter list identical to PEI_PCI_CFG_PPI_RW.
 | 
			
		||||
  Width           The width of the access. Enumerated in bytes. Type
 | 
			
		||||
                          EFI_PEI_PCI_CFG_PPI_WIDTH is defined in Read().
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
@@ -157,6 +157,7 @@ EFI_STATUS
 | 
			
		||||
EFIAPI 
 | 
			
		||||
PeiLibPciCfgModify (
 | 
			
		||||
  IN EFI_PEI_SERVICES         **PeiServices,
 | 
			
		||||
  IN PEI_PCI_CFG_PPI          *PciCfg,
 | 
			
		||||
  IN PEI_PCI_CFG_PPI_WIDTH    Width,
 | 
			
		||||
  IN UINT64                   Address,
 | 
			
		||||
  IN UINTN                    SetBits,
 | 
			
		||||
@@ -187,6 +188,7 @@ Routine Description:
 | 
			
		||||
   it will be updated to the following code which call this library API:
 | 
			
		||||
      PeiLibPciCfgModify (
 | 
			
		||||
          PeiServices,
 | 
			
		||||
          PciCfg,
 | 
			
		||||
          Width,
 | 
			
		||||
          Address,
 | 
			
		||||
          SetBits,
 | 
			
		||||
@@ -199,7 +201,9 @@ Arguments:
 | 
			
		||||
  
 | 
			
		||||
  PeiServices     An indirect pointer to the PEI Services Table
 | 
			
		||||
                          published by the PEI Foundation.
 | 
			
		||||
 | 
			
		||||
  PciCfg          A pointer to the this pointer of EFI_PEI_PCI_CFG_PPI. 
 | 
			
		||||
                          This parameter is unused as a place holder to make
 | 
			
		||||
                          the parameter list identical to PEI_PCI_CFG_PPI_RW.
 | 
			
		||||
  Width           The width of the access. Enumerated in bytes. Type
 | 
			
		||||
                          EFI_PEI_PCI_CFG_PPI_WIDTH is defined in Read().
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user