MdeModulePkg/PciBus: Correct typos
[mirror_edk2.git] / MdeModulePkg / Bus / Pci / PciBusDxe / PciRomTable.h
CommitLineData
9060e3ec 1/** @file\r
2 Set up ROM Table for PCI Bus module.\r
3\r
fcdfcdbf 4Copyright (c) 2006 - 2019, Intel Corporation. All rights reserved.<BR>\r
cd5ebaa0 5This program and the accompanying materials\r
9060e3ec 6are licensed and made available under the terms and conditions of the BSD License\r
7which accompanies this distribution. The full text of the license may be found at\r
8http://opensource.org/licenses/bsd-license.php\r
9\r
10THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
11WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
12\r
13**/\r
14\r
15#ifndef _EFI_PCI_ROM_TABLE_H_\r
16#define _EFI_PCI_ROM_TABLE_H_\r
17\r
18/**\r
19 Add the Rom Image to internal database for later PCI light enumeration.\r
20\r
21 @param ImageHandle Option Rom image handle.\r
22 @param Seg Segment of PCI space.\r
23 @param Bus Bus NO of PCI space.\r
24 @param Dev Dev NO of PCI space.\r
25 @param Func Func NO of PCI space.\r
fcdfcdbf
RN
26 @param RomImage Option Rom buffer.\r
27 @param RomSize Size of Option Rom buffer.\r
9060e3ec 28**/\r
29VOID\r
30PciRomAddImageMapping (\r
31 IN EFI_HANDLE ImageHandle,\r
32 IN UINTN Seg,\r
33 IN UINT8 Bus,\r
34 IN UINT8 Dev,\r
35 IN UINT8 Func,\r
221c8fd5
RN
36 IN VOID *RomImage,\r
37 IN UINT64 RomSize\r
9060e3ec 38 );\r
39\r
40/**\r
41 Get Option rom driver's mapping for PCI device.\r
42\r
43 @param PciIoDevice Device instance.\r
44\r
45 @retval TRUE Found Image mapping.\r
46 @retval FALSE Cannot found image mapping.\r
47\r
48**/\r
49BOOLEAN\r
50PciRomGetImageMapping (\r
51 IN PCI_IO_DEVICE *PciIoDevice\r
52 );\r
53\r
54#endif\r