Adjust the code so that global variable placed at beginning of file.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8172 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
@@ -29,6 +29,12 @@
|
||||
#include <IndustryStandard/Pci.h>
|
||||
|
||||
|
||||
//
|
||||
// Global Variables
|
||||
//
|
||||
extern EFI_PEI_PCI_CFG_PPI gPciCfgPpi;
|
||||
extern EFI_PEI_PPI_DESCRIPTOR gPciCfgPpiList;
|
||||
|
||||
/**
|
||||
Convert EFI_PEI_PCI_CFG_PPI_PCI_ADDRESS to PCI_LIB_ADDRESS.
|
||||
|
||||
@@ -228,11 +234,4 @@ PciCfgModify (
|
||||
IN UINTN ClearBits
|
||||
);
|
||||
|
||||
//
|
||||
// Global Variables
|
||||
//
|
||||
extern EFI_PEI_PCI_CFG_PPI gPciCfgPpi;
|
||||
extern EFI_PEI_PPI_DESCRIPTOR gPciCfgPpiList;
|
||||
|
||||
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user