/*++\r
\r
-Copyright (c) 2005 - 2007, Intel Corporation \r
-All rights reserved. This program and the accompanying materials \r
+Copyright (c) 2005 - 2007, Intel Corporation. All rights reserved.<BR>\r
+This program and the accompanying materials \r
are licensed and made available under the terms and conditions of the BSD License \r
which accompanies this distribution. The full text of the license may be found at \r
http://opensource.org/licenses/bsd-license.php \r
\r
--*/\r
\r
-#include "pcibus.h"\r
+#include "PciBus.h"\r
\r
typedef struct {\r
EFI_HANDLE ImageHandle;\r
UINT8 Func;\r
} EFI_PCI_ROM_IMAGE_MAPPING;\r
\r
-static UINTN mNumberOfPciRomImages = 0;\r
-static UINTN mMaxNumberOfPciRomImages = 0;\r
-static EFI_PCI_ROM_IMAGE_MAPPING *mRomImageTable = NULL;\r
+UINTN mNumberOfPciRomImages = 0;\r
+UINTN mMaxNumberOfPciRomImages = 0;\r
+EFI_PCI_ROM_IMAGE_MAPPING *mRomImageTable = NULL;\r
\r
-static CHAR16 mHexDigit[17] = L"0123456789ABCDEF";\r
+CHAR16 mHexDigit[17] = L"0123456789ABCDEF";\r
\r
-static\r
VOID\r
PciRomAddImageMapping (\r
IN EFI_HANDLE ImageHandle,\r
mNumberOfPciRomImages++;\r
}\r
\r
-static\r
VOID\r
HexToString (\r
CHAR16 *String,\r
return Status;\r
}\r
\r
- PciGetBusRange (Descriptors, &MinBus, &MaxBus, NULL);\r
+ PciGetBusRange (&Descriptors, &MinBus, &MaxBus, NULL);\r
if ((MinBus <= PciOptionRomDescriptor->Bus) && (PciOptionRomDescriptor->Bus <= MaxBus)) {\r
Status = PciRomLoadEfiDriversFromRomImage (This, PciOptionRomDescriptor);\r
PciOptionRomDescriptor->DontLoadEfiRom |= 2;\r