]> git.proxmox.com Git - mirror_edk2.git/blobdiff - IntelFrameworkModulePkg/Include/Guid/LegacyBios.h
IntelFrameworkModulePkg: Add Compatibility Support Module (CSM) drivers
[mirror_edk2.git] / IntelFrameworkModulePkg / Include / Guid / LegacyBios.h
diff --git a/IntelFrameworkModulePkg/Include/Guid/LegacyBios.h b/IntelFrameworkModulePkg/Include/Guid/LegacyBios.h
new file mode 100644 (file)
index 0000000..1fcea9c
--- /dev/null
@@ -0,0 +1,36 @@
+/** @file\r
+  Defines a Tag GUID used to mark a UEFI legacy BIOS thunk driver based\r
+  on legacy BIOS services and legacy option ROM. This Tag GUID must be installed on \r
+  the ImageHandle of any module that follows the EFI Driver Model and uses \r
+  the Int86() or FarCall() services of the Legacy Bios Protocol to produce\r
+  a standard UEFI I/O Protocol.\r
+\r
+Copyright (c) 2006 - 2010, Intel Corporation. All rights reserved.<BR>\r
+\r
+This program and the accompanying materials\r
+are licensed and made available under the terms and conditions\r
+of the BSD License which accompanies this distribution.  The\r
+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
+**/\r
+\r
+#ifndef _LEGACY_BIOS_H_\r
+#define _LEGACY_BIOS_H_\r
+\r
+///\r
+/// The Global ID for the Legacy BIOS GUID that must be installed onto the ImageHandle \r
+/// of any module follows the EFI Driver Model and uses the Int86() or FarCall() \r
+/// services of the Legacy BIOS Protocol to produce a standard UEFI I/O Protocol.\r
+///\r
+#define EFI_LEGACY_BIOS_GUID \\r
+  { \\r
+    0x2e3044ac, 0x879f, 0x490f, {0x97, 0x60, 0xbb, 0xdf, 0xaf, 0x69, 0x5f, 0x50 } \\r
+  }\r
+\r
+extern EFI_GUID gEfiLegacyBiosGuid;\r
+\r
+#endif\r