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
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
/// 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
///\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
///\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
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
///\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