]> git.proxmox.com Git - mirror_edk2.git/blobdiff - IntelFrameworkModulePkg/Include/Guid/PciOptionRomTable.h
1. Create Intel Framework Module Package directory
[mirror_edk2.git] / IntelFrameworkModulePkg / Include / Guid / PciOptionRomTable.h
diff --git a/IntelFrameworkModulePkg/Include/Guid/PciOptionRomTable.h b/IntelFrameworkModulePkg/Include/Guid/PciOptionRomTable.h
new file mode 100644 (file)
index 0000000..0ba44db
--- /dev/null
@@ -0,0 +1,47 @@
+/*++\r
+\r
+Copyright (c) 2006, Intel Corporation                                                         \r
+All rights reserved. This program and the accompanying materials                          \r
+are licensed and made available under the terms and conditions of the BSD License         \r
+which accompanies this distribution.  The full text of the license may be found at        \r
+http://opensource.org/licenses/bsd-license.php                                            \r
+                                                                                          \r
+THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,                     \r
+WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.             \r
+\r
+Module Name:\r
+\r
+  PciOptionRomTable.h\r
+    \r
+Abstract:\r
+\r
+  GUID and data structure used to describe the list of PCI Option ROMs present in a system.\r
+\r
+--*/\r
+\r
+#ifndef __PCI_OPTION_ROM_TABLE_GUID_H_\r
+#define __PCI_OPTION_ROM_TABLE_GUID_H_\r
+\r
+#define EFI_PCI_OPTION_ROM_TABLE_GUID \\r
+  { 0x7462660f, 0x1cbd, 0x48da, {0xad, 0x11, 0x91, 0x71, 0x79, 0x13, 0x83, 0x1c } }\r
+\r
+extern EFI_GUID gEfiPciOptionRomTableGuid;\r
+\r
+typedef struct {\r
+  EFI_PHYSICAL_ADDRESS   RomAddress; \r
+  EFI_MEMORY_TYPE        MemoryType;\r
+  UINT32                 RomLength; \r
+  UINT32                 Seg; \r
+  UINT8                  Bus; \r
+  UINT8                  Dev; \r
+  UINT8                  Func; \r
+  BOOLEAN                ExecutedLegacyBiosImage; \r
+  BOOLEAN                DontLoadEfiRom;\r
+} EFI_PCI_OPTION_ROM_DESCRIPTOR;\r
+\r
+typedef struct {\r
+  UINT64                         PciOptionRomCount;\r
+  EFI_PCI_OPTION_ROM_DESCRIPTOR   *PciOptionRomDescriptors;\r
+} EFI_PCI_OPTION_ROM_TABLE;\r
+\r
+#endif\r