summaryrefslogtreecommitdiff
path: root/IntelFrameworkModulePkg/Bus/Pci
diff options
context:
space:
mode:
authorjji4 <jji4@6f19259b-4bc3-4df7-8a09-765794883524>2008-10-30 06:08:09 +0000
committerjji4 <jji4@6f19259b-4bc3-4df7-8a09-765794883524>2008-10-30 06:08:09 +0000
commit819d1488930d30b30bb467fcb3bf0f05b28d675e (patch)
treee7b823354b941131c3321d53f05fb9de55af9ba9 /IntelFrameworkModulePkg/Bus/Pci
parentdf1f748c87c8f7a6f3a691fda2015c20f24da364 (diff)
downloadedk2-platforms-819d1488930d30b30bb467fcb3bf0f05b28d675e.tar.xz
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@6298 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'IntelFrameworkModulePkg/Bus/Pci')
-rw-r--r--IntelFrameworkModulePkg/Bus/Pci/IdeBusDxe/Atapi.c2
-rw-r--r--IntelFrameworkModulePkg/Bus/Pci/IdeBusDxe/DriverConfiguration.c1
-rw-r--r--IntelFrameworkModulePkg/Bus/Pci/PciBusDxe/PciEnumeratorSupport.c1
-rw-r--r--IntelFrameworkModulePkg/Bus/Pci/PciBusDxe/PciIo.c4
-rw-r--r--IntelFrameworkModulePkg/Bus/Pci/PciBusDxe/PciLib.c6
-rw-r--r--IntelFrameworkModulePkg/Bus/Pci/PciBusDxe/PciRomTable.c6
6 files changed, 4 insertions, 16 deletions
diff --git a/IntelFrameworkModulePkg/Bus/Pci/IdeBusDxe/Atapi.c b/IntelFrameworkModulePkg/Bus/Pci/IdeBusDxe/Atapi.c
index c157c39e1f..e7ddcb980e 100644
--- a/IntelFrameworkModulePkg/Bus/Pci/IdeBusDxe/Atapi.c
+++ b/IntelFrameworkModulePkg/Bus/Pci/IdeBusDxe/Atapi.c
@@ -40,7 +40,6 @@
(means enable media status notification) is called.
**/
-STATIC
EFI_STATUS
LS120GetMediaStatus (
IN IDE_BLK_IO_DEV *IdeDev
@@ -121,7 +120,6 @@ LS120GetMediaStatus (
If command failed.
**/
-STATIC
EFI_STATUS
LS120EnableMediaStatus (
IN IDE_BLK_IO_DEV *IdeDev,
diff --git a/IntelFrameworkModulePkg/Bus/Pci/IdeBusDxe/DriverConfiguration.c b/IntelFrameworkModulePkg/Bus/Pci/IdeBusDxe/DriverConfiguration.c
index a6d3b567a0..79385b8084 100644
--- a/IntelFrameworkModulePkg/Bus/Pci/IdeBusDxe/DriverConfiguration.c
+++ b/IntelFrameworkModulePkg/Bus/Pci/IdeBusDxe/DriverConfiguration.c
@@ -38,7 +38,6 @@ EFI_DRIVER_CONFIGURATION_PROTOCOL gIDEBusDriverConfiguration = {
@retval EFI_NOT_FOUND TODO: Add description for return value
**/
-STATIC
EFI_STATUS
GetResponse (
VOID
diff --git a/IntelFrameworkModulePkg/Bus/Pci/PciBusDxe/PciEnumeratorSupport.c b/IntelFrameworkModulePkg/Bus/Pci/PciBusDxe/PciEnumeratorSupport.c
index 825aae5437..2dceb002ed 100644
--- a/IntelFrameworkModulePkg/Bus/Pci/PciBusDxe/PciEnumeratorSupport.c
+++ b/IntelFrameworkModulePkg/Bus/Pci/PciBusDxe/PciEnumeratorSupport.c
@@ -878,7 +878,6 @@ GetFastBackToBackSupport (
@retval EFI_SUCCESS Success Operation.
**/
-STATIC
EFI_STATUS
ProcessOptionRomLight (
IN PCI_IO_DEVICE *PciIoDevice
diff --git a/IntelFrameworkModulePkg/Bus/Pci/PciBusDxe/PciIo.c b/IntelFrameworkModulePkg/Bus/Pci/PciBusDxe/PciIo.c
index ddf2ea8f12..6530899c8d 100644
--- a/IntelFrameworkModulePkg/Bus/Pci/PciBusDxe/PciIo.c
+++ b/IntelFrameworkModulePkg/Bus/Pci/PciBusDxe/PciIo.c
@@ -18,7 +18,6 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
//
// Internal use only
//
-STATIC
EFI_STATUS
ReportErrorStatusCode (
IN PCI_IO_DEVICE *PciIoDevice,
@@ -32,7 +31,7 @@ ReportErrorStatusCode (
//
// Pci Io Protocol Interface
//
-static EFI_PCI_IO_PROTOCOL PciIoInterface = {
+EFI_PCI_IO_PROTOCOL PciIoInterface = {
PciIoPollMem,
PciIoPollIo,
{
@@ -67,7 +66,6 @@ static EFI_PCI_IO_PROTOCOL PciIoInterface = {
@param PciIoDevice Pci device instance
@param Code status code
**/
-STATIC
EFI_STATUS
ReportErrorStatusCode (
IN PCI_IO_DEVICE *PciIoDevice,
diff --git a/IntelFrameworkModulePkg/Bus/Pci/PciBusDxe/PciLib.c b/IntelFrameworkModulePkg/Bus/Pci/PciBusDxe/PciLib.c
index 085681bdba..0a6b0d07e5 100644
--- a/IntelFrameworkModulePkg/Bus/Pci/PciBusDxe/PciLib.c
+++ b/IntelFrameworkModulePkg/Bus/Pci/PciBusDxe/PciLib.c
@@ -2009,7 +2009,6 @@ PciHostBridgeEnumerator (
@retval EFI_OUT_OF_RESOURCES The request could not be completed due to a lack of resources.
**/
-STATIC
EFI_STATUS
ReadConfigData (
IN EFI_PCI_ROOT_BRIDGE_IO_PROTOCOL *PciRootBridgeIo, OPTIONAL
@@ -2166,7 +2165,6 @@ ReadConfigData (
@retval EFI_SUCCESS The data has been updated.
**/
-STATIC
EFI_STATUS
UpdateConfigData (
IN EFI_PCI_DEVICE_INFO *PciDeviceInfo,
@@ -2242,7 +2240,6 @@ UpdateConfigData (
@retval EFI_OUT_OF_RESOURCES The request could not be completed due to a lack of resources.
**/
-STATIC
EFI_STATUS
WriteConfigData (
IN EFI_PCI_ROOT_BRIDGE_IO_PROTOCOL *PciRootBridgeIo, OPTIONAL
@@ -2417,7 +2414,6 @@ WriteConfigData (
@retval EFI_SUCCESS Pci device device information has been abstracted.
**/
-STATIC
EFI_STATUS
GetPciDeviceDeviceInfo (
IN EFI_PCI_ROOT_BRIDGE_IO_PROTOCOL *PciRootBridgeIo, OPTIONAL
@@ -2523,7 +2519,6 @@ GetPciDeviceDeviceInfo (
@retval EFI_OUT_OF_RESOURCES The request could not be completed due to a lack of resources.
**/
-STATIC
EFI_STATUS
PciIncompatibilityCheckRead (
IN EFI_PCI_ROOT_BRIDGE_IO_PROTOCOL *PciRootBridgeIo, OPTIONAL
@@ -2590,7 +2585,6 @@ PciIncompatibilityCheckRead (
@retval EFI_OUT_OF_RESOURCES The request could not be completed due to a lack of resources.
**/
-STATIC
EFI_STATUS
PciIncompatibilityCheckWrite (
IN EFI_PCI_ROOT_BRIDGE_IO_PROTOCOL *PciRootBridgeIo, OPTIONAL
diff --git a/IntelFrameworkModulePkg/Bus/Pci/PciBusDxe/PciRomTable.c b/IntelFrameworkModulePkg/Bus/Pci/PciBusDxe/PciRomTable.c
index 50f2cd1a96..339b33c8a1 100644
--- a/IntelFrameworkModulePkg/Bus/Pci/PciBusDxe/PciRomTable.c
+++ b/IntelFrameworkModulePkg/Bus/Pci/PciBusDxe/PciRomTable.c
@@ -25,9 +25,9 @@ typedef struct {
UINT64 RomLength;
} EFI_PCI_ROM_IMAGE_MAPPING;
-static UINTN mNumberOfPciRomImages = 0;
-static UINTN mMaxNumberOfPciRomImages = 0;
-static EFI_PCI_ROM_IMAGE_MAPPING *mRomImageTable = NULL;
+UINTN mNumberOfPciRomImages = 0;
+UINTN mMaxNumberOfPciRomImages = 0;
+EFI_PCI_ROM_IMAGE_MAPPING *mRomImageTable = NULL;
/**
Add the Rom Image to internal database for later PCI light enumeration