]> git.proxmox.com Git - mirror_edk2.git/blobdiff - IntelFrameworkPkg/Include/Protocol/LegacyBiosPlatform.h
1) Add Include/Framework/BootScript.h that contains defines shared between Boot Scrip...
[mirror_edk2.git] / IntelFrameworkPkg / Include / Protocol / LegacyBiosPlatform.h
index 4b39f852808cb5189afa550c021db220e56dfed2..0d4827104a29e7cd9777f41b7ac5500912895853 100644 (file)
@@ -4,7 +4,7 @@
   the Legacy BIOS protocol is generic and consumes this protocol.\r
   A driver that matches the Legacy16 produces this protocol\r
 \r
-  Copyright (c) 2007,2009  Intel Corporation\r
+  Copyright (c) 2007 - 2009  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
@@ -13,8 +13,6 @@
   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:  LegacyBiosPlatform.h\r
-\r
   @par Revision Reference:\r
   This protocol is defined in Framework for EFI Compatibility Support Module spec\r
   Version 0.97.\r
 #ifndef _EFI_LEGACY_BIOS_PLATFORM_H_\r
 #define _EFI_LEGACY_BIOS_PLATFORM_H_\r
 \r
-#include <FrameworkDxe.h>\r
+///\r
+/// Legacy BIOS Platform depends on HDD_INFO and EFI_COMPATIBILITY16_TABLE that\r
+/// are defined with the Legacy BIOS Protocol\r
+///\r
+#include <Protocol/LegacyBios.h>\r
 \r
 #define EFI_LEGACY_BIOS_PLATFORM_PROTOCOL_GUID \\r
   { \\r
@@ -166,11 +168,11 @@ typedef enum {
 /// the allocated region in 0xF0000 or 0xE0000 block after the second invocation..\r
 ///\r
 /// Note: There are two generic mechanisms by which this mode can be used.\r
-///  - Mechanism 1: This mode returns the data and the Legacy BIOS Protocol copies\r
+/// Mechanism 1: This mode returns the data and the Legacy BIOS Protocol copies\r
 /// the data into the F0000 or E0000 block in the Compatibility16 code. The\r
 /// EFI_COMPATIBILITY16_TABLE entries Oem32Segment and Oem32Offset can\r
 /// be viewed as two UINT16 entries.\r
-/// Mechanism 2: This mode directly fills in the EFI_COMPATIBILITY16_TABLE with\r
+/// Mechanism 2: This mode directly fills in the EFI_COMPATIBILITY16_TABLE with\r
 /// a pointer to the INT15 E820 region containing the 32 bit code. It returns\r
 /// EFI_UNSUPPORTED. The EFI_COMPATIBILITY16_TABLE entries,\r
 /// Oem32Segment and Oem32Offset, can be viewed as two UINT16 entries or\r
@@ -180,7 +182,7 @@ typedef enum {
 ///\r
 ///   TableSize Size of data.\r
 ///\r
-///   Location Location to place the table. 0x00 \96 Either 0xE0000 or 0xF0000 64 KB blocks.\r
+///   Location Location to place the table. 0x00 or 0xE0000 or 0xF0000 64 KB blocks.\r
 ///       Bit 0 = 1 0xF0000 64 KB block.\r
 ///       Bit 1 = 1 0xE0000 64 KB block.\r
 ///       Multiple bits can be set.\r
@@ -228,7 +230,7 @@ EfiGetPlatformBinaryOem32Data    = 3,
   ///\r
   EfiGetPlatformBinaryTpmBinary    = 4,\r
   ///\r
-  /// The mode finds the Compatibility16 \93ROM\94 image.\r
+  /// The mode finds the Compatibility16 Rom Image.\r
   ///\r
   /// The function parameters associated with this mode are:\r
   ///\r
@@ -407,11 +409,6 @@ typedef enum {
   EfiPlatformHookAfterRomInit     = 2\r
 } EFI_GET_PLATFORM_HOOK_MODE;\r
 \r
-\r
-//\r
-//\r
-//\r
-\r
 ///\r
 /// This IRQ has not been assigned to PCI.\r
 ///\r
@@ -423,11 +420,10 @@ typedef enum {
 ///\r
 /// This IRQ has been used by an SIO legacy device and cannot be used by PCI.\r
 ///\r
+#define LEGACY_USED       0xFE\r
+\r
 #pragma pack(1)\r
 \r
-//\r
-//\r
-//\r
 typedef struct {\r
   ///\r
   /// IRQ for this entry.\r