]> git.proxmox.com Git - mirror_edk2.git/blob - EdkModulePkg/Include/Guid/PciOptionRomTable.h
Initial import.
[mirror_edk2.git] / EdkModulePkg / Include / Guid / PciOptionRomTable.h
1 /*++
2
3 Copyright (c) 2006, Intel Corporation
4 All rights reserved. This program and the accompanying materials
5 are licensed and made available under the terms and conditions of the BSD License
6 which accompanies this distribution. The full text of the license may be found at
7 http://opensource.org/licenses/bsd-license.php
8
9 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
10 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
11
12 Module Name:
13
14 PciOptionRomTable.h
15
16 Abstract:
17
18 GUID and data structure used to describe the list of PCI Option ROMs present in a system.
19
20 --*/
21
22 #ifndef _PCI_OPTION_ROM_TABLE_GUID_H_
23
24 #define EFI_PCI_OPTION_ROM_TABLE_GUID \
25 { 0x7462660f, 0x1cbd, 0x48da, {0xad, 0x11, 0x91, 0x71, 0x79, 0x13, 0x83, 0x1c } }
26
27 extern EFI_GUID gEfiPciOptionRomTableGuid;
28
29 typedef struct {
30 EFI_PHYSICAL_ADDRESS RomAddress;
31 EFI_MEMORY_TYPE MemoryType;
32 UINT32 RomLength;
33 UINT32 Seg;
34 UINT8 Bus;
35 UINT8 Dev;
36 UINT8 Func;
37 BOOLEAN ExecutedLegacyBiosImage;
38 BOOLEAN DontLoadEfiRom;
39 } EFI_PCI_OPTION_ROM_DESCRIPTOR;
40
41 typedef struct {
42 UINT64 PciOptionRomCount;
43 EFI_PCI_OPTION_ROM_DESCRIPTOR *PciOptionRomDescriptors;
44 } EFI_PCI_OPTION_ROM_TABLE;
45
46 #endif