]> git.proxmox.com Git - mirror_edk2.git/blame - MdeModulePkg/Bus/Pci/PciBusDxe/PciRomTable.h
Update the copyright notice format
[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
cd5ebaa0
HT
4Copyright (c) 2006 - 2009, Intel Corporation. All rights reserved.<BR>\r
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
26 @param RomAddress Base address of OptionRom.\r
27 @param RomLength Length of rom image.\r
28\r
29**/\r
30VOID\r
31PciRomAddImageMapping (\r
32 IN EFI_HANDLE ImageHandle,\r
33 IN UINTN Seg,\r
34 IN UINT8 Bus,\r
35 IN UINT8 Dev,\r
36 IN UINT8 Func,\r
37 IN UINT64 RomAddress,\r
38 IN UINT64 RomLength\r
39 );\r
40\r
41/**\r
42 Get Option rom driver's mapping for PCI device.\r
43\r
44 @param PciIoDevice Device instance.\r
45\r
46 @retval TRUE Found Image mapping.\r
47 @retval FALSE Cannot found image mapping.\r
48\r
49**/\r
50BOOLEAN\r
51PciRomGetImageMapping (\r
52 IN PCI_IO_DEVICE *PciIoDevice\r
53 );\r
54\r
55#endif\r