2 Set up ROM Table for PCI Bus module.
4 Copyright (c) 2006 - 2009, Intel Corporation. All rights reserved.<BR>
5 This program and the accompanying materials
6 are licensed and made available under the terms and conditions of the BSD License
7 which accompanies this distribution. The full text of the license may be found at
8 http://opensource.org/licenses/bsd-license.php
10 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
11 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
15 #ifndef _EFI_PCI_ROM_TABLE_H_
16 #define _EFI_PCI_ROM_TABLE_H_
19 Add the Rom Image to internal database for later PCI light enumeration.
21 @param ImageHandle Option Rom image handle.
22 @param Seg Segment of PCI space.
23 @param Bus Bus NO of PCI space.
24 @param Dev Dev NO of PCI space.
25 @param Func Func NO of PCI space.
26 @param RomAddress Base address of OptionRom.
27 @param RomLength Length of rom image.
31 PciRomAddImageMapping (
32 IN EFI_HANDLE ImageHandle
,
42 Get Option rom driver's mapping for PCI device.
44 @param PciIoDevice Device instance.
46 @retval TRUE Found Image mapping.
47 @retval FALSE Cannot found image mapping.
51 PciRomGetImageMapping (
52 IN PCI_IO_DEVICE
*PciIoDevice