]> git.proxmox.com Git - mirror_edk2.git/blob - IntelFrameworkModulePkg/Include/Guid/PciOptionRomTable.h
Update For Review
[mirror_edk2.git] / IntelFrameworkModulePkg / Include / Guid / PciOptionRomTable.h
1 /** @file
2 GUID and data structure used to describe the list of PCI Option ROMs present in a system.
3
4 Copyright (c) 2006, Intel Corporation
5 All rights reserved. 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
9
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.
12
13 **/
14
15 #ifndef __PCI_OPTION_ROM_TABLE_GUID_H_
16 #define __PCI_OPTION_ROM_TABLE_GUID_H_
17
18 #define EFI_PCI_OPTION_ROM_TABLE_GUID \
19 { 0x7462660f, 0x1cbd, 0x48da, {0xad, 0x11, 0x91, 0x71, 0x79, 0x13, 0x83, 0x1c } }
20
21 extern EFI_GUID gEfiPciOptionRomTableGuid;
22
23 typedef struct {
24 EFI_PHYSICAL_ADDRESS RomAddress;
25 EFI_MEMORY_TYPE MemoryType;
26 UINT32 RomLength;
27 UINT32 Seg;
28 UINT8 Bus;
29 UINT8 Dev;
30 UINT8 Func;
31 BOOLEAN ExecutedLegacyBiosImage;
32 BOOLEAN DontLoadEfiRom;
33 } EFI_PCI_OPTION_ROM_DESCRIPTOR;
34
35 typedef struct {
36 UINT64 PciOptionRomCount;
37 EFI_PCI_OPTION_ROM_DESCRIPTOR *PciOptionRomDescriptors;
38 } EFI_PCI_OPTION_ROM_TABLE;
39
40 #endif // __PCI_OPTION_ROM_TABLE_GUID_H_
41