]> git.proxmox.com Git - mirror_edk2.git/blame - IntelFrameworkModulePkg/Bus/Pci/PciBusDxe/PciRomTable.h
clean up the un-suitable ';' location when declaring the functions.
[mirror_edk2.git] / IntelFrameworkModulePkg / Bus / Pci / PciBusDxe / PciRomTable.h
CommitLineData
3db51098 1/**@file\r
2 Option Rom Support for PCI Bus Driver\r
ead42efc 3\r
4Copyright (c) 2006, Intel Corporation \r
5All rights reserved. This program and the accompanying materials \r
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
3db51098 13**/\r
ead42efc 14\r
15#ifndef _EFI_PCI_ROM_TABLE_H\r
16#define _EFI_PCI_ROM_TABLE_H\r
17\r
57076f45 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
26 @param RomAddress Base address of OptionRom\r
27 @param RomLength Length of rom image.\r
28**/\r
ead42efc 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
36 IN UINT64 RomAddress,\r
37 IN UINT64 RomLength\r
ed66e1bc 38 );\r
bcd70414 39/**\r
57076f45 40 Load all option rom image to PCI driver list.\r
41 \r
42 @param This Pointer to protocol instance EFI_DRIVER_BINDING_PROTOCOL\r
43 @param PciRootBridgeIo Root bridge Io instance\r
44 @param PciIoDevice device instance\r
bcd70414 45**/\r
ead42efc 46EFI_STATUS\r
47PciRomGetRomResourceFromPciOptionRomTable (\r
48 IN EFI_DRIVER_BINDING_PROTOCOL *This,\r
49 IN EFI_PCI_ROOT_BRIDGE_IO_PROTOCOL *PciRootBridgeIo,\r
50 PCI_IO_DEVICE *PciIoDevice\r
ed66e1bc 51 );\r
ead42efc 52\r
57076f45 53/**\r
54 Get Option rom driver's mapping for PCI device.\r
55 \r
56 @param PciIoDevice Device instance.\r
ead42efc 57\r
bcd70414 58**/\r
ead42efc 59EFI_STATUS\r
60PciRomGetImageMapping (\r
61 PCI_IO_DEVICE *PciIoDevice\r
ed66e1bc 62 );\r
ead42efc 63\r
64#endif\r