2 Set up ROM Table for PCI Bus module.
4 Copyright (c) 2006 - 2019, Intel Corporation. All rights reserved.<BR>
5 SPDX-License-Identifier: BSD-2-Clause-Patent
9 #ifndef _EFI_PCI_ROM_TABLE_H_
10 #define _EFI_PCI_ROM_TABLE_H_
13 Add the Rom Image to internal database for later PCI light enumeration.
15 @param ImageHandle Option Rom image handle.
16 @param Seg Segment of PCI space.
17 @param Bus Bus NO of PCI space.
18 @param Dev Dev NO of PCI space.
19 @param Func Func NO of PCI space.
20 @param RomImage Option Rom buffer.
21 @param RomSize Size of Option Rom buffer.
24 PciRomAddImageMapping (
25 IN EFI_HANDLE ImageHandle
,
35 Get Option rom driver's mapping for PCI device.
37 @param PciIoDevice Device instance.
39 @retval TRUE Found Image mapping.
40 @retval FALSE Cannot found image mapping.
44 PciRomGetImageMapping (
45 IN PCI_IO_DEVICE
*PciIoDevice