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