Patch to remove STATIC modifier. This is on longer recommended by EFI Framework coding style. All duplicated symbols has been renamed accordingly.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6302 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
@@ -22,8 +22,8 @@ Revision History
|
||||
|
||||
#include "PcatPciRootBridge.h"
|
||||
|
||||
static BOOLEAN mPciOptionRomTableInstalled = FALSE;
|
||||
static EFI_PCI_OPTION_ROM_TABLE mPciOptionRomTable = {0, NULL};
|
||||
BOOLEAN mPciOptionRomTableInstalled = FALSE;
|
||||
EFI_PCI_OPTION_ROM_TABLE mPciOptionRomTable = {0, NULL};
|
||||
|
||||
EFI_STATUS
|
||||
PcatRootBridgeIoIoRead (
|
||||
@@ -208,7 +208,6 @@ PcatRootBridgeIoPciRW (
|
||||
return EFI_SUCCESS;
|
||||
}
|
||||
|
||||
static
|
||||
VOID
|
||||
ScanPciBus(
|
||||
EFI_PCI_ROOT_BRIDGE_IO_PROTOCOL *IoDev,
|
||||
@@ -297,7 +296,6 @@ ScanPciBus(
|
||||
}
|
||||
}
|
||||
|
||||
static
|
||||
VOID
|
||||
CheckForRom (
|
||||
EFI_PCI_ROOT_BRIDGE_IO_PROTOCOL *IoDev,
|
||||
@@ -523,7 +521,6 @@ CheckForRom (
|
||||
IoDev->Pci.Write (IoDev, EfiPciWidthUint32, Address, sizeof(PciHeader)/sizeof(UINT32), &PciHeader);
|
||||
}
|
||||
|
||||
static
|
||||
VOID
|
||||
SaveCommandRegister (
|
||||
EFI_PCI_ROOT_BRIDGE_IO_PROTOCOL *IoDev,
|
||||
@@ -561,7 +558,6 @@ SaveCommandRegister (
|
||||
IoDev->Pci.Write (IoDev, EfiPciWidthUint16, Address, 1, &Command);
|
||||
}
|
||||
|
||||
static
|
||||
VOID
|
||||
RestoreCommandRegister (
|
||||
EFI_PCI_ROOT_BRIDGE_IO_PROTOCOL *IoDev,
|
||||
|
Reference in New Issue
Block a user