diff options
author | jji4 <jji4@6f19259b-4bc3-4df7-8a09-765794883524> | 2008-10-30 06:17:19 +0000 |
---|---|---|
committer | jji4 <jji4@6f19259b-4bc3-4df7-8a09-765794883524> | 2008-10-30 06:17:19 +0000 |
commit | e56dd2ce1342c358962eeab09d54cb1a95c064bf (patch) | |
tree | 7de2ad650759902a24330257dde6791ec443eedc /DuetPkg/PciRootBridgeNoEnumerationDxe | |
parent | 7492c63d423201cbabc00c343cc25269bb1254c1 (diff) | |
download | edk2-e56dd2ce1342c358962eeab09d54cb1a95c064bf.zip edk2-e56dd2ce1342c358962eeab09d54cb1a95c064bf.tar.gz edk2-e56dd2ce1342c358962eeab09d54cb1a95c064bf.tar.bz2 |
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
Diffstat (limited to 'DuetPkg/PciRootBridgeNoEnumerationDxe')
5 files changed, 7 insertions, 17 deletions
diff --git a/DuetPkg/PciRootBridgeNoEnumerationDxe/Ia32/PcatIo.c b/DuetPkg/PciRootBridgeNoEnumerationDxe/Ia32/PcatIo.c index d697390..92dd1c3 100644 --- a/DuetPkg/PciRootBridgeNoEnumerationDxe/Ia32/PcatIo.c +++ b/DuetPkg/PciRootBridgeNoEnumerationDxe/Ia32/PcatIo.c @@ -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
EFIAPI
@@ -210,7 +210,6 @@ PcatRootBridgeIoPciRW ( return EFI_SUCCESS;
}
-static
VOID
ScanPciBus(
EFI_PCI_ROOT_BRIDGE_IO_PROTOCOL *IoDev,
@@ -299,7 +298,6 @@ ScanPciBus( }
}
-static
VOID
CheckForRom (
EFI_PCI_ROOT_BRIDGE_IO_PROTOCOL *IoDev,
@@ -525,7 +523,6 @@ CheckForRom ( IoDev->Pci.Write (IoDev, EfiPciWidthUint32, Address, sizeof(PciHeader)/sizeof(UINT32), &PciHeader);
}
-static
VOID
SaveCommandRegister (
EFI_PCI_ROOT_BRIDGE_IO_PROTOCOL *IoDev,
@@ -563,7 +560,6 @@ SaveCommandRegister ( IoDev->Pci.Write (IoDev, EfiPciWidthUint16, Address, 1, &Command);
}
-static
VOID
RestoreCommandRegister (
EFI_PCI_ROOT_BRIDGE_IO_PROTOCOL *IoDev,
diff --git a/DuetPkg/PciRootBridgeNoEnumerationDxe/Ipf/PcatIo.c b/DuetPkg/PciRootBridgeNoEnumerationDxe/Ipf/PcatIo.c index 9979d47..f6d8c80 100644 --- a/DuetPkg/PciRootBridgeNoEnumerationDxe/Ipf/PcatIo.c +++ b/DuetPkg/PciRootBridgeNoEnumerationDxe/Ipf/PcatIo.c @@ -46,8 +46,8 @@ Revision History //
// Local variables for performing SAL Proc calls
//
-static PLABEL mSalProcPlabel;
-static CALL_SAL_PROC mGlobalSalProc;
+PLABEL mSalProcPlabel;
+CALL_SAL_PROC mGlobalSalProc;
EFI_STATUS
PcatRootBridgeIoIoRead (
diff --git a/DuetPkg/PciRootBridgeNoEnumerationDxe/PcatPciRootBridgeDevicePath.c b/DuetPkg/PciRootBridgeNoEnumerationDxe/PcatPciRootBridgeDevicePath.c index ab1b5d8..4b7a0e8 100644 --- a/DuetPkg/PciRootBridgeNoEnumerationDxe/PcatPciRootBridgeDevicePath.c +++ b/DuetPkg/PciRootBridgeNoEnumerationDxe/PcatPciRootBridgeDevicePath.c @@ -31,7 +31,7 @@ typedef struct { EFI_DEVICE_PATH_PROTOCOL EndDevicePath;
} EFI_PCI_ROOT_BRIDGE_DEVICE_PATH;
-static EFI_PCI_ROOT_BRIDGE_DEVICE_PATH mEfiPciRootBridgeDevicePath = {
+EFI_PCI_ROOT_BRIDGE_DEVICE_PATH mEfiPciRootBridgeDevicePath = {
{
ACPI_DEVICE_PATH,
ACPI_DP,
diff --git a/DuetPkg/PciRootBridgeNoEnumerationDxe/PcatPciRootBridgeIo.c b/DuetPkg/PciRootBridgeNoEnumerationDxe/PcatPciRootBridgeIo.c index 84abcf6..ed2aea7 100644 --- a/DuetPkg/PciRootBridgeNoEnumerationDxe/PcatPciRootBridgeIo.c +++ b/DuetPkg/PciRootBridgeNoEnumerationDxe/PcatPciRootBridgeIo.c @@ -189,7 +189,6 @@ PcatRootBridgeIoConfiguration ( //
// Private Function Prototypes
//
-STATIC
EFI_STATUS
EFIAPI
PcatRootBridgeIoMemRW (
@@ -979,7 +978,6 @@ PcatRootBridgeIoConfiguration ( // Internal function
//
-STATIC
EFI_STATUS
EFIAPI
PcatRootBridgeIoMemRW (
diff --git a/DuetPkg/PciRootBridgeNoEnumerationDxe/X64/PcatIo.c b/DuetPkg/PciRootBridgeNoEnumerationDxe/X64/PcatIo.c index 0a786f8..f670dc6 100644 --- a/DuetPkg/PciRootBridgeNoEnumerationDxe/X64/PcatIo.c +++ b/DuetPkg/PciRootBridgeNoEnumerationDxe/X64/PcatIo.c @@ -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,
|