/*++\r
\r
-Copyright (c) 2005 - 2006, Intel Corporation \r
-All rights reserved. This program and the accompanying materials \r
+Copyright (c) 2005 - 2006, 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
// 0x30\r
//\r
- RomBarIndex = PCI_DEVICE_ROMBAR;\r
+ RomBarIndex = PCI_EXPANSION_ROM_BASE;\r
\r
if (IS_PCI_BRIDGE (&PciIoDevice->Pci)) {\r
//\r
UINT16 OffsetPcir;\r
UINT32 RomBarOffset;\r
UINT32 RomBar;\r
- UINT64 Temp;\r
EFI_STATUS retStatus;\r
BOOLEAN FirstCheck;\r
UINT8 *Image;\r
Indicator = 0;\r
RomImageSize = 0;\r
RomInMemory = NULL;\r
- Temp = 0;\r
CodeType = 0xFF;\r
\r
//\r
//\r
// 0x30\r
//\r
- RomBarIndex = PCI_DEVICE_ROMBAR;\r
+ RomBarIndex = PCI_EXPANSION_ROM_BASE;\r
if (IS_PCI_BRIDGE (&(PciDevice->Pci))) {\r
//\r
// if is ppb\r