1. Removed the unnecessary #include statements and include files
authoryshi8 <yshi8@6f19259b-4bc3-4df7-8a09-765794883524>
Fri, 16 Jun 2006 11:40:33 +0000 (11:40 +0000)
committeryshi8 <yshi8@6f19259b-4bc3-4df7-8a09-765794883524>
Fri, 16 Jun 2006 11:40:33 +0000 (11:40 +0000)
2. Removed the unnecessary library and include path from MSA files

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@540 6f19259b-4bc3-4df7-8a09-765794883524

127 files changed:
Tools/Source/TianoTools/Include/Base.h [deleted file]
Tools/Source/TianoTools/Include/Common/BootMode.h [deleted file]
Tools/Source/TianoTools/Include/Common/BootScript.h [deleted file]
Tools/Source/TianoTools/Include/Common/DataHubRecords.h [deleted file]
Tools/Source/TianoTools/Include/Common/Hob.h [deleted file]
Tools/Source/TianoTools/Include/Common/StatusCode.h [deleted file]
Tools/Source/TianoTools/Include/Common/StatusCodeDataTypeId.h [deleted file]
Tools/Source/TianoTools/Include/Common/Variable.h [new file with mode: 0644]
Tools/Source/TianoTools/Include/Common/WorkingBlockHeader.h [new file with mode: 0644]
Tools/Source/TianoTools/Include/Dxe.h [deleted file]
Tools/Source/TianoTools/Include/Dxe/DxeCis.h [deleted file]
Tools/Source/TianoTools/Include/Dxe/SmmCis.h [deleted file]
Tools/Source/TianoTools/Include/Guid/Acpi.h [deleted file]
Tools/Source/TianoTools/Include/Guid/DataHubRecords.h [deleted file]
Tools/Source/TianoTools/Include/Guid/DebugImageInfoTable.h [deleted file]
Tools/Source/TianoTools/Include/Guid/DxeServices.h [deleted file]
Tools/Source/TianoTools/Include/Guid/EventGroup.h [deleted file]
Tools/Source/TianoTools/Include/Guid/EventLegacyBios.h [deleted file]
Tools/Source/TianoTools/Include/Guid/FrameworkDevicePath.h [deleted file]
Tools/Source/TianoTools/Include/Guid/GlobalVariable.h [deleted file]
Tools/Source/TianoTools/Include/Guid/Gpt.h [deleted file]
Tools/Source/TianoTools/Include/Guid/HobList.h [deleted file]
Tools/Source/TianoTools/Include/Guid/MemoryAllocationHob.h [deleted file]
Tools/Source/TianoTools/Include/Guid/PcAnsi.h [deleted file]
Tools/Source/TianoTools/Include/Guid/SalSystemTable.h [deleted file]
Tools/Source/TianoTools/Include/Guid/SmBios.h [deleted file]
Tools/Source/TianoTools/Include/Guid/SmmCommunicate.h [deleted file]
Tools/Source/TianoTools/Include/Guid/SmramMemoryReserve.h [deleted file]
Tools/Source/TianoTools/Include/Guid/StatusCodeDataTypeId.h [deleted file]
Tools/Source/TianoTools/Include/IndustryStandard/Usb.h [deleted file]
Tools/Source/TianoTools/Include/Library/BaseLib.h [deleted file]
Tools/Source/TianoTools/Include/Library/BaseMemoryLib.h [deleted file]
Tools/Source/TianoTools/Include/Library/PcdLib.h [deleted file]
Tools/Source/TianoTools/Include/Protocol/AcpiSupport.h [deleted file]
Tools/Source/TianoTools/Include/Protocol/Arp.h [deleted file]
Tools/Source/TianoTools/Include/Protocol/AuthenticationInfo.h [deleted file]
Tools/Source/TianoTools/Include/Protocol/Bis.h [deleted file]
Tools/Source/TianoTools/Include/Protocol/BlockIo.h [deleted file]
Tools/Source/TianoTools/Include/Protocol/BootScriptSave.h [deleted file]
Tools/Source/TianoTools/Include/Protocol/BusSpecificDriverOverride.h [deleted file]
Tools/Source/TianoTools/Include/Protocol/ComponentName.h [deleted file]
Tools/Source/TianoTools/Include/Protocol/CpuIo.h [deleted file]
Tools/Source/TianoTools/Include/Protocol/DataHub.h [deleted file]
Tools/Source/TianoTools/Include/Protocol/DebugPort.h [deleted file]
Tools/Source/TianoTools/Include/Protocol/DebugSupport.h [deleted file]
Tools/Source/TianoTools/Include/Protocol/Decompress.h [deleted file]
Tools/Source/TianoTools/Include/Protocol/DevicePathFromText.h [deleted file]
Tools/Source/TianoTools/Include/Protocol/DevicePathToText.h [deleted file]
Tools/Source/TianoTools/Include/Protocol/DevicePathUtilities.h [deleted file]
Tools/Source/TianoTools/Include/Protocol/Dhcp4.h [deleted file]
Tools/Source/TianoTools/Include/Protocol/DiskIo.h [deleted file]
Tools/Source/TianoTools/Include/Protocol/DriverBinding.h [deleted file]
Tools/Source/TianoTools/Include/Protocol/DriverConfiguration.h [deleted file]
Tools/Source/TianoTools/Include/Protocol/DriverDiagnostics.h [deleted file]
Tools/Source/TianoTools/Include/Protocol/Ebc.h [deleted file]
Tools/Source/TianoTools/Include/Protocol/EdidActive.h [deleted file]
Tools/Source/TianoTools/Include/Protocol/EdidDiscovered.h [deleted file]
Tools/Source/TianoTools/Include/Protocol/EdidOverride.h [deleted file]
Tools/Source/TianoTools/Include/Protocol/EfiNetworkInterfaceIdentifier.h [deleted file]
Tools/Source/TianoTools/Include/Protocol/FileInfo.h [deleted file]
Tools/Source/TianoTools/Include/Protocol/FileSystemInfo.h [deleted file]
Tools/Source/TianoTools/Include/Protocol/FileSystemVolumeLabelInfo.h [deleted file]
Tools/Source/TianoTools/Include/Protocol/FirmwareVolume.h [deleted file]
Tools/Source/TianoTools/Include/Protocol/FirmwareVolumeBlock.h [deleted file]
Tools/Source/TianoTools/Include/Protocol/FirmwareVolumeDispatch.h [deleted file]
Tools/Source/TianoTools/Include/Protocol/FormBrowser.h [deleted file]
Tools/Source/TianoTools/Include/Protocol/FormCallback.h [deleted file]
Tools/Source/TianoTools/Include/Protocol/GraphicsOutput.h [deleted file]
Tools/Source/TianoTools/Include/Protocol/Hash.h [deleted file]
Tools/Source/TianoTools/Include/Protocol/IP4.h [deleted file]
Tools/Source/TianoTools/Include/Protocol/IP4Config.h [deleted file]
Tools/Source/TianoTools/Include/Protocol/IScsiInitatorName.h [deleted file]
Tools/Source/TianoTools/Include/Protocol/IdeControllerInit.h [deleted file]
Tools/Source/TianoTools/Include/Protocol/IncompatiblePciDeviceSupport.h [deleted file]
Tools/Source/TianoTools/Include/Protocol/Legacy8259.h [deleted file]
Tools/Source/TianoTools/Include/Protocol/LegacyBios.h [deleted file]
Tools/Source/TianoTools/Include/Protocol/LegacyBiosPlatform.h [deleted file]
Tools/Source/TianoTools/Include/Protocol/LegacyInterrupt.h [deleted file]
Tools/Source/TianoTools/Include/Protocol/LegacyRegion.h [deleted file]
Tools/Source/TianoTools/Include/Protocol/LoadFile.h [deleted file]
Tools/Source/TianoTools/Include/Protocol/LoadedImage.h [deleted file]
Tools/Source/TianoTools/Include/Protocol/ManagedNetwork.h [deleted file]
Tools/Source/TianoTools/Include/Protocol/Mtftp4.h [deleted file]
Tools/Source/TianoTools/Include/Protocol/Pcd.h [deleted file]
Tools/Source/TianoTools/Include/Protocol/PciHostBridgeResourceAllocation.h [deleted file]
Tools/Source/TianoTools/Include/Protocol/PciHotPlugInit.h [deleted file]
Tools/Source/TianoTools/Include/Protocol/PciIo.h [deleted file]
Tools/Source/TianoTools/Include/Protocol/PciPlatform.h [deleted file]
Tools/Source/TianoTools/Include/Protocol/PciRootBridgeIo.h [deleted file]
Tools/Source/TianoTools/Include/Protocol/PlatformDriverOverride.h [deleted file]
Tools/Source/TianoTools/Include/Protocol/PxeBaseCode.h [deleted file]
Tools/Source/TianoTools/Include/Protocol/PxeBaseCodeCallBack.h [deleted file]
Tools/Source/TianoTools/Include/Protocol/ScsiIo.h [deleted file]
Tools/Source/TianoTools/Include/Protocol/ScsiPassThru.h [deleted file]
Tools/Source/TianoTools/Include/Protocol/ScsiPassThruExt.h [deleted file]
Tools/Source/TianoTools/Include/Protocol/SectionExtraction.h [deleted file]
Tools/Source/TianoTools/Include/Protocol/SerialIo.h [deleted file]
Tools/Source/TianoTools/Include/Protocol/ServiceBinding.h [deleted file]
Tools/Source/TianoTools/Include/Protocol/SimpleFileSystem.h [deleted file]
Tools/Source/TianoTools/Include/Protocol/SimpleNetwork.h [deleted file]
Tools/Source/TianoTools/Include/Protocol/SimplePointer.h [deleted file]
Tools/Source/TianoTools/Include/Protocol/SimpleTextIn.h [deleted file]
Tools/Source/TianoTools/Include/Protocol/SimpleTextOut.h [deleted file]
Tools/Source/TianoTools/Include/Protocol/Smbus.h [deleted file]
Tools/Source/TianoTools/Include/Protocol/SmmAccess.h [deleted file]
Tools/Source/TianoTools/Include/Protocol/SmmBase.h [deleted file]
Tools/Source/TianoTools/Include/Protocol/SmmControl.h [deleted file]
Tools/Source/TianoTools/Include/Protocol/SmmGpiDispatch.h [deleted file]
Tools/Source/TianoTools/Include/Protocol/SmmIchnDispatch.h [deleted file]
Tools/Source/TianoTools/Include/Protocol/SmmPeriodicTimerDispatch.h [deleted file]
Tools/Source/TianoTools/Include/Protocol/SmmPowerButtonDispatch.h [deleted file]
Tools/Source/TianoTools/Include/Protocol/SmmStandbyButtonDispatch.h [deleted file]
Tools/Source/TianoTools/Include/Protocol/SmmStatusCode.h [deleted file]
Tools/Source/TianoTools/Include/Protocol/SmmSwDispatch.h [deleted file]
Tools/Source/TianoTools/Include/Protocol/SmmSxDispatch.h [deleted file]
Tools/Source/TianoTools/Include/Protocol/SmmUsbDispatch.h [deleted file]
Tools/Source/TianoTools/Include/Protocol/TapeIo.h [deleted file]
Tools/Source/TianoTools/Include/Protocol/Tcp4.h [deleted file]
Tools/Source/TianoTools/Include/Protocol/Udp4.h [deleted file]
Tools/Source/TianoTools/Include/Protocol/UnicodeCollation.h [deleted file]
Tools/Source/TianoTools/Include/Protocol/Usb2HostController.h [deleted file]
Tools/Source/TianoTools/Include/Protocol/UsbHostController.h [deleted file]
Tools/Source/TianoTools/Include/Protocol/UsbIo.h [deleted file]
Tools/Source/TianoTools/Include/ToBeRemoved/Variable.h [deleted file]
Tools/Source/TianoTools/Include/ToBeRemoved/WorkingBlockHeader.h [deleted file]
Tools/Source/TianoTools/Include/Uefi/EfiPxe.h [deleted file]
Tools/Source/TianoTools/Include/Uefi/UefiSpec.h [deleted file]

diff --git a/Tools/Source/TianoTools/Include/Base.h b/Tools/Source/TianoTools/Include/Base.h
deleted file mode 100644 (file)
index 99ed686..0000000
+++ /dev/null
@@ -1,28 +0,0 @@
-/** @file\r
-\r
-  Root include file for Mde Package Base type modules\r
-\r
-  This is the include file for any module of type base. Base modules only use \r
-  types defined via this include file and can be ported easily to any \r
-  environment. There are a set of base libraries in the Mde Package that can\r
-  be used to implement base modules.\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
-**/\r
-\r
-\r
-#ifndef __BASE_H__\r
-#define __BASE_H__\r
-\r
-#include <Common/BaseTypes.h>\r
-#include <Common/EfiImage.h>\r
-\r
-#endif\r
diff --git a/Tools/Source/TianoTools/Include/Common/BootMode.h b/Tools/Source/TianoTools/Include/Common/BootMode.h
deleted file mode 100644 (file)
index 2f2c516..0000000
+++ /dev/null
@@ -1,37 +0,0 @@
-/** @file\r
-  This includes for the Boot mode information.\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:  BootMode.h\r
-\r
-  @par Revision Reference:\r
-  These definitions are from PeiCis 0.91 spec.\r
-\r
-**/\r
-\r
-#ifndef __EFI_BOOT_MODE_H__\r
-#define __EFI_BOOT_MODE_H__\r
-\r
-#define BOOT_WITH_FULL_CONFIGURATION                  0x00\r
-#define BOOT_WITH_MINIMAL_CONFIGURATION               0x01\r
-#define BOOT_ASSUMING_NO_CONFIGURATION_CHANGES        0x02\r
-#define BOOT_WITH_FULL_CONFIGURATION_PLUS_DIAGNOSTICS 0x03\r
-#define BOOT_WITH_DEFAULT_SETTINGS                    0x04\r
-#define BOOT_ON_S4_RESUME                             0x05\r
-#define BOOT_ON_S5_RESUME                             0x06\r
-#define BOOT_ON_S2_RESUME                             0x10\r
-#define BOOT_ON_S3_RESUME                             0x11\r
-#define BOOT_ON_FLASH_UPDATE                          0x12\r
-#define BOOT_IN_RECOVERY_MODE                         0x20\r
-#define BOOT_IN_RECOVERY_MODE_MASK                    0x40\r
-#define BOOT_SPECIAL_MASK                             0x80\r
-\r
-#endif\r
diff --git a/Tools/Source/TianoTools/Include/Common/BootScript.h b/Tools/Source/TianoTools/Include/Common/BootScript.h
deleted file mode 100644 (file)
index 12bcc5b..0000000
+++ /dev/null
@@ -1,198 +0,0 @@
-/** @file\r
-  This file declares the related BootScript definitions and some SMBus definitions.\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:  BootScript.h\r
-\r
-  @par Revision Reference:\r
-  These definitions are defined in BootScript Spec 0.91 and SmBus PPI spec 0.9.\r
-\r
-**/\r
-\r
-#ifndef _EFI_SCRIPT_H_\r
-#define _EFI_SCRIPT_H_\r
-\r
-#define EFI_ACPI_S3_RESUME_SCRIPT_TABLE               0x00\r
-\r
-//\r
-// Boot Script Opcode Definitions\r
-//\r
-\r
-#define EFI_BOOT_SCRIPT_IO_WRITE_OPCODE               0x00\r
-#define EFI_BOOT_SCRIPT_IO_READ_WRITE_OPCODE          0x01\r
-#define EFI_BOOT_SCRIPT_MEM_WRITE_OPCODE              0x02\r
-#define EFI_BOOT_SCRIPT_MEM_READ_WRITE_OPCODE         0x03\r
-#define EFI_BOOT_SCRIPT_PCI_CONFIG_WRITE_OPCODE       0x04\r
-#define EFI_BOOT_SCRIPT_PCI_CONFIG_READ_WRITE_OPCODE  0x05\r
-#define EFI_BOOT_SCRIPT_SMBUS_EXECUTE_OPCODE          0x06\r
-#define EFI_BOOT_SCRIPT_STALL_OPCODE                  0x07\r
-#define EFI_BOOT_SCRIPT_DISPATCH_OPCODE               0x08\r
-\r
-#define EFI_BOOT_SCRIPT_TABLE_OPCODE                  0xAA\r
-#define EFI_BOOT_SCRIPT_TERMINATE_OPCODE              0xFF\r
-\r
-//\r
-// EFI Boot Script Width\r
-//\r
-typedef enum {\r
-  EfiBootScriptWidthUint8,\r
-  EfiBootScriptWidthUint16,\r
-  EfiBootScriptWidthUint32,\r
-  EfiBootScriptWidthUint64,\r
-  EfiBootScriptWidthFifoUint8,\r
-  EfiBootScriptWidthFifoUint16,\r
-  EfiBootScriptWidthFifoUint32,\r
-  EfiBootScriptWidthFifoUint64,\r
-  EfiBootScriptWidthFillUint8,\r
-  EfiBootScriptWidthFillUint16,\r
-  EfiBootScriptWidthFillUint32,\r
-  EfiBootScriptWidthFillUint64,\r
-  EfiBootScriptWidthMaximum\r
-} EFI_BOOT_SCRIPT_WIDTH;\r
-\r
-//\r
-// EFI Smbus Device Address, Smbus Device Command, Smbus Operation\r
-//\r
-typedef struct {\r
-  UINTN SmbusDeviceAddress : 7;\r
-} EFI_SMBUS_DEVICE_ADDRESS;\r
-\r
-typedef UINTN EFI_SMBUS_DEVICE_COMMAND;\r
-\r
-typedef enum _EFI_SMBUS_OPERATION\r
-{\r
-  EfiSmbusQuickRead,\r
-  EfiSmbusQuickWrite,\r
-  EfiSmbusReceiveByte,\r
-  EfiSmbusSendByte,\r
-  EfiSmbusReadByte,\r
-  EfiSmbusWriteByte,\r
-  EfiSmbusReadWord,\r
-  EfiSmbusWriteWord,\r
-  EfiSmbusReadBlock,\r
-  EfiSmbusWriteBlock,\r
-  EfiSmbusProcessCall,\r
-  EfiSmbusBWBRProcessCall\r
-} EFI_SMBUS_OPERATION;\r
-\r
-//\r
-// Boot Script Opcode Header Structure Definitions\r
-//\r
-\r
-typedef struct {\r
-  UINT16  OpCode;\r
-  UINT8   Length;\r
-} EFI_BOOT_SCRIPT_GENERIC_HEADER;\r
-\r
-typedef struct {\r
-  UINT16  OpCode;\r
-  UINT8   Length;\r
-  UINT16  Version;\r
-  UINT32  TableLength;\r
-  UINT16  Reserved[2];\r
-} EFI_BOOT_SCRIPT_TABLE_HEADER;\r
-\r
-typedef struct {\r
-  UINT16                OpCode;\r
-  UINT8                 Length;\r
-  EFI_BOOT_SCRIPT_WIDTH Width;\r
-} EFI_BOOT_SCRIPT_COMMON_HEADER;\r
-\r
-typedef struct {\r
-  UINT16                OpCode;\r
-  UINT8                 Length;\r
-  EFI_BOOT_SCRIPT_WIDTH Width;\r
-  UINTN                 Count;\r
-  UINT64                Address;\r
-} EFI_BOOT_SCRIPT_IO_WRITE;\r
-\r
-typedef struct {\r
-  UINT16                OpCode;\r
-  UINT8                 Length;\r
-  EFI_BOOT_SCRIPT_WIDTH Width;\r
-  UINT64                Address;\r
-} EFI_BOOT_SCRIPT_IO_READ_WRITE;\r
-\r
-typedef struct {\r
-  UINT16                OpCode;\r
-  UINT8                 Length;\r
-  EFI_BOOT_SCRIPT_WIDTH Width;\r
-  UINTN                 Count;\r
-  UINT64                Address;\r
-} EFI_BOOT_SCRIPT_MEM_WRITE;\r
-\r
-typedef struct {\r
-  UINT16                OpCode;\r
-  UINT8                 Length;\r
-  EFI_BOOT_SCRIPT_WIDTH Width;\r
-  UINT64                Address;\r
-} EFI_BOOT_SCRIPT_MEM_READ_WRITE;\r
-\r
-typedef struct {\r
-  UINT16                OpCode;\r
-  UINT8                 Length;\r
-  EFI_BOOT_SCRIPT_WIDTH Width;\r
-  UINTN                 Count;\r
-  UINT64                Address;\r
-} EFI_BOOT_SCRIPT_PCI_CONFIG_WRITE;\r
-\r
-typedef struct {\r
-  UINT16                OpCode;\r
-  UINT8                 Length;\r
-  EFI_BOOT_SCRIPT_WIDTH Width;\r
-  UINT64                Address;\r
-} EFI_BOOT_SCRIPT_PCI_CONFIG_READ_WRITE;\r
-\r
-typedef struct {\r
-  UINT16                    OpCode;\r
-  UINT8                     Length;\r
-  EFI_SMBUS_DEVICE_ADDRESS  SlaveAddress;\r
-  EFI_SMBUS_DEVICE_COMMAND  Command;\r
-  EFI_SMBUS_OPERATION       Operation;\r
-  BOOLEAN                   PecCheck;\r
-  UINTN                     DataSize;\r
-} EFI_BOOT_SCRIPT_SMBUS_EXECUTE;\r
-\r
-typedef struct {\r
-  UINT16  OpCode;\r
-  UINT8   Length;\r
-  UINTN   Duration;\r
-} EFI_BOOT_SCRIPT_STALL;\r
-\r
-typedef struct {\r
-  UINT16                OpCode;\r
-  UINT8                 Length;\r
-  EFI_PHYSICAL_ADDRESS  EntryPoint;\r
-} EFI_BOOT_SCRIPT_DISPATCH;\r
-\r
-typedef struct {\r
-  UINT16  OpCode;\r
-  UINT8   Length;\r
-} EFI_BOOT_SCRIPT_TERMINATE;\r
-\r
-typedef union {\r
-  EFI_BOOT_SCRIPT_GENERIC_HEADER        *Header;\r
-  EFI_BOOT_SCRIPT_TABLE_HEADER          *TableInfo;\r
-  EFI_BOOT_SCRIPT_IO_WRITE              *IoWrite;\r
-  EFI_BOOT_SCRIPT_IO_READ_WRITE         *IoReadWrite;\r
-  EFI_BOOT_SCRIPT_MEM_WRITE             *MemWrite;\r
-  EFI_BOOT_SCRIPT_MEM_READ_WRITE        *MemReadWrite;\r
-  EFI_BOOT_SCRIPT_PCI_CONFIG_WRITE      *PciWrite;\r
-  EFI_BOOT_SCRIPT_PCI_CONFIG_READ_WRITE *PciReadWrite;\r
-  EFI_BOOT_SCRIPT_SMBUS_EXECUTE         *SmbusExecute;\r
-  EFI_BOOT_SCRIPT_STALL                 *Stall;\r
-  EFI_BOOT_SCRIPT_DISPATCH              *Dispatch;\r
-  EFI_BOOT_SCRIPT_TERMINATE             *Terminate;\r
-  EFI_BOOT_SCRIPT_COMMON_HEADER         *CommonHeader;\r
-  UINT8                                 *Raw;\r
-} BOOT_SCRIPT_POINTERS;\r
-\r
-#endif\r
diff --git a/Tools/Source/TianoTools/Include/Common/DataHubRecords.h b/Tools/Source/TianoTools/Include/Common/DataHubRecords.h
deleted file mode 100644 (file)
index 0bc8f23..0000000
+++ /dev/null
@@ -1,1847 +0,0 @@
-/** @file\r
-  This file defines GUIDs and associated data structures for records \r
-  posted to the Data Hub. \r
-  The producers of these records use these definitions to construct \r
-  records.\r
-  The consumers of these records use these definitions to retrieve,\r
-  filter and parse records.\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:  DataHubRecords.h\r
-\r
-  @par Revision Reference:\r
-  DataHubRecord.h include all data hub sub class defitions from Cache subclass \r
-  spec 0.9, DataHub SubClass spec 0.9, Memory SubClass Spec 0.9, Processor \r
-  Subclass spec 0.9,Misc SubClass spec 0.9.\r
-\r
-**/\r
-\r
-#ifndef _DATAHUB_RECORDS_H_\r
-#define _DATAHUB_RECORDS_H_\r
-\r
-#define EFI_PROCESSOR_SUBCLASS_VERSION    0x00010000\r
-\r
-\r
-#pragma pack(1)\r
-\r
-typedef struct _USB_PORT_DEVICE_PATH {\r
-  ACPI_HID_DEVICE_PATH      PciRootBridgeDevicePath;\r
-  PCI_DEVICE_PATH           PciBusDevicePath;\r
-  EFI_DEVICE_PATH_PROTOCOL  EndDevicePath;\r
-} USB_PORT_DEVICE_PATH;\r
-\r
-//\r
-// IDE\r
-//\r
-typedef struct _IDE_DEVICE_PATH {\r
-  ACPI_HID_DEVICE_PATH      PciRootBridgeDevicePath;\r
-  PCI_DEVICE_PATH           PciBusDevicePath;\r
-  EFI_DEVICE_PATH_PROTOCOL  EndDevicePath;\r
-} IDE_DEVICE_PATH;\r
-\r
-//\r
-// RMC Connector\r
-//\r
-typedef struct _RMC_CONN_DEVICE_PATH {\r
-  ACPI_HID_DEVICE_PATH      PciRootBridgeDevicePath;\r
-  PCI_DEVICE_PATH           PciBridgeDevicePath;\r
-  PCI_DEVICE_PATH           PciBusDevicePath;\r
-  EFI_DEVICE_PATH_PROTOCOL  EndDevicePath;\r
-} RMC_CONN_DEVICE_PATH;\r
-\r
-//\r
-// RIDE\r
-//\r
-typedef struct _RIDE_DEVICE_PATH {\r
-  ACPI_HID_DEVICE_PATH      PciRootBridgeDevicePath;\r
-  PCI_DEVICE_PATH           PciBridgeDevicePath;\r
-  PCI_DEVICE_PATH           PciBusDevicePath;\r
-  EFI_DEVICE_PATH_PROTOCOL  EndDevicePath;\r
-} RIDE_DEVICE_PATH;\r
-\r
-//\r
-// Gigabit NIC\r
-//\r
-typedef struct _GB_NIC_DEVICE_PATH {\r
-  ACPI_HID_DEVICE_PATH      PciRootBridgeDevicePath;\r
-  PCI_DEVICE_PATH           PciBridgeDevicePath;\r
-  PCI_DEVICE_PATH           PciXBridgeDevicePath;\r
-  PCI_DEVICE_PATH           PciXBusDevicePath;\r
-  EFI_DEVICE_PATH_PROTOCOL  EndDevicePath;\r
-} GB_NIC_DEVICE_PATH;\r
-\r
-//\r
-// P/S2 Connector\r
-//\r
-typedef struct _PS2_CONN_DEVICE_PATH {\r
-  ACPI_HID_DEVICE_PATH      PciRootBridgeDevicePath;\r
-  PCI_DEVICE_PATH           LpcBridgeDevicePath;\r
-  ACPI_HID_DEVICE_PATH      LpcBusDevicePath;\r
-  EFI_DEVICE_PATH_PROTOCOL  EndDevicePath;\r
-} PS2_CONN_DEVICE_PATH;\r
-\r
-//\r
-// Serial Port Connector\r
-//\r
-typedef struct _SERIAL_CONN_DEVICE_PATH {\r
-  ACPI_HID_DEVICE_PATH      PciRootBridgeDevicePath;\r
-  PCI_DEVICE_PATH           LpcBridgeDevicePath;\r
-  ACPI_HID_DEVICE_PATH      LpcBusDevicePath;\r
-  EFI_DEVICE_PATH_PROTOCOL  EndDevicePath;\r
-} SERIAL_CONN_DEVICE_PATH;\r
-\r
-//\r
-// Parallel Port Connector\r
-//\r
-typedef struct _PARALLEL_CONN_DEVICE_PATH {\r
-  ACPI_HID_DEVICE_PATH      PciRootBridgeDevicePath;\r
-  PCI_DEVICE_PATH           LpcBridgeDevicePath;\r
-  ACPI_HID_DEVICE_PATH      LpcBusDevicePath;\r
-  EFI_DEVICE_PATH_PROTOCOL  EndDevicePath;\r
-} PARALLEL_CONN_DEVICE_PATH;\r
-\r
-//\r
-// Floopy Connector\r
-//\r
-typedef struct _FLOOPY_CONN_DEVICE_PATH {\r
-  ACPI_HID_DEVICE_PATH      PciRootBridgeDevicePath;\r
-  PCI_DEVICE_PATH           LpcBridgeDevicePath;\r
-  ACPI_HID_DEVICE_PATH      LpcBusDevicePath;\r
-  EFI_DEVICE_PATH_PROTOCOL  EndDevicePath;\r
-} FLOOPY_CONN_DEVICE_PATH;\r
-\r
-typedef union _EFI_MISC_PORT_DEVICE_PATH {\r
-  USB_PORT_DEVICE_PATH      UsbDevicePath;\r
-  IDE_DEVICE_PATH           IdeDevicePath;\r
-  RMC_CONN_DEVICE_PATH      RmcConnDevicePath;\r
-  RIDE_DEVICE_PATH          RideDevicePath;\r
-  GB_NIC_DEVICE_PATH        GbNicDevicePath;\r
-  PS2_CONN_DEVICE_PATH      Ps2ConnDevicePath;\r
-  SERIAL_CONN_DEVICE_PATH   SerialConnDevicePath;\r
-  PARALLEL_CONN_DEVICE_PATH ParallelConnDevicePath;\r
-  FLOOPY_CONN_DEVICE_PATH   FloppyConnDevicePath;\r
-} EFI_MISC_PORT_DEVICE_PATH;\r
-\r
-#pragma pack()\r
-\r
-//\r
-// String Token Definition\r
-//\r
-#define EFI_STRING_TOKEN    UINT16\r
-\r
-typedef struct {\r
-  UINT32    Version;\r
-  UINT32    HeaderSize;\r
-  UINT16    Instance;\r
-  UINT16    SubInstance;\r
-  UINT32    RecordType;    \r
-} EFI_SUBCLASS_TYPE1_HEADER;\r
-\r
-typedef struct {\r
-  EFI_GUID    ProducerName;\r
-  UINT16      Instance;\r
-  UINT16      SubInstance;\r
-} EFI_INTER_LINK_DATA;\r
-\r
-\r
-//\r
-// EXP data\r
-//\r
-\r
-typedef struct {\r
-  UINT16    Value;\r
-  UINT16    Exponent;\r
-} EFI_EXP_BASE2_DATA;\r
-\r
-\r
-typedef EFI_EXP_BASE10_DATA   EFI_PROCESSOR_MAX_CORE_FREQUENCY_DATA;\r
-\r
-typedef EFI_EXP_BASE10_DATA   EFI_PROCESSOR_MAX_FSB_FREQUENCY_DATA;\r
-\r
-typedef EFI_EXP_BASE10_DATA   EFI_PROCESSOR_CORE_FREQUENCY_DATA;\r
-\r
-typedef EFI_EXP_BASE10_DATA  *EFI_PROCESSOR_CORE_FREQUENCY_LIST_DATA;\r
-\r
-typedef EFI_EXP_BASE10_DATA  *EFI_PROCESSOR_FSB_FREQUENCY_LIST_DATA;\r
-\r
-typedef EFI_EXP_BASE10_DATA   EFI_PROCESSOR_FSB_FREQUENCY_DATA;\r
-\r
-typedef STRING_REF            EFI_PROCESSOR_VERSION_DATA;\r
-\r
-typedef STRING_REF            EFI_PROCESSOR_MANUFACTURER_DATA;\r
-\r
-typedef STRING_REF            EFI_PROCESSOR_SERIAL_NUMBER_DATA;\r
-\r
-typedef STRING_REF            EFI_PROCESSOR_ASSET_TAG_DATA;\r
-\r
-typedef struct {\r
-  UINT32  ProcessorSteppingId:4;\r
-  UINT32  ProcessorModel:     4;\r
-  UINT32  ProcessorFamily:    4;\r
-  UINT32  ProcessorType:      2;\r
-  UINT32  ProcessorReserved1: 2;\r
-  UINT32  ProcessorXModel:    4;\r
-  UINT32  ProcessorXFamily:   8;\r
-  UINT32  ProcessorReserved2: 4;\r
-} EFI_PROCESSOR_SIGNATURE;\r
-\r
-typedef struct {\r
-  UINT32  ProcessorBrandIndex :8;\r
-  UINT32  ProcessorClflush    :8;\r
-  UINT32  ProcessorReserved   :8;\r
-  UINT32  ProcessorDfltApicId :8;\r
-} EFI_PROCESSOR_MISC_INFO;\r
-\r
-typedef struct {\r
-  UINT32  ProcessorFpu:       1;\r
-  UINT32  ProcessorVme:       1;\r
-  UINT32  ProcessorDe:        1;\r
-  UINT32  ProcessorPse:       1;\r
-  UINT32  ProcessorTsc:       1;\r
-  UINT32  ProcessorMsr:       1;\r
-  UINT32  ProcessorPae:       1;\r
-  UINT32  ProcessorMce:       1;\r
-  UINT32  ProcessorCx8:       1;\r
-  UINT32  ProcessorApic:      1;\r
-  UINT32  ProcessorReserved1: 1;\r
-  UINT32  ProcessorSep:       1;\r
-  UINT32  ProcessorMtrr:      1;\r
-  UINT32  ProcessorPge:       1;\r
-  UINT32  ProcessorMca:       1;\r
-  UINT32  ProcessorCmov:      1;\r
-  UINT32  ProcessorPat:       1;\r
-  UINT32  ProcessorPse36:     1;\r
-  UINT32  ProcessorPsn:       1;\r
-  UINT32  ProcessorClfsh:     1;\r
-  UINT32  ProcessorReserved2: 1;\r
-  UINT32  ProcessorDs:        1;\r
-  UINT32  ProcessorAcpi:      1;\r
-  UINT32  ProcessorMmx:       1;\r
-  UINT32  ProcessorFxsr:      1;\r
-  UINT32  ProcessorSse:       1;\r
-  UINT32  ProcessorSse2:      1;\r
-  UINT32  ProcessorSs:        1;\r
-  UINT32  ProcessorReserved3: 1;\r
-  UINT32  ProcessorTm:        1;\r
-  UINT32  ProcessorReserved4: 2;\r
-} EFI_PROCESSOR_FEATURE_FLAGS;\r
-\r
-typedef struct {\r
-  EFI_PROCESSOR_SIGNATURE     Signature;\r
-  EFI_PROCESSOR_MISC_INFO     MiscInfo;\r
-  UINT32                      Reserved;\r
-  EFI_PROCESSOR_FEATURE_FLAGS FeatureFlags;\r
-} EFI_PROCESSOR_ID_DATA;\r
-\r
-typedef enum {\r
-  EfiProcessorOther    = 1,\r
-  EfiProcessorUnknown  = 2,\r
-  EfiCentralProcessor  = 3,\r
-  EfiMathProcessor     = 4,\r
-  EfiDspProcessor      = 5,\r
-  EfiVideoProcessor    = 6\r
-} EFI_PROCESSOR_TYPE_DATA;\r
-\r
-typedef enum {\r
-  EfiProcessorFamilyOther               = 1,\r
-  EfiProcessorFamilyUnknown             = 2,\r
-  EfiProcessorFamily8086                = 3,\r
-  EfiProcessorFamily80286               = 4,\r
-  EfiProcessorFamilyIntel386            = 5,\r
-  EfiProcessorFamilyIntel486            = 6,\r
-  EfiProcessorFamily8087                = 7,\r
-  EfiProcessorFamily80287               = 8,\r
-  EfiProcessorFamily80387               = 9,\r
-  EfiProcessorFamily80487               = 0x0A,\r
-  EfiProcessorFamilyPentium             = 0x0B,\r
-  EfiProcessorFamilyPentiumPro          = 0x0C,\r
-  EfiProcessorFamilyPentiumII           = 0x0D,\r
-  EfiProcessorFamilyPentiumMMX          = 0x0E,\r
-  EfiProcessorFamilyCeleron             = 0x0F,\r
-  EfiProcessorFamilyPentiumIIXeon       = 0x10,\r
-  EfiProcessorFamilyPentiumIII          = 0x11,\r
-  EfiProcessorFamilyM1                  = 0x12,\r
-  EfiProcessorFamilyM1Reserved1         = 0x13,\r
-  EfiProcessorFamilyM1Reserved2         = 0x14,\r
-  EfiProcessorFamilyM1Reserved3         = 0x15,\r
-  EfiProcessorFamilyM1Reserved4         = 0x16,\r
-  EfiProcessorFamilyM1Reserved5         = 0x17,\r
-  EfiProcessorFamilyM1Reserved6         = 0x18,\r
-  EfiProcessorFamilyK5                  = 0x19,\r
-  EfiProcessorFamilyK5Reserved1         = 0x1A,\r
-  EfiProcessorFamilyK5Reserved2         = 0x1B,\r
-  EfiProcessorFamilyK5Reserved3         = 0x1C,\r
-  EfiProcessorFamilyK5Reserved4         = 0x1D,\r
-  EfiProcessorFamilyK5Reserved5         = 0x1E,\r
-  EfiProcessorFamilyK5Reserved6         = 0x1F,\r
-  EfiProcessorFamilyPowerPC             = 0x20,\r
-  EfiProcessorFamilyPowerPC601          = 0x21,\r
-  EfiProcessorFamilyPowerPC603          = 0x22,\r
-  EfiProcessorFamilyPowerPC603Plus      = 0x23,\r
-  EfiProcessorFamilyPowerPC604          = 0x24,\r
-  EfiProcessorFamilyAlpha2              = 0x30,\r
-  EfiProcessorFamilyMips                = 0x40,\r
-  EfiProcessorFamilySparc               = 0x50,\r
-  EfiProcessorFamily68040               = 0x60,\r
-  EfiProcessorFamily68xxx               = 0x61,\r
-  EfiProcessorFamily68000               = 0x62,\r
-  EfiProcessorFamily68010               = 0x63,\r
-  EfiProcessorFamily68020               = 0x64,\r
-  EfiProcessorFamily68030               = 0x65,\r
-  EfiProcessorFamilyHobbit              = 0x70,\r
-  EfiProcessorFamilyWeitek              = 0x80,\r
-  EfiProcessorFamilyPARISC              = 0x90,\r
-  EfiProcessorFamilyV30                 = 0xA0,\r
-  EfiProcessorFamilyPentiumIIIXeon      = 0xB0,\r
-  EfiProcessorFamilyPentiumIIISpeedStep = 0xB1,\r
-  EfiProcessorFamilyPentium4            = 0xB2,\r
-  EfiProcessorFamilyIntelXeon           = 0xB3,\r
-  EfiProcessorFamilyAS400               = 0xB4,\r
-  EfiProcessorFamilyIntelXeonMP         = 0xB5,\r
-  EfiProcessorFamilyAMDAthlonXP         = 0xB6,\r
-  EfiProcessorFamilyAMDAthlonMP         = 0xB7,\r
-  EfiProcessorFamilyIBM390              = 0xC8,\r
-  EfiProcessorFamilyG4                  = 0xC9,\r
-  EfiProcessorFamilyG5                  = 0xCA,\r
-  EfiProcessorFamilyi860                = 0xFA,\r
-  EfiProcessorFamilyi960                = 0xFB\r
-} EFI_PROCESSOR_FAMILY_DATA;\r
-\r
-typedef EFI_EXP_BASE10_DATA EFI_PROCESSOR_VOLTAGE_DATA;\r
-\r
-typedef EFI_PHYSICAL_ADDRESS EFI_PROCESSOR_APIC_BASE_ADDRESS_DATA;\r
-\r
-typedef UINT32 EFI_PROCESSOR_APIC_ID_DATA;\r
-\r
-typedef UINT32 EFI_PROCESSOR_APIC_VERSION_NUMBER_DATA;\r
-\r
-typedef enum {\r
-  EfiProcessorIa32Microcode    = 1,\r
-  EfiProcessorIpfPalAMicrocode = 2,\r
-  EfiProcessorIpfPalBMicrocode = 3\r
-} EFI_PROCESSOR_MICROCODE_TYPE;\r
-\r
-typedef struct {\r
-  EFI_PROCESSOR_MICROCODE_TYPE  ProcessorMicrocodeType;\r
-  UINT32                        ProcessorMicrocodeRevisionNumber;\r
-} EFI_PROCESSOR_MICROCODE_REVISION_DATA;\r
-\r
-typedef struct {\r
-  UINT32      CpuStatus                 :3;\r
-  UINT32      Reserved1                 :3;\r
-  UINT32      SocketPopulated           :1;\r
-  UINT32      Reserved2                 :1;\r
-  UINT32      ApicEnable                :1;\r
-  UINT32      BootApplicationProcessor  :1;\r
-  UINT32      Reserved3                 :22;\r
-} EFI_PROCESSOR_STATUS_DATA;\r
-\r
-typedef enum {\r
-  EfiCpuStatusUnknown        = 0,\r
-  EfiCpuStatusEnabled        = 1,\r
-  EfiCpuStatusDisabledByUser = 2,\r
-  EfiCpuStatusDisabledbyBios = 3,\r
-  EfiCpuStatusIdle           = 4,\r
-  EfiCpuStatusOther          = 7\r
-} EFI_CPU_STATUS;\r
-\r
-typedef enum {\r
-  EfiProcessorSocketOther            = 1,\r
-  EfiProcessorSocketUnknown          = 2,\r
-  EfiProcessorSocketDaughterBoard    = 3,\r
-  EfiProcessorSocketZIF              = 4,\r
-  EfiProcessorSocketReplacePiggyBack = 5,\r
-  EfiProcessorSocketNone             = 6,\r
-  EfiProcessorSocketLIF              = 7,\r
-  EfiProcessorSocketSlot1            = 8,\r
-  EfiProcessorSocketSlot2            = 9,\r
-  EfiProcessorSocket370Pin           = 0xA,\r
-  EfiProcessorSocketSlotA            = 0xB,\r
-  EfiProcessorSocketSlotM            = 0xC,\r
-  EfiProcessorSocket423              = 0xD,\r
-  EfiProcessorSocketA462             = 0xE,\r
-  EfiProcessorSocket478              = 0xF,\r
-  EfiProcessorSocket754              = 0x10,\r
-  EfiProcessorSocket940              = 0x11,\r
-  EfiProcessorSocketLG775            = 0x12\r
-\r
-} EFI_PROCESSOR_SOCKET_TYPE_DATA;\r
-\r
-typedef STRING_REF EFI_PROCESSOR_SOCKET_NAME_DATA;\r
-\r
-typedef EFI_INTER_LINK_DATA EFI_CACHE_ASSOCIATION_DATA;\r
-\r
-typedef enum {\r
-  EfiProcessorHealthy        = 1,\r
-  EfiProcessorPerfRestricted = 2,\r
-  EfiProcessorFuncRestricted = 3\r
-} EFI_PROCESSOR_HEALTH_STATUS;  \r
-\r
-typedef UINTN   EFI_PROCESSOR_PACKAGE_NUMBER_DATA;\r
-\r
-\r
-typedef enum {\r
-  ProcessorCoreFrequencyRecordType     = 1,\r
-  ProcessorFsbFrequencyRecordType      = 2,\r
-  ProcessorVersionRecordType           = 3,\r
-  ProcessorManufacturerRecordType      = 4,\r
-  ProcessorSerialNumberRecordType      = 5,\r
-  ProcessorIdRecordType                = 6,\r
-  ProcessorTypeRecordType              = 7,\r
-  ProcessorFamilyRecordType            = 8,\r
-  ProcessorVoltageRecordType           = 9,\r
-  ProcessorApicBaseAddressRecordType   = 10,\r
-  ProcessorApicIdRecordType            = 11,\r
-  ProcessorApicVersionNumberRecordType = 12,\r
-  CpuUcodeRevisionDataRecordType       = 13,\r
-  ProcessorStatusRecordType            = 14,\r
-  ProcessorSocketTypeRecordType        = 15,\r
-  ProcessorSocketNameRecordType        = 16,\r
-  CacheAssociationRecordType           = 17,\r
-  ProcessorMaxCoreFrequencyRecordType  = 18,\r
-  ProcessorAssetTagRecordType          = 19,\r
-  ProcessorMaxFsbFrequencyRecordType   = 20,\r
-  ProcessorPackageNumberRecordType     = 21,\r
-  ProcessorCoreFrequencyListRecordType = 22,\r
-  ProcessorFsbFrequencyListRecordType  = 23,\r
-  ProcessorHealthStatusRecordType      = 24\r
-} EFI_CPU_VARIABLE_RECORD_TYPE;\r
-\r
-typedef union {\r
-  EFI_PROCESSOR_CORE_FREQUENCY_LIST_DATA  ProcessorCoreFrequencyList;\r
-  EFI_PROCESSOR_FSB_FREQUENCY_LIST_DATA   ProcessorFsbFrequencyList;\r
-  EFI_PROCESSOR_SERIAL_NUMBER_DATA        ProcessorSerialNumber;\r
-  EFI_PROCESSOR_CORE_FREQUENCY_DATA       ProcessorCoreFrequency;\r
-  EFI_PROCESSOR_FSB_FREQUENCY_DATA        ProcessorFsbFrequency;\r
-  EFI_PROCESSOR_MAX_CORE_FREQUENCY_DATA   ProcessorMaxCoreFrequency;\r
-  EFI_PROCESSOR_MAX_FSB_FREQUENCY_DATA    ProcessorMaxFsbFrequency;\r
-  EFI_PROCESSOR_VERSION_DATA              ProcessorVersion;\r
-  EFI_PROCESSOR_MANUFACTURER_DATA         ProcessorManufacturer;\r
-  EFI_PROCESSOR_ID_DATA                   ProcessorId;\r
-  EFI_PROCESSOR_TYPE_DATA                 ProcessorType;\r
-  EFI_PROCESSOR_FAMILY_DATA               ProcessorFamily;\r
-  EFI_PROCESSOR_VOLTAGE_DATA              ProcessorVoltage;\r
-  EFI_PROCESSOR_APIC_BASE_ADDRESS_DATA    ProcessorApicBase;\r
-  EFI_PROCESSOR_APIC_ID_DATA              ProcessorApicId;\r
-  EFI_PROCESSOR_APIC_VERSION_NUMBER_DATA  ProcessorApicVersionNumber;\r
-  EFI_PROCESSOR_MICROCODE_REVISION_DATA   CpuUcodeRevisionData;\r
-  EFI_PROCESSOR_STATUS_DATA               ProcessorStatus;\r
-  EFI_PROCESSOR_SOCKET_TYPE_DATA          ProcessorSocketType;\r
-  EFI_PROCESSOR_SOCKET_NAME_DATA          ProcessorSocketName;\r
-  EFI_PROCESSOR_ASSET_TAG_DATA            ProcessorAssetTag;\r
-  EFI_PROCESSOR_HEALTH_STATUS             ProcessorHealthStatus;\r
-  EFI_PROCESSOR_PACKAGE_NUMBER_DATA       ProcessorPackageNumber;\r
-} EFI_CPU_VARIABLE_RECORD;\r
-\r
-typedef struct {\r
-  EFI_SUBCLASS_TYPE1_HEADER      DataRecordHeader;\r
-  EFI_CPU_VARIABLE_RECORD        VariableRecord;\r
-} EFI_CPU_DATA_RECORD;\r
-\r
-#define EFI_CACHE_SUBCLASS_VERSION    0x00010000\r
-\r
-\r
-typedef EFI_EXP_BASE2_DATA  EFI_CACHE_SIZE_DATA;\r
-\r
-typedef EFI_EXP_BASE2_DATA  EFI_MAXIMUM_CACHE_SIZE_DATA;\r
-\r
-typedef EFI_EXP_BASE10_DATA EFI_CACHE_SPEED_DATA;\r
-\r
-typedef STRING_REF          EFI_CACHE_SOCKET_DATA;\r
-\r
-typedef struct {\r
-  UINT32  Other         :1;\r
-  UINT32  Unknown       :1;\r
-  UINT32  NonBurst      :1;\r
-  UINT32  Burst         :1;\r
-  UINT32  PipelineBurst :1;\r
-  UINT32  Asynchronous  :1;\r
-  UINT32  Synchronous   :1;\r
-  UINT32  Reserved      :25;\r
-} EFI_CACHE_SRAM_TYPE_DATA;\r
-\r
-typedef enum {  \r
-  EfiCacheErrorOther     = 1,\r
-  EfiCacheErrorUnknown   = 2,\r
-  EfiCacheErrorNone      = 3,\r
-  EfiCacheErrorParity    = 4,\r
-  EfiCacheErrorSingleBit = 5,\r
-  EfiCacheErrorMultiBit  = 6\r
-} EFI_CACHE_ERROR_TYPE_DATA;\r
-\r
-typedef enum {  \r
-  EfiCacheTypeOther       = 1,\r
-  EfiCacheTypeUnknown     = 2,\r
-  EfiCacheTypeInstruction = 3,\r
-  EfiCacheTypeData        = 4,\r
-  EfiCacheTypeUnified     = 5\r
-} EFI_CACHE_TYPE_DATA;\r
-\r
-typedef enum {  \r
-  EfiCacheAssociativityOther        = 1,\r
-  EfiCacheAssociativityUnknown      = 2,\r
-  EfiCacheAssociativityDirectMapped = 3,\r
-  EfiCacheAssociativity2Way         = 4,\r
-  EfiCacheAssociativity4Way         = 5,\r
-  EfiCacheAssociativityFully        = 6,\r
-  EfiCacheAssociativity8Way         = 7,\r
-  EfiCacheAssociativity16Way        = 8\r
-} EFI_CACHE_ASSOCIATIVITY_DATA;\r
-\r
-typedef struct {  \r
-  UINT32    Level           :3;\r
-  UINT32    Socketed        :1;\r
-  UINT32    Reserved2       :1;\r
-  UINT32    Location        :2;\r
-  UINT32    Enable          :1;\r
-  UINT32    OperationalMode :2;\r
-  UINT32    Reserved1       :22;\r
-} EFI_CACHE_CONFIGURATION_DATA;\r
-\r
-#define EFI_CACHE_L1      1\r
-#define EFI_CACHE_L2      2\r
-#define EFI_CACHE_L3      3\r
-#define EFI_CACHE_L4      4\r
-#define EFI_CACHE_LMAX    EFI_CACHE_L4\r
-\r
-#define EFI_CACHE_SOCKETED      1\r
-#define EFI_CACHE_NOT_SOCKETED  0\r
-\r
-typedef enum {\r
-  EfiCacheInternal = 0,\r
-  EfiCacheExternal = 1,\r
-  EfiCacheReserved = 2,\r
-  EfiCacheUnknown  = 3\r
-} EFI_CACHE_LOCATION;\r
-  \r
-#define EFI_CACHE_ENABLED    1\r
-#define EFI_CACHE_DISABLED   0\r
-\r
-typedef enum {\r
-  EfiCacheWriteThrough = 0,\r
-  EfiCacheWriteBack    = 1,\r
-  EfiCacheDynamicMode  = 2,\r
-  EfiCacheUnknownMode  = 3\r
-} EFI_CACHE_OPERATIONAL_MODE;\r
-\r
-\r
-\r
-typedef enum {\r
-  CacheSizeRecordType              = 1,\r
-  MaximumSizeCacheRecordType       = 2,\r
-  CacheSpeedRecordType             = 3,\r
-  CacheSocketRecordType            = 4,\r
-  CacheSramTypeRecordType          = 5,\r
-  CacheInstalledSramTypeRecordType = 6,\r
-  CacheErrorTypeRecordType         = 7,\r
-  CacheTypeRecordType              = 8,\r
-  CacheAssociativityRecordType     = 9,\r
-  CacheConfigRecordType            = 10\r
-} EFI_CACHE_VARIABLE_RECORD_TYPE;\r
-\r
-\r
-typedef union {\r
-  EFI_CACHE_SIZE_DATA             CacheSize;\r
-  EFI_MAXIMUM_CACHE_SIZE_DATA     MaximumCacheSize;\r
-  EFI_CACHE_SPEED_DATA            CacheSpeed;\r
-  EFI_CACHE_SOCKET_DATA           CacheSocket;\r
-  EFI_CACHE_SRAM_TYPE_DATA        CacheSramType;\r
-  EFI_CACHE_SRAM_TYPE_DATA        CacheInstalledSramType;\r
-  EFI_CACHE_ERROR_TYPE_DATA       CacheErrorType;\r
-  EFI_CACHE_TYPE_DATA             CacheType;\r
-  EFI_CACHE_ASSOCIATIVITY_DATA    CacheAssociativity;\r
-  EFI_CACHE_CONFIGURATION_DATA    CacheConfig;\r
-  EFI_CACHE_ASSOCIATION_DATA      CacheAssociation;\r
-} EFI_CACHE_VARIABLE_RECORD;\r
-\r
-typedef struct {\r
-   EFI_SUBCLASS_TYPE1_HEADER      DataRecordHeader;\r
-   EFI_CACHE_VARIABLE_RECORD      VariableRecord;  \r
-} EFI_CACHE_DATA_RECORD;\r
-  \r
-#define EFI_MEMORY_SUBCLASS_VERSION     0x0100\r
-\r
-\r
-#define EFI_MEMORY_SIZE_RECORD_NUMBER                 0x00000001\r
-\r
-typedef enum _EFI_MEMORY_REGION_TYPE {\r
-  EfiMemoryRegionMemory                       = 0x01,\r
-  EfiMemoryRegionReserved                     = 0x02,\r
-  EfiMemoryRegionAcpi                         = 0x03,\r
-  EfiMemoryRegionNvs                          = 0x04\r
-} EFI_MEMORY_REGION_TYPE;\r
-\r
-typedef struct {\r
-  UINT32                      ProcessorNumber;\r
-  UINT16                      StartBusNumber;\r
-  UINT16                      EndBusNumber;\r
-  EFI_MEMORY_REGION_TYPE      MemoryRegionType;\r
-  EFI_EXP_BASE2_DATA          MemorySize;\r
-  EFI_PHYSICAL_ADDRESS        MemoryStartAddress;\r
-} EFI_MEMORY_SIZE_DATA;\r
-\r
-\r
-#define EFI_MEMORY_ARRAY_LOCATION_RECORD_NUMBER       0x00000002\r
-\r
-typedef enum _EFI_MEMORY_ARRAY_LOCATION {\r
-  EfiMemoryArrayLocationOther                 = 0x01,\r
-  EfiMemoryArrayLocationUnknown               = 0x02,\r
-  EfiMemoryArrayLocationSystemBoard           = 0x03,\r
-  EfiMemoryArrayLocationIsaAddonCard          = 0x04,\r
-  EfiMemoryArrayLocationEisaAddonCard         = 0x05,\r
-  EfiMemoryArrayLocationPciAddonCard          = 0x06,\r
-  EfiMemoryArrayLocationMcaAddonCard          = 0x07,\r
-  EfiMemoryArrayLocationPcmciaAddonCard       = 0x08,\r
-  EfiMemoryArrayLocationProprietaryAddonCard  = 0x09,\r
-  EfiMemoryArrayLocationNuBus                 = 0x0A,\r
-  EfiMemoryArrayLocationPc98C20AddonCard      = 0xA0,\r
-  EfiMemoryArrayLocationPc98C24AddonCard      = 0xA1,\r
-  EfiMemoryArrayLocationPc98EAddonCard        = 0xA2,\r
-  EfiMemoryArrayLocationPc98LocalBusAddonCard = 0xA3\r
-} EFI_MEMORY_ARRAY_LOCATION;\r
-\r
-typedef enum _EFI_MEMORY_ARRAY_USE {\r
-  EfiMemoryArrayUseOther                      = 0x01,\r
-  EfiMemoryArrayUseUnknown                    = 0x02,\r
-  EfiMemoryArrayUseSystemMemory               = 0x03,\r
-  EfiMemoryArrayUseVideoMemory                = 0x04,\r
-  EfiMemoryArrayUseFlashMemory                = 0x05,\r
-  EfiMemoryArrayUseNonVolatileRam             = 0x06,\r
-  EfiMemoryArrayUseCacheMemory                = 0x07,\r
-} EFI_MEMORY_ARRAY_USE;\r
-\r
-typedef enum _EFI_MEMORY_ERROR_CORRECTION {\r
-  EfiMemoryErrorCorrectionOther               = 0x01,\r
-  EfiMemoryErrorCorrectionUnknown             = 0x02,\r
-  EfiMemoryErrorCorrectionNone                = 0x03,\r
-  EfiMemoryErrorCorrectionParity              = 0x04,\r
-  EfiMemoryErrorCorrectionSingleBitEcc        = 0x05,\r
-  EfiMemoryErrorCorrectionMultiBitEcc         = 0x06,\r
-  EfiMemoryErrorCorrectionCrc                 = 0x07,\r
-} EFI_MEMORY_ERROR_CORRECTION;\r
-\r
-typedef struct {\r
-  EFI_MEMORY_ARRAY_LOCATION   MemoryArrayLocation;\r
-  EFI_MEMORY_ARRAY_USE        MemoryArrayUse;\r
-  EFI_MEMORY_ERROR_CORRECTION MemoryErrorCorrection;\r
-  EFI_EXP_BASE2_DATA          MaximumMemoryCapacity;\r
-  UINT16                      NumberMemoryDevices;\r
-} EFI_MEMORY_ARRAY_LOCATION_DATA;\r
-\r
-\r
-#define EFI_MEMORY_ARRAY_LINK_RECORD_NUMBER           0x00000003\r
-\r
-typedef enum _EFI_MEMORY_FORM_FACTOR {\r
-  EfiMemoryFormFactorOther                    = 0x01,\r
-  EfiMemoryFormFactorUnknown                  = 0x02,\r
-  EfiMemoryFormFactorSimm                     = 0x03,\r
-  EfiMemoryFormFactorSip                      = 0x04,\r
-  EfiMemoryFormFactorChip                     = 0x05,\r
-  EfiMemoryFormFactorDip                      = 0x06,\r
-  EfiMemoryFormFactorZip                      = 0x07,\r
-  EfiMemoryFormFactorProprietaryCard          = 0x08,\r
-  EfiMemoryFormFactorDimm                     = 0x09,\r
-  EfiMemoryFormFactorTsop                     = 0x0A,\r
-  EfiMemoryFormFactorRowOfChips               = 0x0B,\r
-  EfiMemoryFormFactorRimm                     = 0x0C,\r
-  EfiMemoryFormFactorSodimm                   = 0x0D,\r
-  EfiMemoryFormFactorSrimm                    = 0x0E\r
-} EFI_MEMORY_FORM_FACTOR;\r
-\r
-typedef enum _EFI_MEMORY_ARRAY_TYPE {\r
-  EfiMemoryTypeOther                          = 0x01,\r
-  EfiMemoryTypeUnknown                        = 0x02,\r
-  EfiMemoryTypeDram                           = 0x03,\r
-  EfiMemoryTypeEdram                          = 0x04,\r
-  EfiMemoryTypeVram                           = 0x05,\r
-  EfiMemoryTypeSram                           = 0x06,\r
-  EfiMemoryTypeRam                            = 0x07,\r
-  EfiMemoryTypeRom                            = 0x08,\r
-  EfiMemoryTypeFlash                          = 0x09,\r
-  EfiMemoryTypeEeprom                         = 0x0A,\r
-  EfiMemoryTypeFeprom                         = 0x0B,\r
-  EfiMemoryTypeEprom                          = 0x0C,\r
-  EfiMemoryTypeCdram                          = 0x0D,\r
-  EfiMemoryType3Dram                          = 0x0E,\r
-  EfiMemoryTypeSdram                          = 0x0F,\r
-  EfiMemoryTypeSgram                          = 0x10,\r
-  EfiMemoryTypeRdram                          = 0x11,\r
-  EfiMemoryTypeDdr                            = 0x12\r
-} EFI_MEMORY_ARRAY_TYPE;\r
-\r
-typedef struct {\r
-  UINT32                      Reserved        :1;\r
-  UINT32                      Other           :1;\r
-  UINT32                      Unknown         :1;\r
-  UINT32                      FastPaged       :1;\r
-  UINT32                      StaticColumn    :1;\r
-  UINT32                      PseudoStatic    :1;\r
-  UINT32                      Rambus          :1;\r
-  UINT32                      Synchronous     :1;\r
-  UINT32                      Cmos            :1;\r
-  UINT32                      Edo             :1;\r
-  UINT32                      WindowDram      :1;\r
-  UINT32                      CacheDram       :1;\r
-  UINT32                      Nonvolatile     :1;\r
-  UINT32                      Reserved1       :19;\r
-} EFI_MEMORY_TYPE_DETAIL;\r
-\r
-typedef enum {\r
-  EfiMemoryStateEnabled      = 0,\r
-  EfiMemoryStateUnknown      = 1,\r
-  EfiMemoryStateUnsupported  = 2,\r
-  EfiMemoryStateError        = 3,\r
-  EfiMemoryStateAbsent       = 4,\r
-  EfiMemoryStateDisabled     = 5,\r
-  EfiMemoryStatePartial      = 6\r
-} EFI_MEMORY_STATE;\r
-\r
-typedef struct {\r
-  STRING_REF                  MemoryDeviceLocator;\r
-  STRING_REF                  MemoryBankLocator;\r
-  STRING_REF                  MemoryManufacturer;\r
-  STRING_REF                  MemorySerialNumber;\r
-  STRING_REF                  MemoryAssetTag;\r
-  STRING_REF                  MemoryPartNumber;\r
-  EFI_INTER_LINK_DATA         MemoryArrayLink;\r
-  EFI_INTER_LINK_DATA         MemorySubArrayLink;\r
-  UINT16                      MemoryTotalWidth;\r
-  UINT16                      MemoryDataWidth;\r
-  EFI_EXP_BASE2_DATA          MemoryDeviceSize;\r
-  EFI_MEMORY_FORM_FACTOR      MemoryFormFactor;\r
-  UINT8                       MemoryDeviceSet;\r
-  EFI_MEMORY_ARRAY_TYPE       MemoryType;\r
-  EFI_MEMORY_TYPE_DETAIL      MemoryTypeDetail;\r
-  EFI_EXP_BASE10_DATA         MemorySpeed;\r
-  EFI_MEMORY_STATE            MemoryState;\r
-} EFI_MEMORY_ARRAY_LINK_DATA;\r
-\r
-\r
-#define EFI_MEMORY_ARRAY_START_ADDRESS_RECORD_NUMBER  0x00000004\r
-\r
-typedef struct {\r
-  EFI_PHYSICAL_ADDRESS        MemoryArrayStartAddress;\r
-  EFI_PHYSICAL_ADDRESS        MemoryArrayEndAddress;\r
-  EFI_INTER_LINK_DATA         PhysicalMemoryArrayLink;\r
-  UINT16                      MemoryArrayPartitionWidth;\r
-} EFI_MEMORY_ARRAY_START_ADDRESS_DATA;\r
-\r
-\r
-#define EFI_MEMORY_DEVICE_START_ADDRESS_RECORD_NUMBER 0x00000005\r
-\r
-typedef struct {\r
-  EFI_PHYSICAL_ADDRESS        MemoryDeviceStartAddress;\r
-  EFI_PHYSICAL_ADDRESS        MemoryDeviceEndAddress;\r
-  EFI_INTER_LINK_DATA         PhysicalMemoryDeviceLink;\r
-  EFI_INTER_LINK_DATA         PhysicalMemoryArrayLink;\r
-  UINT8                       MemoryDevicePartitionRowPosition;\r
-  UINT8                       MemoryDeviceInterleavePosition;\r
-  UINT8                       MemoryDeviceInterleaveDataDepth;\r
-} EFI_MEMORY_DEVICE_START_ADDRESS_DATA;\r
-\r
-\r
-//\r
-//  Memory. Channel Device Type -  SMBIOS Type 37\r
-//\r
-\r
-#define EFI_MEMORY_CHANNEL_TYPE_RECORD_NUMBER         0x00000006\r
-\r
-typedef enum _EFI_MEMORY_CHANNEL_TYPE {\r
-  EfiMemoryChannelTypeOther                   = 1,\r
-  EfiMemoryChannelTypeUnknown                 = 2,\r
-  EfiMemoryChannelTypeRambus                  = 3,\r
-  EfiMemoryChannelTypeSyncLink                = 4\r
-} EFI_MEMORY_CHANNEL_TYPE;\r
-\r
-typedef struct {\r
-  EFI_MEMORY_CHANNEL_TYPE     MemoryChannelType;\r
-  UINT8                       MemoryChannelMaximumLoad;\r
-  UINT8                       MemoryChannelDeviceCount;\r
-} EFI_MEMORY_CHANNEL_TYPE_DATA;\r
-\r
-#define EFI_MEMORY_CHANNEL_DEVICE_RECORD_NUMBER       0x00000007\r
-\r
-typedef struct {\r
-  UINT8                       DeviceId;\r
-  EFI_INTER_LINK_DATA         DeviceLink;\r
-  UINT8                       MemoryChannelDeviceLoad;\r
-} EFI_MEMORY_CHANNEL_DEVICE_DATA;\r
-\r
-\r
-\r
-typedef union _EFI_MEMORY_SUBCLASS_RECORDS {\r
-  EFI_MEMORY_SIZE_DATA                  SizeData;\r
-  EFI_MEMORY_ARRAY_LOCATION_DATA        ArrayLocationData;\r
-  EFI_MEMORY_ARRAY_LINK_DATA            ArrayLink;\r
-  EFI_MEMORY_ARRAY_START_ADDRESS_DATA   ArrayStartAddress;\r
-  EFI_MEMORY_DEVICE_START_ADDRESS_DATA  DeviceStartAddress;\r
-  EFI_MEMORY_CHANNEL_TYPE_DATA          ChannelTypeData;\r
-  EFI_MEMORY_CHANNEL_DEVICE_DATA        ChannelDeviceData;\r
-} EFI_MEMORY_SUBCLASS_RECORDS;\r
-\r
-typedef struct {\r
-  EFI_SUBCLASS_TYPE1_HEADER             Header;\r
-  EFI_MEMORY_SUBCLASS_RECORDS           Record;\r
-} EFI_MEMORY_SUBCLASS_DRIVER_DATA;\r
-\r
-#define EFI_MISC_SUBCLASS_VERSION     0x0100\r
-\r
-#pragma pack(1)\r
-//\r
-//////////////////////////////////////////////////////////////////////////////\r
-//\r
-// Last PCI Bus Number\r
-//\r
-#define EFI_MISC_LAST_PCI_BUS_RECORD_NUMBER  0x00000001\r
-\r
-typedef struct {\r
-  UINT8   LastPciBus;\r
-} EFI_MISC_LAST_PCI_BUS_DATA;\r
-\r
-//\r
-//////////////////////////////////////////////////////////////////////////////\r
-//\r
-// Misc. BIOS Vendor - SMBIOS Type 0\r
-//\r
-#define EFI_MISC_BIOS_VENDOR_RECORD_NUMBER  0x00000002\r
-\r
-typedef struct {\r
-  UINT32  Reserved1                         :2;\r
-  UINT32  Unknown                           :1;\r
-  UINT32  BiosCharacteristicsNotSupported   :1;\r
-  UINT32  IsaIsSupported                    :1;\r
-  UINT32  McaIsSupported                    :1;\r
-  UINT32  EisaIsSupported                   :1;\r
-  UINT32  PciIsSupported                    :1;\r
-  UINT32  PcmciaIsSupported                 :1;\r
-  UINT32  PlugAndPlayIsSupported            :1;\r
-  UINT32  ApmIsSupported                    :1;\r
-  UINT32  BiosIsUpgradable                  :1;\r
-  UINT32  BiosShadowingAllowed              :1;\r
-  UINT32  VlVesaIsSupported                 :1;\r
-  UINT32  EscdSupportIsAvailable            :1;\r
-  UINT32  BootFromCdIsSupported             :1;\r
-  UINT32  SelectableBootIsSupported         :1;\r
-  UINT32  RomBiosIsSocketed                 :1;\r
-  UINT32  BootFromPcmciaIsSupported         :1;\r
-  UINT32  EDDSpecificationIsSupported       :1;\r
-  UINT32  JapaneseNecFloppyIsSupported      :1;\r
-  UINT32  JapaneseToshibaFloppyIsSupported  :1;\r
-  UINT32  Floppy525_360IsSupported          :1;\r
-  UINT32  Floppy525_12IsSupported           :1;\r
-  UINT32  Floppy35_720IsSupported           :1;\r
-  UINT32  Floppy35_288IsSupported           :1;\r
-  UINT32  PrintScreenIsSupported            :1;\r
-  UINT32  Keyboard8042IsSupported           :1;\r
-  UINT32  SerialIsSupported                 :1;\r
-  UINT32  PrinterIsSupported                :1;\r
-  UINT32  CgaMonoIsSupported                :1;\r
-  UINT32  NecPc98                           :1;\r
-  UINT32  AcpiIsSupported                   :1;\r
-  UINT32  UsbLegacyIsSupported              :1;\r
-  UINT32  AgpIsSupported                    :1;\r
-  UINT32  I20BootIsSupported                :1;\r
-  UINT32  Ls120BootIsSupported              :1;\r
-  UINT32  AtapiZipDriveBootIsSupported      :1;\r
-  UINT32  Boot1394IsSupported               :1;\r
-  UINT32  SmartBatteryIsSupported           :1;\r
-  UINT32  BiosBootSpecIsSupported           :1;\r
-  UINT32  FunctionKeyNetworkBootIsSupported :1;\r
-  UINT32  Reserved                          :22;\r
-} EFI_MISC_BIOS_CHARACTERISTICS;\r
-\r
-typedef struct {\r
-  UINT32  BiosReserved                      :16;\r
-  UINT32  SystemReserved                    :16;\r
-  UINT32  Reserved                          :32;\r
-} EFI_MISC_BIOS_CHARACTERISTICS_EXTENSION;\r
-\r
-typedef struct {\r
-  STRING_REF                      BiosVendor;\r
-  STRING_REF                      BiosVersion;\r
-  STRING_REF                      BiosReleaseDate;\r
-  EFI_PHYSICAL_ADDRESS            BiosStartingAddress;\r
-  EFI_EXP_BASE2_DATA              BiosPhysicalDeviceSize;\r
-  EFI_MISC_BIOS_CHARACTERISTICS   BiosCharacteristics1;\r
-  EFI_MISC_BIOS_CHARACTERISTICS_EXTENSION  BiosCharacteristics2;\r
-} EFI_MISC_BIOS_VENDOR_DATA;       \r
-\r
-//\r
-//////////////////////////////////////////////////////////////////////////////\r
-//\r
-// Misc. System Manufacturer - SMBIOS Type 1\r
-//\r
-#define EFI_MISC_SYSTEM_MANUFACTURER_RECORD_NUMBER 0x00000003\r
-\r
-typedef enum {  \r
-  EfiSystemWakeupTypeReserved        = 0,\r
-  EfiSystemWakeupTypeOther           = 1,\r
-  EfiSystemWakeupTypeUnknown         = 2,\r
-  EfiSystemWakeupTypeApmTimer        = 3,\r
-  EfiSystemWakeupTypeModemRing       = 4,\r
-  EfiSystemWakeupTypeLanRemote       = 5,\r
-  EfiSystemWakeupTypePowerSwitch     = 6,\r
-  EfiSystemWakeupTypePciPme          = 7,\r
-  EfiSystemWakeupTypeAcPowerRestored = 8,\r
-} EFI_MISC_SYSTEM_WAKEUP_TYPE;\r
-\r
-typedef struct {\r
-  STRING_REF                      SystemManufacturer;\r
-  STRING_REF                      SystemProductName;\r
-  STRING_REF                      SystemVersion;\r
-  STRING_REF                      SystemSerialNumber;\r
-  EFI_GUID                        SystemUuid;\r
-  EFI_MISC_SYSTEM_WAKEUP_TYPE     SystemWakeupType;\r
-} EFI_MISC_SYSTEM_MANUFACTURER_DATA;       \r
-\r
-//\r
-//////////////////////////////////////////////////////////////////////////////\r
-//\r
-// Misc. Base Board Manufacturer - SMBIOS Type 2\r
-//\r
-#define EFI_MISC_BASE_BOARD_MANUFACTURER_RECORD_NUMBER 0x00000004\r
-\r
-typedef struct {\r
-  UINT32  Motherboard           :1;\r
-  UINT32  RequiresDaughterCard  :1;\r
-  UINT32  Removable             :1;\r
-  UINT32  Replaceable           :1;\r
-  UINT32  HotSwappable          :1;\r
-  UINT32  Reserved              :27;\r
-} EFI_BASE_BOARD_FEATURE_FLAGS;\r
-\r
-typedef enum {  \r
-  EfiBaseBoardTypeUnknown                = 1,\r
-  EfiBaseBoardTypeOther                  = 2,\r
-  EfiBaseBoardTypeServerBlade            = 3,\r
-  EfiBaseBoardTypeConnectivitySwitch     = 4,\r
-  EfiBaseBoardTypeSystemManagementModule = 5,\r
-  EfiBaseBoardTypeProcessorModule        = 6,\r
-  EfiBaseBoardTypeIOModule               = 7,\r
-  EfiBaseBoardTypeMemoryModule           = 8,\r
-  EfiBaseBoardTypeDaughterBoard          = 9,\r
-  EfiBaseBoardTypeMotherBoard            = 0xA,\r
-  EfiBaseBoardTypeProcessorMemoryModule  = 0xB,\r
-  EfiBaseBoardTypeProcessorIOModule      = 0xC,\r
-  EfiBaseBoardTypeInterconnectBoard      = 0xD,\r
-} EFI_BASE_BOARD_TYPE;\r
-\r
-typedef struct {\r
-  STRING_REF                      BaseBoardManufacturer;\r
-  STRING_REF                      BaseBoardProductName;\r
-  STRING_REF                      BaseBoardVersion;\r
-  STRING_REF                      BaseBoardSerialNumber;\r
-  STRING_REF                      BaseBoardAssetTag;\r
-  STRING_REF                      BaseBoardChassisLocation;\r
-  EFI_BASE_BOARD_FEATURE_FLAGS    BaseBoardFeatureFlags;\r
-  EFI_BASE_BOARD_TYPE             BaseBoardType;\r
-  EFI_INTER_LINK_DATA             BaseBoardChassisLink;\r
-  UINT32                          BaseBoardNumberLinks;\r
-  EFI_INTER_LINK_DATA             LinkN;\r
-} EFI_MISC_BASE_BOARD_MANUFACTURER_DATA;       \r
-\r
-//\r
-//////////////////////////////////////////////////////////////////////////////\r
-//\r
-// Misc. System/Chassis Enclosure - SMBIOS Type 3\r
-//\r
-#define EFI_MISC_CHASSIS_MANUFACTURER_RECORD_NUMBER  0x00000005\r
-\r
-typedef enum {  \r
-  EfiMiscChassisTypeOther               = 0x1,\r
-  EfiMiscChassisTypeUnknown             = 0x2,\r
-  EfiMiscChassisTypeDeskTop             = 0x3,\r
-  EfiMiscChassisTypeLowProfileDesktop   = 0x4,\r
-  EfiMiscChassisTypePizzaBox            = 0x5,\r
-  EfiMiscChassisTypeMiniTower           = 0x6,\r
-  EfiMiscChassisTypeTower               = 0x7,\r
-  EfiMiscChassisTypePortable            = 0x8,\r
-  EfiMiscChassisTypeLapTop              = 0x9,\r
-  EfiMiscChassisTypeNotebook            = 0xA,\r
-  EfiMiscChassisTypeHandHeld            = 0xB,\r
-  EfiMiscChassisTypeDockingStation      = 0xC,\r
-  EfiMiscChassisTypeAllInOne            = 0xD,\r
-  EfiMiscChassisTypeSubNotebook         = 0xE,\r
-  EfiMiscChassisTypeSpaceSaving         = 0xF,\r
-  EfiMiscChassisTypeLunchBox            = 0x10,\r
-  EfiMiscChassisTypeMainServerChassis   = 0x11,\r
-  EfiMiscChassisTypeExpansionChassis    = 0x12,\r
-  EfiMiscChassisTypeSubChassis          = 0x13,\r
-  EfiMiscChassisTypeBusExpansionChassis = 0x14,\r
-  EfiMiscChassisTypePeripheralChassis   = 0x15,\r
-  EfiMiscChassisTypeRaidChassis         = 0x16,\r
-  EfiMiscChassisTypeRackMountChassis    = 0x17,\r
-  EfiMiscChassisTypeSealedCasePc        = 0x18,\r
-  EfiMiscChassisMultiSystemChassis      = 0x19,\r
-} EFI_MISC_CHASSIS_TYPE;\r
-\r
-typedef struct {\r
-  UINT32  ChassisType       :16;\r
-  UINT32  ChassisLockPresent:1;\r
-  UINT32  Reserved          :15;\r
-} EFI_MISC_CHASSIS_STATUS;\r
-\r
-typedef enum {  \r
-  EfiChassisStateOther           = 0x01,\r
-  EfiChassisStateUnknown         = 0x02,\r
-  EfiChassisStateSafe            = 0x03,\r
-  EfiChassisStateWarning         = 0x04,\r
-  EfiChassisStateCritical        = 0x05,\r
-  EfiChassisStateNonRecoverable  = 0x06,\r
-} EFI_MISC_CHASSIS_STATE;\r
-\r
-typedef enum {  \r
-  EfiChassisSecurityStatusOther                          = 0x01,\r
-  EfiChassisSecurityStatusUnknown                        = 0x02,\r
-  EfiChassisSecurityStatusNone                           = 0x03,\r
-  EfiChassisSecurityStatusExternalInterfaceLockedOut     = 0x04,\r
-  EfiChassisSecurityStatusExternalInterfaceLockedEnabled = 0x05,\r
-} EFI_MISC_CHASSIS_SECURITY_STATE;\r
-\r
-typedef struct {\r
-  UINT32  RecordType  :1;\r
-  UINT32  Reserved    :24;\r
-} EFI_MISC_ELEMENT_TYPE;\r
-\r
-typedef struct {\r
-  EFI_MISC_ELEMENT_TYPE   ChassisElementType;\r
-  EFI_INTER_LINK_DATA     ChassisElementStructure;\r
-  EFI_BASE_BOARD_TYPE     ChassisBaseBoard;\r
-  UINT32                  ChassisElementMinimum;\r
-  UINT32                  ChassisElementMaximum;\r
-} EFI_MISC_ELEMENTS; \r
-\r
-typedef struct {\r
-  STRING_REF                      ChassisManufacturer;\r
-  STRING_REF                      ChassisVersion;\r
-  STRING_REF                      ChassisSerialNumber;\r
-  STRING_REF                      ChassisAssetTag;\r
-  EFI_MISC_CHASSIS_STATUS         ChassisType;\r
-  EFI_MISC_CHASSIS_STATE          ChassisBootupState;\r
-  EFI_MISC_CHASSIS_STATE          ChassisPowerSupplyState;\r
-  EFI_MISC_CHASSIS_STATE          ChassisThermalState;\r
-  EFI_MISC_CHASSIS_SECURITY_STATE ChassisSecurityState;\r
-  UINT32                          ChassisOemDefined;\r
-  UINT32                          ChassisHeight;\r
-  UINT32                          ChassisNumberPowerCords;\r
-  UINT32                          ChassisElementCount;\r
-  UINT32                          ChassisElementRecordLength;//\r
-  EFI_MISC_ELEMENTS               ChassisElements;\r
-} EFI_MISC_CHASSIS_MANUFACTURER_DATA;\r
-\r
-//\r
-//////////////////////////////////////////////////////////////////////////////\r
-//\r
-// Misc. Port Connector Information - SMBIOS Type 8\r
-//\r
-#define EFI_MISC_PORT_INTERNAL_CONNECTOR_DESIGNATOR_RECORD_NUMBER 0x00000006\r
-\r
-typedef enum {  \r
-  EfiPortConnectorTypeNone                   = 0x00,\r
-  EfiPortConnectorTypeCentronics             = 0x01,\r
-  EfiPortConnectorTypeMiniCentronics         = 0x02,\r
-  EfiPortConnectorTypeProprietary            = 0x03,\r
-  EfiPortConnectorTypeDB25Male               = 0x04,\r
-  EfiPortConnectorTypeDB25Female             = 0x05,\r
-  EfiPortConnectorTypeDB15Male               = 0x06,\r
-  EfiPortConnectorTypeDB15Female             = 0x07,\r
-  EfiPortConnectorTypeDB9Male                = 0x08,\r
-  EfiPortConnectorTypeDB9Female              = 0x09,\r
-  EfiPortConnectorTypeRJ11                   = 0x0A,\r
-  EfiPortConnectorTypeRJ45                   = 0x0B,\r
-  EfiPortConnectorType50PinMiniScsi          = 0x0C,\r
-  EfiPortConnectorTypeMiniDin                = 0x0D,\r
-  EfiPortConnectorTypeMicriDin               = 0x0E,\r
-  EfiPortConnectorTypePS2                    = 0x0F,\r
-  EfiPortConnectorTypeInfrared               = 0x10,\r
-  EfiPortConnectorTypeHpHil                  = 0x11,\r
-  EfiPortConnectorTypeUsb                    = 0x12,\r
-  EfiPortConnectorTypeSsaScsi                = 0x13,\r
-  EfiPortConnectorTypeCircularDin8Male       = 0x14,\r
-  EfiPortConnectorTypeCircularDin8Female     = 0x15,\r
-  EfiPortConnectorTypeOnboardIde             = 0x16,\r
-  EfiPortConnectorTypeOnboardFloppy          = 0x17,\r
-  EfiPortConnectorType9PinDualInline         = 0x18,\r
-  EfiPortConnectorType25PinDualInline        = 0x19,\r
-  EfiPortConnectorType50PinDualInline        = 0x1A,\r
-  EfiPortConnectorType68PinDualInline        = 0x1B,\r
-  EfiPortConnectorTypeOnboardSoundInput      = 0x1C,\r
-  EfiPortConnectorTypeMiniCentronicsType14   = 0x1D,\r
-  EfiPortConnectorTypeMiniCentronicsType26   = 0x1E,\r
-  EfiPortConnectorTypeHeadPhoneMiniJack      = 0x1F,\r
-  EfiPortConnectorTypeBNC                    = 0x20,\r
-  EfiPortConnectorType1394                   = 0x21,\r
-  EfiPortConnectorTypePC98                   = 0xA0,\r
-  EfiPortConnectorTypePC98Hireso             = 0xA1,\r
-  EfiPortConnectorTypePCH98                  = 0xA2,\r
-  EfiPortConnectorTypePC98Note               = 0xA3,\r
-  EfiPortConnectorTypePC98Full               = 0xA4,\r
-  EfiPortConnectorTypeOther                  = 0xFF,\r
-} EFI_MISC_PORT_CONNECTOR_TYPE;\r
-\r
-typedef enum {  \r
-  EfiPortTypeNone                      = 0x00,\r
-  EfiPortTypeParallelXtAtCompatible    = 0x01,\r
-  EfiPortTypeParallelPortPs2           = 0x02,\r
-  EfiPortTypeParallelPortEcp           = 0x03,\r
-  EfiPortTypeParallelPortEpp           = 0x04,\r
-  EfiPortTypeParallelPortEcpEpp        = 0x05,\r
-  EfiPortTypeSerialXtAtCompatible      = 0x06,\r
-  EfiPortTypeSerial16450Compatible     = 0x07,\r
-  EfiPortTypeSerial16550Compatible     = 0x08,\r
-  EfiPortTypeSerial16550ACompatible    = 0x09,\r
-  EfiPortTypeScsi                      = 0x0A,\r
-  EfiPortTypeMidi                      = 0x0B,\r
-  EfiPortTypeJoyStick                  = 0x0C,\r
-  EfiPortTypeKeyboard                  = 0x0D,\r
-  EfiPortTypeMouse                     = 0x0E,\r
-  EfiPortTypeSsaScsi                   = 0x0F,\r
-  EfiPortTypeUsb                       = 0x10,\r
-  EfiPortTypeFireWire                  = 0x11,\r
-  EfiPortTypePcmciaTypeI               = 0x12,\r
-  EfiPortTypePcmciaTypeII              = 0x13,\r
-  EfiPortTypePcmciaTypeIII             = 0x14,\r
-  EfiPortTypeCardBus                   = 0x15,\r
-  EfiPortTypeAccessBusPort             = 0x16,\r
-  EfiPortTypeScsiII                    = 0x17,\r
-  EfiPortTypeScsiWide                  = 0x18,\r
-  EfiPortTypePC98                      = 0x19,\r
-  EfiPortTypePC98Hireso                = 0x1A,\r
-  EfiPortTypePCH98                     = 0x1B,\r
-  EfiPortTypeVideoPort                 = 0x1C,\r
-  EfiPortTypeAudioPort                 = 0x1D,\r
-  EfiPortTypeModemPort                 = 0x1E,\r
-  EfiPortTypeNetworkPort               = 0x1F,\r
-  EfiPortType8251Compatible            = 0xA0,\r
-  EfiPortType8251FifoCompatible        = 0xA1,\r
-  EfiPortTypeOther                     = 0xFF,\r
-} EFI_MISC_PORT_TYPE;\r
-\r
-typedef struct {\r
-  STRING_REF                    PortInternalConnectorDesignator;\r
-  STRING_REF                    PortExternalConnectorDesignator;\r
-  EFI_MISC_PORT_CONNECTOR_TYPE  PortInternalConnectorType;\r
-  EFI_MISC_PORT_CONNECTOR_TYPE  PortExternalConnectorType;\r
-  EFI_MISC_PORT_TYPE            PortType;\r
-  EFI_MISC_PORT_DEVICE_PATH     PortPath;\r
-} EFI_MISC_PORT_INTERNAL_CONNECTOR_DESIGNATOR_DATA;      \r
-\r
-//\r
-//////////////////////////////////////////////////////////////////////////////\r
-//\r
-// Misc. System Slots - SMBIOS Type 9\r
-//\r
-#define EFI_MISC_SYSTEM_SLOT_DESIGNATION_RECORD_NUMBER 0x00000007\r
-\r
-typedef enum {  \r
-  EfiSlotTypeOther                        = 0x01,\r
-  EfiSlotTypeUnknown                      = 0x02,\r
-  EfiSlotTypeIsa                          = 0x03,\r
-  EfiSlotTypeMca                          = 0x04,\r
-  EfiSlotTypeEisa                         = 0x05,\r
-  EfiSlotTypePci                          = 0x06,\r
-  EfiSlotTypePcmcia                       = 0x07,\r
-  EfiSlotTypeVlVesa                       = 0x08,\r
-  EfiSlotTypeProprietary                  = 0x09,\r
-  EfiSlotTypeProcessorCardSlot            = 0x0A,\r
-  EfiSlotTypeProprietaryMemoryCardSlot    = 0x0B,\r
-  EfiSlotTypeIORiserCardSlot              = 0x0C,\r
-  EfiSlotTypeNuBus                        = 0x0D,\r
-  EfiSlotTypePci66MhzCapable              = 0x0E,\r
-  EfiSlotTypeAgp                          = 0x0F,\r
-  EfiSlotTypeApg2X                        = 0x10,\r
-  EfiSlotTypeAgp4X                        = 0x11,\r
-  EfiSlotTypePciX                         = 0x12,\r
-  EfiSlotTypeAgp4x                        = 0x13,\r
-  EfiSlotTypePC98C20                      = 0xA0,\r
-  EfiSlotTypePC98C24                      = 0xA1,\r
-  EfiSlotTypePC98E                        = 0xA2,\r
-  EfiSlotTypePC98LocalBus                 = 0xA3,\r
-  EfiSlotTypePC98Card                     = 0xA4,\r
-} EFI_MISC_SLOT_TYPE;\r
-\r
-typedef enum {  \r
-  EfiSlotDataBusWidthOther      = 0x01,\r
-  EfiSlotDataBusWidthUnknown    = 0x02,\r
-  EfiSlotDataBusWidth8Bit       = 0x03,\r
-  EfiSlotDataBusWidth16Bit      = 0x04,\r
-  EfiSlotDataBusWidth32Bit      = 0x05,\r
-  EfiSlotDataBusWidth64Bit      = 0x06,\r
-  EfiSlotDataBusWidth128Bit     = 0x07,\r
-} EFI_MISC_SLOT_DATA_BUS_WIDTH;\r
-\r
-typedef enum {  \r
-  EfiSlotUsageOther     = 1,\r
-  EfiSlotUsageUnknown   = 2,\r
-  EfiSlotUsageAvailable = 3,\r
-  EfiSlotUsageInUse     = 4,\r
-} EFI_MISC_SLOT_USAGE;\r
-  \r
-typedef enum {  \r
-  EfiSlotLengthOther   = 1,\r
-  EfiSlotLengthUnknown = 2,\r
-  EfiSlotLengthShort   = 3,\r
-  EfiSlotLengthLong    = 4\r
-} EFI_MISC_SLOT_LENGTH;\r
-\r
-typedef struct {\r
-  UINT32  CharacteristicsUnknown  :1;\r
-  UINT32  Provides50Volts         :1;\r
-  UINT32  Provides33Volts         :1;\r
-  UINT32  SharedSlot              :1;\r
-  UINT32  PcCard16Supported       :1;\r
-  UINT32  CardBusSupported        :1;\r
-  UINT32  ZoomVideoSupported      :1;\r
-  UINT32  ModemRingResumeSupported:1;\r
-  UINT32  PmeSignalSupported      :1;\r
-  UINT32  HotPlugDevicesSupported :1;\r
-  UINT32  SmbusSignalSupported    :1;\r
-  UINT32  Reserved                :21;\r
-} EFI_MISC_SLOT_CHARACTERISTICS;\r
-\r
-typedef struct {\r
-  STRING_REF                    SlotDesignation;\r
-  EFI_MISC_SLOT_TYPE            SlotType;\r
-  EFI_MISC_SLOT_DATA_BUS_WIDTH  SlotDataBusWidth;\r
-  EFI_MISC_SLOT_USAGE           SlotUsage;\r
-  EFI_MISC_SLOT_LENGTH          SlotLength;\r
-  UINT16                        SlotId;\r
-  EFI_MISC_SLOT_CHARACTERISTICS SlotCharacteristics;\r
-  EFI_DEVICE_PATH_PROTOCOL      SlotDevicePath;\r
-} EFI_MISC_SYSTEM_SLOT_DESIGNATION_DATA;      \r
-\r
-//\r
-//////////////////////////////////////////////////////////////////////////////\r
-//\r
-// Misc. Onboard Device - SMBIOS Type 10\r
-//\r
-#define EFI_MISC_ONBOARD_DEVICE_RECORD_NUMBER 0x00000008\r
-\r
-typedef enum {  \r
-  EfiOnBoardDeviceTypeOther          = 1,\r
-  EfiOnBoardDeviceTypeUnknown        = 2,\r
-  EfiOnBoardDeviceTypeVideo          = 3,\r
-  EfiOnBoardDeviceTypeScsiController = 4,\r
-  EfiOnBoardDeviceTypeEthernet       = 5,\r
-  EfiOnBoardDeviceTypeTokenRing      = 6,\r
-  EfiOnBoardDeviceTypeSound          = 7,\r
-} EFI_MISC_ONBOARD_DEVICE_TYPE;\r
-\r
-typedef struct {\r
-  UINT32  DeviceType    :16;\r
-  UINT32  DeviceEnabled :1;\r
-  UINT32  Reserved      :15;\r
-} EFI_MISC_ONBOARD_DEVICE_STATUS;\r
-\r
-typedef struct {\r
-  STRING_REF                           OnBoardDeviceDescription;\r
-  EFI_MISC_ONBOARD_DEVICE_STATUS       OnBoardDeviceStatus;\r
-  EFI_DEVICE_PATH_PROTOCOL             OnBoardDevicePath;\r
-} EFI_MISC_ONBOARD_DEVICE_DATA;\r
-\r
-//\r
-//////////////////////////////////////////////////////////////////////////////\r
-//\r
-// Misc. BIOS Language Information - SMBIOS Type 11\r
-//\r
-#define EFI_MISC_OEM_STRING_RECORD_NUMBER 0x00000009\r
-\r
-typedef struct {\r
-  STRING_REF                          OemStringRef[1];\r
-} EFI_MISC_OEM_STRING_DATA;\r
-\r
-//\r
-//////////////////////////////////////////////////////////////////////////////\r
-//\r
-// Misc. System Options - SMBIOS Type 12\r
-//\r
-typedef struct {\r
-  STRING_REF                          SystemOptionStringRef[1];\r
-} EFI_MISC_SYSTEM_OPTION_STRING_DATA;      \r
-\r
-#define EFI_MISC_SYSTEM_OPTION_STRING_RECORD_NUMBER 0x0000000A\r
-\r
-//\r
-//////////////////////////////////////////////////////////////////////////////\r
-//\r
-// Misc. Number of Installable Languages - SMBIOS Type 13\r
-//\r
-#define EFI_MISC_NUMBER_OF_INSTALLABLE_LANGUAGES_RECORD_NUMBER 0x0000000B\r
-\r
-typedef struct {\r
-  UINT32                              AbbreviatedLanguageFormat :1;\r
-  UINT32                              Reserved                  :31;\r
-} EFI_MISC_LANGUAGE_FLAGS;\r
-\r
-typedef struct {\r
-  UINT16                              NumberOfInstallableLanguages;\r
-  EFI_MISC_LANGUAGE_FLAGS             LanguageFlags;\r
-  UINT16                              CurrentLanguageNumber;\r
-} EFI_MISC_NUMBER_OF_INSTALLABLE_LANGUAGES_DATA;       \r
-\r
-//\r
-//////////////////////////////////////////////////////////////////////////////\r
-//\r
-// Misc. System Language String\r
-//\r
-#define EFI_MISC_SYSTEM_LANGUAGE_STRING_RECORD_NUMBER 0x0000000C\r
-\r
-typedef struct {\r
-  UINT16                              LanguageId;\r
-  STRING_REF                          SystemLanguageString;\r
-} EFI_MISC_SYSTEM_LANGUAGE_STRING_DATA;      \r
-\r
-//\r
-//////////////////////////////////////////////////////////////////////////////\r
-//\r
-// Group Associations - SMBIOS Type 14\r
-//\r
-#define EFI_MISC_GROUP_NAME_RECORD_NUMBER          0x0000000D\r
-\r
-typedef struct {\r
-  STRING_REF               GroupName;\r
-  UINT16                   NumberGroupItems;\r
-  UINT16                   GroupId;\r
-} EFI_MISC_GROUP_NAME_DATA;  \r
-\r
-//\r
-//////////////////////////////////////////////////////////////////////////////\r
-//\r
-// Group Item Set Element\r
-//\r
-#define EFI_MISC_GROUP_ITEM_SET_RECORD_NUMBER      0x0000000E\r
-\r
-typedef struct {\r
-  EFI_GUID                 SubClass;         \r
-  EFI_INTER_LINK_DATA      GroupLink;\r
-  UINT16                   GroupId;\r
-  UINT16                   GroupElementId;\r
-} EFI_MISC_GROUP_ITEM_SET_DATA;\r
-\r
-//\r
-//////////////////////////////////////////////////////////////////////////////\r
-//\r
-//  Misc. Pointing Device Type - SMBIOS Type 21\r
-//\r
-#define EFI_MISC_POINTING_DEVICE_TYPE_RECORD_NUMBER 0x0000000F\r
-\r
-typedef enum { \r
-  EfiPointingDeviceTypeOther         = 0x01,\r
-  EfiPointingDeviceTypeUnknown       = 0x02,\r
-  EfiPointingDeviceTypeMouse         = 0x03,\r
-  EfiPointingDeviceTypeTrackBall     = 0x04,\r
-  EfiPointingDeviceTypeTrackPoint    = 0x05,\r
-  EfiPointingDeviceTypeGlidePoint    = 0x06,\r
-  EfiPointingDeviceTouchPad          = 0x07,\r
-  EfiPointingDeviceTouchScreen       = 0x08,\r
-  EfiPointingDeviceOpticalSensor     = 0x09,\r
-} EFI_MISC_POINTING_DEVICE_TYPE;\r
-\r
-typedef enum {  \r
-  EfiPointingDeviceInterfaceOther              = 0x01,\r
-  EfiPointingDeviceInterfaceUnknown            = 0x02,\r
-  EfiPointingDeviceInterfaceSerial             = 0x03,\r
-  EfiPointingDeviceInterfacePs2                = 0x04,\r
-  EfiPointingDeviceInterfaceInfrared           = 0x05,\r
-  EfiPointingDeviceInterfaceHpHil              = 0x06,\r
-  EfiPointingDeviceInterfaceBusMouse           = 0x07,\r
-  EfiPointingDeviceInterfaceADB                = 0x08,\r
-  EfiPointingDeviceInterfaceBusMouseDB9        = 0xA0,\r
-  EfiPointingDeviceInterfaceBusMouseMicroDin   = 0xA1,\r
-  EfiPointingDeviceInterfaceUsb                = 0xA2,\r
-} EFI_MISC_POINTING_DEVICE_INTERFACE;\r
-\r
-typedef struct {\r
-  EFI_MISC_POINTING_DEVICE_TYPE       PointingDeviceType;\r
-  EFI_MISC_POINTING_DEVICE_INTERFACE  PointingDeviceInterface;\r
-  UINT16                              NumberPointingDeviceButtons;\r
-  EFI_DEVICE_PATH_PROTOCOL            PointingDevicePath;\r
-} EFI_MISC_PORTING_DEVICE_TYPE_DATA;\r
-\r
-//\r
-//////////////////////////////////////////////////////////////////////////////\r
-//\r
-// Portable Battery - SMBIOS Type 22\r
-//\r
-#define EFI_MISC_BATTERY_LOCATION_RECORD_NUMBER  0x00000010\r
-\r
-typedef enum { \r
-  EfiBatteryDeviceChemistryTypeOther               = 0x01,\r
-  EfiBatteryDeviceChemistryTypeUnknown             = 0x02,\r
-  EfiBatteryDeviceChemistryTypeLeadAcid            = 0x03,\r
-  EfiBatteryDeviceChemistryTypeNickelCadmium       = 0x04,\r
-  EfiBatteryDeviceChemistryTypeNickelMetalHydride  = 0x05,\r
-  EfiBatteryDeviceChemistryTypeLithiumIon          = 0x06,\r
-  EfiBatteryDeviceChemistryTypeZincAir             = 0x07,\r
-  EfiBatteryDeviceChemistryTypeLithiumPolymer      = 0x08,\r
-} EFI_MISC_BATTERY_DEVICE_CHEMISTRY;\r
-\r
-typedef struct  {\r
-  UINT32 Date              :5;\r
-  UINT32 Month             :4;\r
-  UINT32 Year              :7;\r
-  UINT32 Reserved          :16;\r
-} EFI_MISC_BATTERY_SBDS_MANUFACTURE_DATE;\r
-\r
-typedef struct {\r
-  STRING_REF                         BatteryLocation;\r
-  STRING_REF                         BatteryManufacturer;\r
-  STRING_REF                         BatteryManufactureDate;\r
-  STRING_REF                         BatterySerialNumber;\r
-  STRING_REF                         BatteryDeviceName;\r
-  STRING_REF                         BatterySbdsVersionNumber;\r
-  STRING_REF                         BatterySbdsDeviceChemistry;\r
-  EFI_MISC_BATTERY_DEVICE_CHEMISTRY  BatteryDeviceChemistry;\r
-  EFI_EXP_BASE10_DATA                BatteryDesignCapacity;\r
-  EFI_EXP_BASE10_DATA                BatteryDesignVoltage;\r
-  UINT16                             BatteryMaximumError;\r
-  UINT16                             BatterySbdsSerialNumber;\r
-  EFI_MISC_BATTERY_SBDS_MANUFACTURE_DATE\r
-                                     BatterySbdsManufacturingDate;\r
-  UINT32                             BatteryOemSpecific;\r
-} EFI_MISC_BATTERY_LOCATION_DATA;   \r
-\r
-//\r
-//////////////////////////////////////////////////////////////////////////////\r
-//\r
-// Misc. Reset Capabilities - SMBIOS Type 23\r
-//\r
-#define EFI_MISC_RESET_CAPABILITIES_RECORD_NUMBER 0x00000011\r
-\r
-typedef struct {\r
-  UINT32  Status              :1;\r
-  UINT32  BootOption          :2;\r
-  UINT32  BootOptionOnLimit   :2;\r
-  UINT32  WatchdogTimerPresent:1;\r
-  UINT32  Reserved            :26;\r
-} EFI_MISC_RESET_CAPABILITIES_TYPE;\r
-\r
-typedef struct {\r
-  EFI_MISC_RESET_CAPABILITIES_TYPE  ResetCapabilities;\r
-  UINT16                            ResetCount;\r
-  UINT16                            ResetLimit;\r
-  UINT16                            ResetTimerInterval;\r
-  UINT16                            ResetTimeout;\r
-} EFI_MISC_RESET_CAPABILITIES;\r
\r
-typedef struct {\r
-    EFI_MISC_RESET_CAPABILITIES   ResetCapabilities;\r
-    UINT16                        ResetCount;\r
-    UINT16                        ResetLimit;\r
-    UINT16                        ResetTimerInterval;\r
-    UINT16                        ResetTimeout;\r
-} EFI_MISC_RESET_CAPABILITIES_DATA;       \r
-\r
-//\r
-//////////////////////////////////////////////////////////////////////////////\r
-//\r
-// Misc. Hardware Security - SMBIOS Type 24\r
-//\r
-#define EFI_MISC_HARDWARE_SECURITY_RECORD_NUMBER 0x00000012\r
-\r
-typedef enum {\r
-  EfiHardwareSecurityStatusDisabled       = 0,\r
-  EfiHardwareSecurityStatusEnabled        = 1,\r
-  EfiHardwareSecurityStatusNotImplemented = 2,\r
-  EfiHardwareSecurityStatusUnknown        = 3\r
-} EFI_MISC_HARDWARE_SECURITY_STATUS; \r
-\r
-typedef struct {\r
-  EFI_MISC_HARDWARE_SECURITY_STATUS   FrontPanelResetStatus       :2;  \r
-  EFI_MISC_HARDWARE_SECURITY_STATUS   AdministratorPasswordStatus :2;  \r
-  EFI_MISC_HARDWARE_SECURITY_STATUS   KeyboardPasswordStatus      :2;  \r
-  EFI_MISC_HARDWARE_SECURITY_STATUS   PowerOnPasswordStatus       :2;  \r
-  EFI_MISC_HARDWARE_SECURITY_STATUS   Reserved                    :24;  \r
-} EFI_MISC_HARDWARE_SECURITY_SETTINGS;\r
-\r
-typedef struct {\r
-  EFI_MISC_HARDWARE_SECURITY_SETTINGS HardwareSecuritySettings;\r
-} EFI_MISC_HARDWARE_SECURITY_SETTINGS_DATA;       \r
-\r
-//\r
-//////////////////////////////////////////////////////////////////////////////\r
-//\r
-// System Power Controls - SMBIOS Type 25\r
-//\r
-#define EFI_MISC_SCHEDULED_POWER_ON_MONTH_RECORD_NUMBER  0x00000013\r
-\r
-typedef struct {\r
-  UINT16             ScheduledPoweronMonth;\r
-  UINT16             ScheduledPoweronDayOfMonth;\r
-  UINT16             ScheduledPoweronHour;\r
-  UINT16             ScheduledPoweronMinute;\r
-  UINT16             ScheduledPoweronSecond;\r
-} EFI_MISC_SCHEDULED_POWER_ON_MONTH_DATA;  \r
-\r
-//\r
-//////////////////////////////////////////////////////////////////////////////\r
-//\r
-// Voltage Probe - SMBIOS Type 26\r
-//\r
-#define EFI_MISC_VOLTAGE_PROBE_DESCRIPTION_RECORD_NUMBER  0x00000014\r
-\r
-typedef struct {\r
-  UINT32 VoltageProbeSite        :5;\r
-  UINT32 VoltageProbeStatus      :3;\r
-  UINT32 Reserved                :24;\r
-} EFI_MISC_VOLTAGE_PROBE_LOCATION;\r
-\r
-typedef struct {\r
-  STRING_REF                      VoltageProbeDescription;\r
-  EFI_MISC_VOLTAGE_PROBE_LOCATION VoltageProbeLocation;\r
-  EFI_EXP_BASE10_DATA             VoltageProbeMaximumValue;\r
-  EFI_EXP_BASE10_DATA             VoltageProbeMinimumValue;\r
-  EFI_EXP_BASE10_DATA             VoltageProbeResolution;\r
-  EFI_EXP_BASE10_DATA             VoltageProbeTolerance;\r
-  EFI_EXP_BASE10_DATA             VoltageProbeAccuracy;\r
-  EFI_EXP_BASE10_DATA             VoltageProbeNominalValue;\r
-  EFI_EXP_BASE10_DATA             MDLowerNoncriticalThreshold;\r
-  EFI_EXP_BASE10_DATA             MDUpperNoncriticalThreshold;\r
-  EFI_EXP_BASE10_DATA             MDLowerCriticalThreshold;\r
-  EFI_EXP_BASE10_DATA             MDUpperCriticalThreshold;\r
-  EFI_EXP_BASE10_DATA             MDLowerNonrecoverableThreshold;\r
-  EFI_EXP_BASE10_DATA             MDUpperNonrecoverableThreshold;\r
-  UINT32                          VoltageProbeOemDefined;\r
-} EFI_MISC_VOLTAGE_PROBE_DESCRIPTION_DATA; \r
-\r
-//\r
-//////////////////////////////////////////////////////////////////////////////\r
-//\r
-// Cooling Device - SMBIOS Type 27\r
-//\r
-#define EFI_MISC_COOLING_DEVICE_TEMP_LINK_RECORD_NUMBER   0x00000015\r
-\r
-typedef struct {\r
-  UINT32 CoolingDevice                 :5;\r
-  UINT32 CoolingDeviceStatus           :3;\r
-  UINT32 Reserved                      :24;\r
-} EFI_MISC_COOLING_DEVICE_TYPE;\r
-\r
-typedef struct {\r
-  EFI_MISC_COOLING_DEVICE_TYPE   CoolingDeviceType;\r
-  EFI_INTER_LINK_DATA            CoolingDeviceTemperatureLink;\r
-  UINT16                         CoolingDeviceUnitGroup;\r
-  EFI_EXP_BASE10_DATA            CoolingDeviceNominalSpeed;\r
-  UINT32                         CoolingDeviceOemDefined;\r
-} EFI_MISC_COOLING_DEVICE_TEMP_LINK_DATA; \r
-\r
-//\r
-//////////////////////////////////////////////////////////////////////////////\r
-//\r
-// Temperature Probe - SMBIOS Type 28\r
-//\r
-#define EFI_MISC_TEMPERATURE_PROBE_DESCRIPTION_RECORD_NUMBER   0x00000016\r
-\r
-typedef struct {\r
-  UINT32 TemperatureProbeSite          :5;\r
-  UINT32 TemperatureProbeStatus        :3;\r
-  UINT32 Reserved                      :24;\r
-} EFI_MISC_TEMPERATURE_PROBE_LOCATION;\r
-\r
-typedef struct {\r
-  STRING_REF               TemperatureProbeDescription;\r
-  EFI_MISC_TEMPERATURE_PROBE_LOCATION\r
-                           TemperatureProbeLocation;\r
-  EFI_EXP_BASE10_DATA      TemperatureProbeMaximumValue;\r
-  EFI_EXP_BASE10_DATA      TemperatureProbeMinimumValue;\r
-  EFI_EXP_BASE10_DATA      TemperatureProbeResolution;\r
-  EFI_EXP_BASE10_DATA      TemperatureProbeTolerance;\r
-  EFI_EXP_BASE10_DATA      TemperatureProbeAccuracy;\r
-  EFI_EXP_BASE10_DATA      TemperatureProbeNominalValue; \r
-  EFI_EXP_BASE10_DATA      MDLowerNoncriticalThreshold;\r
-  EFI_EXP_BASE10_DATA      MDUpperNoncriticalThreshold;\r
-  EFI_EXP_BASE10_DATA      MDLowerCriticalThreshold;\r
-  EFI_EXP_BASE10_DATA      MDUpperCriticalThreshold;\r
-  EFI_EXP_BASE10_DATA      MDLowerNonrecoverableThreshold;\r
-  EFI_EXP_BASE10_DATA      MDUpperNonrecoverableThreshold;\r
-  UINT32                   TemperatureProbeOemDefined;\r
-} EFI_MISC_TEMPERATURE_PROBE_DESCRIPTION_DATA;  \r
-\r
-//\r
-//////////////////////////////////////////////////////////////////////////////\r
-//\r
-// Electrical Current Probe - SMBIOS Type 29\r
-//\r
-\r
-#define EFI_MISC_ELECTRICAL_CURRENT_PROBE_DESCRIPTION_RECORD_NUMBER  0x00000017\r
-\r
-typedef struct {\r
-  UINT32 ElectricalCurrentProbeSite    :5;\r
-  UINT32 ElectricalCurrentProbeStatus  :3;\r
-  UINT32 Reserved                      :24;\r
-} EFI_MISC_ELECTRICAL_CURRENT_PROBE_LOCATION;\r
-\r
-typedef struct {\r
-  STRING_REF               ElectricalCurrentProbeDescription;\r
-  EFI_MISC_ELECTRICAL_CURRENT_PROBE_LOCATION\r
-                           ElectricalCurrentProbeLocation;\r
-  EFI_EXP_BASE10_DATA      ElectricalCurrentProbeMaximumValue;\r
-  EFI_EXP_BASE10_DATA      ElectricalCurrentProbeMinimumValue;\r
-  EFI_EXP_BASE10_DATA      ElectricalCurrentProbeResolution;\r
-  EFI_EXP_BASE10_DATA      ElectricalCurrentProbeTolerance;\r
-  EFI_EXP_BASE10_DATA      ElectricalCurrentProbeAccuracy;\r
-  EFI_EXP_BASE10_DATA      ElectricalCurrentProbeNominalValue;\r
-  EFI_EXP_BASE10_DATA      MDLowerNoncriticalThreshold;\r
-  EFI_EXP_BASE10_DATA      MDUpperNoncriticalThreshold;\r
-  EFI_EXP_BASE10_DATA      MDLowerCriticalThreshold;\r
-  EFI_EXP_BASE10_DATA      MDUpperCriticalThreshold;\r
-  EFI_EXP_BASE10_DATA      MDLowerNonrecoverableThreshold;\r
-  EFI_EXP_BASE10_DATA      MDUpperNonrecoverableThreshold;\r
-  UINT32                   ElectricalCurrentProbeOemDefined;\r
-} EFI_MISC_ELECTRICAL_CURRENT_PROBE_DESCRIPTION_DATA;\r
-\r
-//\r
-//////////////////////////////////////////////////////////////////////////////\r
-//\r
-// Out-of-Band Remote Access - SMBIOS Type 30\r
-//\r
-\r
-#define EFI_MISC_REMOTE_ACCESS_MANUFACTURER_DESCRIPTION_RECORD_NUMBER  0x00000018\r
-\r
-typedef struct  {\r
-  UINT32 InboundConnectionEnabled            :1;\r
-  UINT32 OutboundConnectionEnabled           :1;\r
-  UINT32 Reserved                            :30;\r
-} EFI_MISC_REMOTE_ACCESS_CONNECTIONS;\r
-\r
-typedef struct {\r
-  STRING_REF                             RemoteAccessManufacturerNameDescription;\r
-  EFI_MISC_REMOTE_ACCESS_CONNECTIONS     RemoteAccessConnections;\r
-} EFI_MISC_REMOTE_ACCESS_MANUFACTURER_DESCRIPTION_DATA;\r
-\r
-//\r
-//////////////////////////////////////////////////////////////////////////////\r
-//\r
-// Misc. BIS Entry Point - SMBIOS Type 31\r
-//\r
-#define EFI_MISC_BIS_ENTRY_POINT_RECORD_NUMBER          0x00000019\r
-\r
-typedef struct {\r
-  EFI_PHYSICAL_ADDRESS       BisEntryPoint;\r
-} EFI_MISC_BIS_ENTRY_POINT_DATA;    \r
-\r
-//\r
-//////////////////////////////////////////////////////////////////////////////\r
-//\r
-// Misc. Boot Information - SMBIOS Type 32\r
-//\r
-#define EFI_MISC_BOOT_INFORMATION_STATUS_RECORD_NUMBER  0x0000001A\r
-\r
-typedef enum {  \r
-  EfiBootInformationStatusNoError                  = 0x00,\r
-  EfiBootInformationStatusNoBootableMedia          = 0x01,\r
-  EfiBootInformationStatusNormalOSFailedLoading    = 0x02,\r
-  EfiBootInformationStatusFirmwareDetectedFailure  = 0x03,\r
-  EfiBootInformationStatusOSDetectedFailure        = 0x04,\r
-  EfiBootInformationStatusUserRequestedBoot        = 0x05,\r
-  EfiBootInformationStatusSystemSecurityViolation  = 0x06,\r
-  EfiBootInformationStatusPreviousRequestedImage   = 0x07,\r
-  EfiBootInformationStatusWatchdogTimerExpired     = 0x08,\r
-  EfiBootInformationStatusStartReserved            = 0x09,\r
-  EfiBootInformationStatusStartOemSpecific         = 0x80,\r
-  EfiBootInformationStatusStartProductSpecific     = 0xC0,\r
-} EFI_MISC_BOOT_INFORMATION_STATUS_DATA_TYPE;\r
-\r
-typedef struct {\r
-  EFI_MISC_BOOT_INFORMATION_STATUS_DATA_TYPE BootInformationStatus;\r
-  UINT8                                      BootInformationData[9];\r
-} EFI_MISC_BOOT_INFORMATION_STATUS_DATA;\r
-\r
-//\r
-//////////////////////////////////////////////////////////////////////////////\r
-//\r
-// Management Device - SMBIOS Type 34\r
-//\r
-#define EFI_MISC_MANAGEMENT_DEVICE_DESCRIPTION_RECORD_NUMBER   0x0000001B\r
-\r
-typedef enum { \r
-  EfiManagementDeviceTypeOther      = 0x01,\r
-  EfiManagementDeviceTypeUnknown    = 0x02,\r
-  EfiManagementDeviceTypeLm75       = 0x03,\r
-  EfiManagementDeviceTypeLm78       = 0x04,\r
-  EfiManagementDeviceTypeLm79       = 0x05,\r
-  EfiManagementDeviceTypeLm80       = 0x06,\r
-  EfiManagementDeviceTypeLm81       = 0x07,\r
-  EfiManagementDeviceTypeAdm9240    = 0x08,\r
-  EfiManagementDeviceTypeDs1780     = 0x09,\r
-  EfiManagementDeviceTypeMaxim1617  = 0x0A,\r
-  EfiManagementDeviceTypeGl518Sm    = 0x0B,\r
-  EfiManagementDeviceTypeW83781D    = 0x0C,\r
-  EfiManagementDeviceTypeHt82H791   = 0x0D,\r
-} EFI_MISC_MANAGEMENT_DEVICE_TYPE;\r
-\r
-typedef enum { \r
-  EfiManagementDeviceAddressTypeOther   = 1,\r
-  EfiManagementDeviceAddressTypeUnknown = 2,\r
-  EfiManagementDeviceAddressTypeIOPort  = 3,\r
-  EfiManagementDeviceAddressTypeMemory  = 4,\r
-  EfiManagementDeviceAddressTypeSmbus   = 5\r
-} EFI_MISC_MANAGEMENT_DEVICE_ADDRESS_TYPE;\r
-\r
-typedef struct {\r
-  STRING_REF                       ManagementDeviceDescription;\r
-  EFI_MISC_MANAGEMENT_DEVICE_TYPE  ManagementDeviceType;\r
-  UINTN                            ManagementDeviceAddress;\r
-  EFI_MISC_MANAGEMENT_DEVICE_ADDRESS_TYPE\r
-                                   ManagementDeviceAddressType;\r
-} EFI_MISC_MANAGEMENT_DEVICE_DESCRIPTION_DATA; \r
-\r
-//\r
-//////////////////////////////////////////////////////////////////////////////\r
-//\r
-// Management Device Component - SMBIOS Type 35\r
-//\r
-\r
-#define EFI_MISC_MANAGEMENT_DEVICE_COMPONENT_DESCRIPTION_RECORD_NUMBER  0x0000001C\r
-\r
-typedef struct {\r
-  STRING_REF               ManagementDeviceComponentDescription;\r
-  EFI_INTER_LINK_DATA      ManagementDeviceLink;\r
-  EFI_INTER_LINK_DATA      ManagementDeviceComponentLink; \r
-} EFI_MISC_MANAGEMENT_DEVICE_COMPONENT_DESCRIPTION_DATA; \r
-\r
-//\r
-//////////////////////////////////////////////////////////////////////////////\r
-//\r
-// IPMI Data Record - SMBIOS Type 38\r
-//\r
-typedef enum {  \r
-  EfiIpmiOther = 0,\r
-  EfiIpmiKcs   = 1,\r
-  EfiIpmiSmic  = 2,\r
-  EfiIpmiBt    = 3,\r
-} EFI_MISC_IPMI_INTERFACE_TYPE;\r
-\r
-typedef struct {\r
-  UINT16  IpmiSpecLeastSignificantDigit:4;\r
-  UINT16  IpmiSpecMostSignificantDigit: 4;\r
-  UINT16  Reserved:                     8;\r
-} EFI_MISC_IPMI_SPECIFICATION_REVISION;\r
-\r
-typedef struct {\r
-  EFI_MISC_IPMI_INTERFACE_TYPE          IpmiInterfaceType;\r
-  EFI_MISC_IPMI_SPECIFICATION_REVISION  IpmiSpecificationRevision;\r
-  UINT16                                IpmiI2CSlaveAddress;\r
-  UINT16                                IpmiNvDeviceAddress;\r
-  UINT64                                IpmiBaseAddress;\r
-  EFI_DEVICE_PATH_PROTOCOL              IpmiDevicePath;\r
-} EFI_MISC_IPMI_INTERFACE_TYPE_DATA;\r
-       \r
-#define EFI_MISC_IPMI_INTERFACE_TYPE_RECORD_NUMBER  0x0000001D\r
-\r
-//\r
-//////////////////////////////////////////////////////////////////////////////\r
-//\r
-//System Power supply Record - SMBIOS Type 39\r
-//\r
-typedef struct {\r
-  UINT16  PowerSupplyHotReplaceable  :1;\r
-  UINT16  PowerSupplyPresent         :1;\r
-  UINT16  PowerSupplyUnplugged       :1;\r
-  UINT16  InputVoltageRangeSwitch    :4;\r
-  UINT16  PowerSupplyStatus          :3;\r
-  UINT16  PowerSupplyType            :4;\r
-  UINT16  Reserved                   :2;\r
-} POWER_SUPPLY_CHARACTERISTICS;\r
-\r
-typedef struct {\r
-  UINT16                          PowerUnitGroup;\r
-  STRING_REF                      PowerSupplyLocation;\r
-  STRING_REF                      PowerSupplyDeviceName;\r
-  STRING_REF                      PowerSupplyManufacturer;\r
-  STRING_REF                      PowerSupplySerialNumber;\r
-  STRING_REF                      PowerSupplyAssetTagNumber;\r
-  STRING_REF                      PowerSupplyModelPartNumber;\r
-  STRING_REF                      PowerSupplyRevisionLevel;\r
-  UINT16                          PowerSupplyMaxPowerCapacity;\r
-  POWER_SUPPLY_CHARACTERISTICS    PowerSupplyCharacteristics;\r
-  EFI_INTER_LINK_DATA             PowerSupplyInputVoltageProbeLink;\r
-  EFI_INTER_LINK_DATA             PowerSupplyCoolingDeviceLink;\r
-  EFI_INTER_LINK_DATA             PowerSupplyInputCurrentProbeLink;\r
-} EFI_MISC_SYSTEM_POWER_SUPPLY_DATA;\r
-\r
-#define EFI_MISC_SYSTEM_POWER_SUPPLY_RECORD_NUMBER 0x0000001E\r
-\r
-//\r
-//////////////////////////////////////////////////////////////////////////////\r
-//\r
-// OEM Data Record - SMBIOS Type 0x80-0xFF\r
-//\r
-typedef struct {\r
-  UINT8       Type;\r
-  UINT8       Length;\r
-  UINT16      Handle;\r
-} SMBIOS_STRUCTURE_HDR;\r
-\r
-typedef struct {\r
-  SMBIOS_STRUCTURE_HDR          Header;\r
-  UINT8                         RawData[1];\r
-} EFI_MISC_SMBIOS_STRUCT_ENCAPSULATION_DATA; \r
-\r
-#define EFI_MISC_SMBIOS_STRUCT_ENCAP_RECORD_NUMBER  0x0000001F \r
-\r
-//\r
-//////////////////////////////////////////////////////////////////////////////\r
-//\r
-typedef union {\r
-  EFI_MISC_LAST_PCI_BUS_DATA                         LastPciBus;\r
-  EFI_MISC_BIOS_VENDOR_DATA                          MiscBiosVendor;\r
-  EFI_MISC_SYSTEM_MANUFACTURER_DATA                  MiscSystemManufacturer;\r
-  EFI_MISC_BASE_BOARD_MANUFACTURER_DATA              MiscBaseBoardManufacturer;\r
-  EFI_MISC_CHASSIS_MANUFACTURER_DATA                 MiscChassisManufacturer;  \r
-  EFI_MISC_PORT_INTERNAL_CONNECTOR_DESIGNATOR_DATA   MiscPortInternalConnectorDesignator;\r
-  EFI_MISC_SYSTEM_SLOT_DESIGNATION_DATA              MiscSystemSlotDesignation;\r
-  EFI_MISC_ONBOARD_DEVICE_DATA                       MiscOnboardDevice;\r
-  EFI_MISC_OEM_STRING_DATA                           MiscOemString;\r
-  EFI_MISC_SYSTEM_OPTION_STRING_DATA                 MiscOptionString;\r
-  EFI_MISC_NUMBER_OF_INSTALLABLE_LANGUAGES_DATA      NumberOfInstallableLanguages;\r
-  EFI_MISC_SYSTEM_LANGUAGE_STRING_DATA               MiscSystemLanguageString;  \r
-  EFI_MISC_GROUP_NAME_DATA                           MiscGroupNameData;\r
-  EFI_MISC_GROUP_ITEM_SET_DATA                       MiscGroupItemSetData;\r
-  EFI_MISC_PORTING_DEVICE_TYPE_DATA                  MiscPortingDeviceTypeData;\r
-  EFI_MISC_RESET_CAPABILITIES_DATA                   MiscResetCapablilitiesData;\r
-  EFI_MISC_HARDWARE_SECURITY_SETTINGS_DATA           MiscHardwareSecuritySettingsData;  \r
-  EFI_MISC_SCHEDULED_POWER_ON_MONTH_DATA             MiscScheduledPowerOnMonthData;\r
-  EFI_MISC_VOLTAGE_PROBE_DESCRIPTION_DATA            MiscVoltagePorbeDescriptionData;\r
-  EFI_MISC_COOLING_DEVICE_TEMP_LINK_DATA             MiscCoolingDeviceTempLinkData;\r
-  EFI_MISC_TEMPERATURE_PROBE_DESCRIPTION_DATA        MiscTemperatureProbeDescriptionData;   \r
-  EFI_MISC_ELECTRICAL_CURRENT_PROBE_DESCRIPTION_DATA MiscElectricalCurrentProbeDescriptionData;\r
-  EFI_MISC_REMOTE_ACCESS_MANUFACTURER_DESCRIPTION_DATA\r
-                                                     MiscRemoteAccessManufacturerDescriptionData;\r
-  EFI_MISC_BIS_ENTRY_POINT_DATA                      MiscBisEntryPoint;\r
-  EFI_MISC_BOOT_INFORMATION_STATUS_DATA              MiscBootInformationStatus;\r
-  EFI_MISC_MANAGEMENT_DEVICE_DESCRIPTION_DATA        MiscMangementDeviceDescriptionData;\r
-  EFI_MISC_MANAGEMENT_DEVICE_COMPONENT_DESCRIPTION_DATA\r
-                                                     MiscmangementDeviceComponentDescriptionData;\r
-  EFI_MISC_IPMI_INTERFACE_TYPE_DATA                  MiscIpmiInterfaceTypeData;\r
-  EFI_MISC_SYSTEM_POWER_SUPPLY_DATA                  MiscPowerSupplyInfo;\r
-  EFI_MISC_SMBIOS_STRUCT_ENCAPSULATION_DATA          MiscSmbiosStructEncapsulation;  \r
-} EFI_MISC_SUBCLASS_RECORDS;\r
-\r
-//\r
-//\r
-//\r
-typedef struct {\r
-  EFI_SUBCLASS_TYPE1_HEADER       Header;\r
-  EFI_MISC_SUBCLASS_RECORDS       Record;\r
-} EFI_MISC_SUBCLASS_DRIVER_DATA;\r
-\r
-#pragma pack()\r
-\r
-//\r
-// Sub Class Header type1\r
-//\r
-\r
-#define EFI_SUBCLASS_INSTANCE_RESERVED       0\r
-#define EFI_SUBCLASS_INSTANCE_NON_APPLICABLE 0xFFFF  //16 bit\r
-\r
-#endif\r
-\r
diff --git a/Tools/Source/TianoTools/Include/Common/Hob.h b/Tools/Source/TianoTools/Include/Common/Hob.h
deleted file mode 100644 (file)
index b6ae6de..0000000
+++ /dev/null
@@ -1,235 +0,0 @@
-/** @file\r
-  Hand Off Block (HOB) definition.\r
-\r
-  The HOB is a memory data structure used to hand-off system information from\r
-  PEI to DXE (the next phase).\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:  Hob.h\r
-\r
-  @par Revision Reference:\r
-  These definitions are from Hand Off Block (HOB) Spec Version 0.9.\r
-\r
-**/\r
-\r
-#ifndef __HOB_H__\r
-#define __HOB_H__\r
-\r
-\r
-//\r
-// Every Hob must start with this data structure.\r
-//\r
-typedef struct {\r
-  UINT16  HobType;\r
-  UINT16  HobLength;\r
-  UINT32  Reserved;\r
-} EFI_HOB_GENERIC_HEADER;\r
-\r
-//\r
-// End of HOB List HOB\r
-//\r
-#define EFI_HOB_TYPE_END_OF_HOB_LIST  0xffff\r
-\r
-//\r
-// Handoff Information Table HOB\r
-//\r
-#define EFI_HOB_TYPE_HANDOFF          0x0001\r
-\r
-#define EFI_HOB_HANDOFF_TABLE_VERSION 0x0009\r
-\r
-typedef UINT32  EFI_BOOT_MODE;\r
-\r
-typedef struct {\r
-  EFI_HOB_GENERIC_HEADER  Header;\r
-  UINT32                  Version;\r
-  EFI_BOOT_MODE           BootMode;\r
-  EFI_PHYSICAL_ADDRESS    EfiMemoryTop;\r
-  EFI_PHYSICAL_ADDRESS    EfiMemoryBottom;\r
-  EFI_PHYSICAL_ADDRESS    EfiFreeMemoryTop;\r
-  EFI_PHYSICAL_ADDRESS    EfiFreeMemoryBottom;\r
-  EFI_PHYSICAL_ADDRESS    EfiEndOfHobList;\r
-} EFI_HOB_HANDOFF_INFO_TABLE;\r
-\r
-//\r
-// Memory Descriptor HOB\r
-//\r
-#define EFI_HOB_TYPE_MEMORY_ALLOCATION  0x0002\r
-\r
-typedef struct {\r
-  EFI_GUID              Name;\r
-  EFI_PHYSICAL_ADDRESS  MemoryBaseAddress;\r
-  UINT64                MemoryLength;\r
-  EFI_MEMORY_TYPE       MemoryType;\r
-  UINT8                 Reserved[4];\r
-} EFI_HOB_MEMORY_ALLOCATION_HEADER;\r
-\r
-typedef struct {\r
-  EFI_HOB_GENERIC_HEADER            Header;\r
-  EFI_HOB_MEMORY_ALLOCATION_HEADER  AllocDescriptor;\r
-  //\r
-  // Additional data pertaining to the "Name" Guid memory\r
-  // may go here.\r
-  //\r
-} EFI_HOB_MEMORY_ALLOCATION;\r
-\r
-typedef struct {\r
-  EFI_HOB_GENERIC_HEADER            Header;\r
-  EFI_HOB_MEMORY_ALLOCATION_HEADER  AllocDescriptor;\r
-} EFI_HOB_MEMORY_ALLOCATION_BSP_STORE;\r
-\r
-typedef struct {\r
-  EFI_HOB_GENERIC_HEADER            Header;\r
-  EFI_HOB_MEMORY_ALLOCATION_HEADER  AllocDescriptor;\r
-} EFI_HOB_MEMORY_ALLOCATION_STACK;\r
-\r
-typedef struct {\r
-  EFI_HOB_GENERIC_HEADER            Header;\r
-  EFI_HOB_MEMORY_ALLOCATION_HEADER  MemoryAllocationHeader;\r
-  EFI_GUID                          ModuleName;\r
-  EFI_PHYSICAL_ADDRESS              EntryPoint;\r
-} EFI_HOB_MEMORY_ALLOCATION_MODULE;\r
-\r
-#define EFI_HOB_TYPE_RESOURCE_DESCRIPTOR  0x0003\r
-\r
-typedef UINT32  EFI_RESOURCE_TYPE;\r
-\r
-#define EFI_RESOURCE_SYSTEM_MEMORY          0\r
-#define EFI_RESOURCE_MEMORY_MAPPED_IO       1\r
-#define EFI_RESOURCE_IO                     2\r
-#define EFI_RESOURCE_FIRMWARE_DEVICE        3\r
-#define EFI_RESOURCE_MEMORY_MAPPED_IO_PORT  4\r
-#define EFI_RESOURCE_MEMORY_RESERVED        5\r
-#define EFI_RESOURCE_IO_RESERVED            6\r
-#define EFI_RESOURCE_MAX_MEMORY_TYPE        7\r
-\r
-typedef UINT32  EFI_RESOURCE_ATTRIBUTE_TYPE;\r
-\r
-#define EFI_RESOURCE_ATTRIBUTE_PRESENT                  0x00000001\r
-#define EFI_RESOURCE_ATTRIBUTE_INITIALIZED              0x00000002\r
-#define EFI_RESOURCE_ATTRIBUTE_TESTED                   0x00000004\r
-#define EFI_RESOURCE_ATTRIBUTE_SINGLE_BIT_ECC           0x00000008\r
-#define EFI_RESOURCE_ATTRIBUTE_MULTIPLE_BIT_ECC         0x00000010\r
-#define EFI_RESOURCE_ATTRIBUTE_ECC_RESERVED_1           0x00000020\r
-#define EFI_RESOURCE_ATTRIBUTE_ECC_RESERVED_2           0x00000040\r
-#define EFI_RESOURCE_ATTRIBUTE_READ_PROTECTED           0x00000080\r
-#define EFI_RESOURCE_ATTRIBUTE_WRITE_PROTECTED          0x00000100\r
-#define EFI_RESOURCE_ATTRIBUTE_EXECUTION_PROTECTED      0x00000200\r
-#define EFI_RESOURCE_ATTRIBUTE_UNCACHEABLE              0x00000400\r
-#define EFI_RESOURCE_ATTRIBUTE_WRITE_COMBINEABLE        0x00000800\r
-#define EFI_RESOURCE_ATTRIBUTE_WRITE_THROUGH_CACHEABLE  0x00001000\r
-#define EFI_RESOURCE_ATTRIBUTE_WRITE_BACK_CACHEABLE     0x00002000\r
-#define EFI_RESOURCE_ATTRIBUTE_16_BIT_IO                0x00004000\r
-#define EFI_RESOURCE_ATTRIBUTE_32_BIT_IO                0x00008000\r
-#define EFI_RESOURCE_ATTRIBUTE_64_BIT_IO                0x00010000\r
-#define EFI_RESOURCE_ATTRIBUTE_UNCACHED_EXPORTED        0x00020000\r
-\r
-typedef struct {\r
-  EFI_HOB_GENERIC_HEADER      Header;\r
-  EFI_GUID                    Owner;\r
-  EFI_RESOURCE_TYPE           ResourceType;\r
-  EFI_RESOURCE_ATTRIBUTE_TYPE ResourceAttribute;\r
-  EFI_PHYSICAL_ADDRESS        PhysicalStart;\r
-  UINT64                      ResourceLength;\r
-} EFI_HOB_RESOURCE_DESCRIPTOR;\r
-\r
-//\r
-// GUID Extension HOB\r
-// The HobLength is variable as it includes the GUID specific data.\r
-//\r
-#define EFI_HOB_TYPE_GUID_EXTENSION 0x0004\r
-\r
-typedef struct {\r
-  EFI_HOB_GENERIC_HEADER  Header;\r
-  EFI_GUID                Name;\r
-\r
-  //\r
-  // Guid specific data goes here\r
-  //\r
-} EFI_HOB_GUID_TYPE;\r
-\r
-//\r
-// Firmware Volume HOB\r
-//\r
-#define EFI_HOB_TYPE_FV 0x0005\r
-\r
-typedef struct {\r
-  EFI_HOB_GENERIC_HEADER  Header;\r
-  EFI_PHYSICAL_ADDRESS    BaseAddress;\r
-  UINT64                  Length;\r
-} EFI_HOB_FIRMWARE_VOLUME;\r
-\r
-//\r
-// CPU HOB\r
-//\r
-#define EFI_HOB_TYPE_CPU  0x0006\r
-\r
-typedef struct {\r
-  EFI_HOB_GENERIC_HEADER  Header;\r
-  UINT8                   SizeOfMemorySpace;\r
-  UINT8                   SizeOfIoSpace;\r
-  UINT8                   Reserved[6];\r
-} EFI_HOB_CPU;\r
-\r
-//\r
-// PEI Core Memory Pool HOB\r
-// The HobLength is variable as the HOB contains pool allocations by\r
-// the PeiServices AllocatePool function\r
-//\r
-#define EFI_HOB_TYPE_PEI_MEMORY_POOL  0x0007\r
-\r
-typedef struct {\r
-  EFI_HOB_GENERIC_HEADER  Header;\r
-} EFI_HOB_MEMORY_POOL;\r
-\r
-//\r
-// Capsule volume HOB -- identical to a firmware volume\r
-//\r
-#define EFI_HOB_TYPE_CV 0x0008\r
-\r
-typedef struct {\r
-  EFI_HOB_GENERIC_HEADER  Header;\r
-  EFI_PHYSICAL_ADDRESS    BaseAddress;\r
-  UINT64                  Length;\r
-} EFI_HOB_CAPSULE_VOLUME;\r
-\r
-#define EFI_HOB_TYPE_UNUSED 0xFFFE\r
-\r
-//\r
-// Union of all the possible HOB Types\r
-//\r
-typedef union {\r
-  EFI_HOB_GENERIC_HEADER              *Header;\r
-  EFI_HOB_HANDOFF_INFO_TABLE          *HandoffInformationTable;\r
-  EFI_HOB_MEMORY_ALLOCATION           *MemoryAllocation;\r
-  EFI_HOB_MEMORY_ALLOCATION_BSP_STORE *MemoryAllocationBspStore;\r
-  EFI_HOB_MEMORY_ALLOCATION_STACK     *MemoryAllocationStack;\r
-  EFI_HOB_MEMORY_ALLOCATION_MODULE    *MemoryAllocationModule;\r
-  EFI_HOB_RESOURCE_DESCRIPTOR         *ResourceDescriptor;\r
-  EFI_HOB_GUID_TYPE                   *Guid;\r
-  EFI_HOB_FIRMWARE_VOLUME             *FirmwareVolume;\r
-  EFI_HOB_CPU                         *Cpu;\r
-  EFI_HOB_MEMORY_POOL                 *Pool;\r
-  EFI_HOB_CAPSULE_VOLUME              *CapsuleVolume;\r
-  UINT8                               *Raw;\r
-} EFI_PEI_HOB_POINTERS;\r
-\r
-#define GET_HOB_TYPE(Hob)     ((Hob).Header->HobType)\r
-#define GET_HOB_LENGTH(Hob)   ((Hob).Header->HobLength)\r
-#define GET_NEXT_HOB(Hob)     ((Hob).Raw + GET_HOB_LENGTH (Hob))\r
-#define END_OF_HOB_LIST(Hob)  (GET_HOB_TYPE (Hob) == EFI_HOB_TYPE_END_OF_HOB_LIST)\r
-\r
-//\r
-// Get the data and data size field of GUID \r
-//\r
-#define GET_GUID_HOB_DATA(GuidHob)      ((VOID *) (((UINT8 *) &((GuidHob)->Name)) + sizeof (EFI_GUID)))\r
-#define GET_GUID_HOB_DATA_SIZE(GuidHob) (((GuidHob)->Header).HobLength - sizeof (EFI_HOB_GUID_TYPE))\r
-\r
-#endif\r
diff --git a/Tools/Source/TianoTools/Include/Common/StatusCode.h b/Tools/Source/TianoTools/Include/Common/StatusCode.h
deleted file mode 100644 (file)
index 474ed10..0000000
+++ /dev/null
@@ -1,912 +0,0 @@
-/** @file\r
-  Status Code Definitions, according to Intel Platform Innovation Framework \r
-  for EFI Status Codes Specification\r
-\r
-  The file is divided into sections for ease of use.\r
-\r
-<pre>\r
-  Section:    Contents:\r
-  1           General Status Code Definitions\r
-  2           Class definitions\r
-  3           Computing Unit Subclasses, Progress and Error Codes\r
-  4           Peripheral Subclasses, Progress and Error Codes.\r
-  5           IO Bus Subclasses, Progress and Error Codes.\r
-  6           Software Subclasses, Progress and Error Codes.\r
-  7           Debug Codes\r
-</pre>\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:  StatusCode.h\r
-\r
-  @par Revision Reference:\r
-  Version 0.92.\r
-\r
-**/\r
-\r
-#ifndef _EFI_STATUS_CODE_H_\r
-#define _EFI_STATUS_CODE_H_\r
-\r
-\r
-//\r
-// /////////////////////////////////////////////////////////////////////////////\r
-// Section 1\r
-///////////////////////////////////////////////////////////////////////////////\r
-\r
-//\r
-// A Status Code Type is made up of the code type and severity\r
-// All values masked by EFI_STATUS_CODE_RESERVED_MASK are\r
-// reserved for use by this specification.\r
-//\r
-#define EFI_STATUS_CODE_TYPE_MASK     0x000000FF\r
-#define EFI_STATUS_CODE_SEVERITY_MASK 0xFF000000\r
-#define EFI_STATUS_CODE_RESERVED_MASK 0x00FFFF00\r
-\r
-//\r
-// Definition of code types, all other values masked by\r
-// EFI_STATUS_CODE_TYPE_MASK are reserved for use by\r
-// this specification.\r
-//\r
-#define EFI_PROGRESS_CODE 0x00000001\r
-#define EFI_ERROR_CODE    0x00000002\r
-#define EFI_DEBUG_CODE    0x00000003\r
-\r
-//\r
-// Definitions of severities, all other values masked by\r
-// EFI_STATUS_CODE_SEVERITY_MASK are reserved for use by\r
-// this specification.\r
-//\r
-#define EFI_ERROR_MINOR       0x40000000\r
-#define EFI_ERROR_MAJOR       0x80000000\r
-#define EFI_ERROR_UNRECOVERED 0x90000000\r
-#define EFI_ERROR_UNCONTAINED 0xA0000000\r
-\r
-//\r
-// A Status Code Value is made up of the class, subclass, and\r
-// an operation.  Classes, subclasses, and operations are defined\r
-// in the following sections.\r
-//\r
-#define EFI_STATUS_CODE_CLASS_MASK      0xFF000000\r
-#define EFI_STATUS_CODE_SUBCLASS_MASK   0x00FF0000\r
-#define EFI_STATUS_CODE_OPERATION_MASK  0x0000FFFF\r
-\r
-//\r
-// Data Hub Status Code class record definition\r
-//\r
-typedef struct {\r
-  EFI_STATUS_CODE_TYPE  CodeType;\r
-  EFI_STATUS_CODE_VALUE Value;\r
-  UINT32                Instance;\r
-  EFI_GUID              CallerId;\r
-  EFI_STATUS_CODE_DATA  Data;\r
-} DATA_HUB_STATUS_CODE_DATA_RECORD;\r
-\r
-//\r
-// /////////////////////////////////////////////////////////////////////////////\r
-// Section 2\r
-///////////////////////////////////////////////////////////////////////////////\r
-//\r
-// Class definitions\r
-// Values of 4-127 are reserved for future use by this\r
-// specification.\r
-// Values in the range 127-255 are reserved for OEM use.\r
-//\r
-#define EFI_COMPUTING_UNIT  0x00000000\r
-#define EFI_PERIPHERAL      0x01000000\r
-#define EFI_IO_BUS          0x02000000\r
-#define EFI_SOFTWARE        0x03000000\r
-\r
-//\r
-// General partitioning scheme for Progress and Error Codes are\r
-// 0x0000-0x0FFF  - Shared by all sub-classes in a given class\r
-// 0x1000-0x7FFF  - Subclass Specific\r
-// 0x8000-0xFFFF  - OEM specific\r
-//\r
-#define EFI_SUBCLASS_SPECIFIC 0x1000\r
-#define EFI_OEM_SPECIFIC      0x8000\r
-\r
-//\r
-// /////////////////////////////////////////////////////////////////////////////\r
-// Section 3\r
-///////////////////////////////////////////////////////////////////////////////\r
-//\r
-// Computing Unit Subclass definitions.\r
-// Values of 8-127 are reserved for future use by this\r
-// specification.\r
-// Values of 128-255 are reserved for OEM use.\r
-//\r
-#define EFI_COMPUTING_UNIT_UNSPECIFIED        (EFI_COMPUTING_UNIT | 0x00000000)\r
-#define EFI_COMPUTING_UNIT_HOST_PROCESSOR     (EFI_COMPUTING_UNIT | 0x00010000)\r
-#define EFI_COMPUTING_UNIT_FIRMWARE_PROCESSOR (EFI_COMPUTING_UNIT | 0x00020000)\r
-#define EFI_COMPUTING_UNIT_IO_PROCESSOR       (EFI_COMPUTING_UNIT | 0x00030000)\r
-#define EFI_COMPUTING_UNIT_CACHE              (EFI_COMPUTING_UNIT | 0x00040000)\r
-#define EFI_COMPUTING_UNIT_MEMORY             (EFI_COMPUTING_UNIT | 0x00050000)\r
-#define EFI_COMPUTING_UNIT_CHIPSET            (EFI_COMPUTING_UNIT | 0x00060000)\r
-\r
-//\r
-// Computing Unit Class Progress Code definitions.\r
-// These are shared by all subclasses.\r
-//\r
-#define EFI_CU_PC_INIT_BEGIN  0x00000000\r
-#define EFI_CU_PC_INIT_END    0x00000001\r
-\r
-//\r
-// Computing Unit Unspecified Subclass Progress Code definitions.\r
-//\r
-//\r
-// Computing Unit Host Processor Subclass Progress Code definitions.\r
-//\r
-#define EFI_CU_HP_PC_POWER_ON_INIT          (EFI_SUBCLASS_SPECIFIC | 0x00000000)\r
-#define EFI_CU_HP_PC_CACHE_INIT             (EFI_SUBCLASS_SPECIFIC | 0x00000001)\r
-#define EFI_CU_HP_PC_RAM_INIT               (EFI_SUBCLASS_SPECIFIC | 0x00000002)\r
-#define EFI_CU_HP_PC_MEMORY_CONTROLLER_INIT (EFI_SUBCLASS_SPECIFIC | 0x00000003)\r
-#define EFI_CU_HP_PC_IO_INIT                (EFI_SUBCLASS_SPECIFIC | 0x00000004)\r
-#define EFI_CU_HP_PC_BSP_SELECT             (EFI_SUBCLASS_SPECIFIC | 0x00000005)\r
-#define EFI_CU_HP_PC_BSP_RESELECT           (EFI_SUBCLASS_SPECIFIC | 0x00000006)\r
-#define EFI_CU_HP_PC_AP_INIT                (EFI_SUBCLASS_SPECIFIC | 0x00000007)\r
-#define EFI_CU_HP_PC_SMM_INIT               (EFI_SUBCLASS_SPECIFIC | 0x00000008)\r
-\r
-//\r
-// Computing Unit Firmware Processor Subclass Progress Code definitions.\r
-//\r
-//\r
-// Computing Unit IO Processor Subclass Progress Code definitions.\r
-//\r
-//\r
-// Computing Unit Cache Subclass Progress Code definitions.\r
-//\r
-#define EFI_CU_CACHE_PC_PRESENCE_DETECT (EFI_SUBCLASS_SPECIFIC | 0x00000000)\r
-#define EFI_CU_CACHE_PC_CONFIGURATION   (EFI_SUBCLASS_SPECIFIC | 0x00000001)\r
-\r
-//\r
-// Computing Unit Memory Subclass Progress Code definitions.\r
-//\r
-#define EFI_CU_MEMORY_PC_SPD_READ         (EFI_SUBCLASS_SPECIFIC | 0x00000000)\r
-#define EFI_CU_MEMORY_PC_PRESENCE_DETECT  (EFI_SUBCLASS_SPECIFIC | 0x00000001)\r
-#define EFI_CU_MEMORY_PC_TIMING           (EFI_SUBCLASS_SPECIFIC | 0x00000002)\r
-#define EFI_CU_MEMORY_PC_CONFIGURING      (EFI_SUBCLASS_SPECIFIC | 0x00000003)\r
-#define EFI_CU_MEMORY_PC_OPTIMIZING       (EFI_SUBCLASS_SPECIFIC | 0x00000004)\r
-#define EFI_CU_MEMORY_PC_INIT             (EFI_SUBCLASS_SPECIFIC | 0x00000005)\r
-#define EFI_CU_MEMORY_PC_TEST             (EFI_SUBCLASS_SPECIFIC | 0x00000006)\r
-\r
-//\r
-// Computing Unit Chipset Subclass Progress Code definitions.\r
-//\r
-//\r
-// Computing Unit Class Error Code definitions.\r
-// These are shared by all subclasses.\r
-//\r
-#define EFI_CU_EC_NON_SPECIFIC    0x00000000\r
-#define EFI_CU_EC_DISABLED        0x00000001\r
-#define EFI_CU_EC_NOT_SUPPORTED   0x00000002\r
-#define EFI_CU_EC_NOT_DETECTED    0x00000003\r
-#define EFI_CU_EC_NOT_CONFIGURED  0x00000004\r
-\r
-//\r
-// Computing Unit Unspecified Subclass Error Code definitions.\r
-//\r
-//\r
-// Computing Unit Host Processor Subclass Error Code definitions.\r
-//\r
-#define EFI_CU_HP_EC_INVALID_TYPE         (EFI_SUBCLASS_SPECIFIC | 0x00000000)\r
-#define EFI_CU_HP_EC_INVALID_SPEED        (EFI_SUBCLASS_SPECIFIC | 0x00000001)\r
-#define EFI_CU_HP_EC_MISMATCH             (EFI_SUBCLASS_SPECIFIC | 0x00000002)\r
-#define EFI_CU_HP_EC_TIMER_EXPIRED        (EFI_SUBCLASS_SPECIFIC | 0x00000003)\r
-#define EFI_CU_HP_EC_SELF_TEST            (EFI_SUBCLASS_SPECIFIC | 0x00000004)\r
-#define EFI_CU_HP_EC_INTERNAL             (EFI_SUBCLASS_SPECIFIC | 0x00000005)\r
-#define EFI_CU_HP_EC_THERMAL              (EFI_SUBCLASS_SPECIFIC | 0x00000006)\r
-#define EFI_CU_HP_EC_LOW_VOLTAGE          (EFI_SUBCLASS_SPECIFIC | 0x00000007)\r
-#define EFI_CU_HP_EC_HIGH_VOLTAGE         (EFI_SUBCLASS_SPECIFIC | 0x00000008)\r
-#define EFI_CU_HP_EC_CACHE                (EFI_SUBCLASS_SPECIFIC | 0x00000009)\r
-#define EFI_CU_HP_EC_MICROCODE_UPDATE     (EFI_SUBCLASS_SPECIFIC | 0x0000000A)\r
-#define EFI_CU_HP_EC_CORRECTABLE          (EFI_SUBCLASS_SPECIFIC | 0x0000000B)\r
-#define EFI_CU_HP_EC_UNCORRECTABLE        (EFI_SUBCLASS_SPECIFIC | 0x0000000C)\r
-#define EFI_CU_HP_EC_NO_MICROCODE_UPDATE  (EFI_SUBCLASS_SPECIFIC | 0x0000000D)\r
-\r
-//\r
-// Computing Unit Firmware Processor Subclass Error Code definitions.\r
-//\r
-#define EFI_CU_FP_EC_HARD_FAIL  (EFI_SUBCLASS_SPECIFIC | 0x00000000)\r
-#define EFI_CU_FP_EC_SOFT_FAIL  (EFI_SUBCLASS_SPECIFIC | 0x00000001)\r
-#define EFI_CU_FP_EC_COMM_ERROR (EFI_SUBCLASS_SPECIFIC | 0x00000002)\r
-\r
-//\r
-// Computing Unit IO Processor Subclass Error Code definitions.\r
-//\r
-//\r
-// Computing Unit Cache Subclass Error Code definitions.\r
-//\r
-#define EFI_CU_CACHE_EC_INVALID_TYPE  (EFI_SUBCLASS_SPECIFIC | 0x00000000)\r
-#define EFI_CU_CACHE_EC_INVALID_SPEED (EFI_SUBCLASS_SPECIFIC | 0x00000001)\r
-#define EFI_CU_CACHE_EC_INVALID_SIZE  (EFI_SUBCLASS_SPECIFIC | 0x00000002)\r
-#define EFI_CU_CACHE_EC_MISMATCH      (EFI_SUBCLASS_SPECIFIC | 0x00000003)\r
-\r
-//\r
-// Computing Unit Memory Subclass Error Code definitions.\r
-//\r
-#define EFI_CU_MEMORY_EC_INVALID_TYPE   (EFI_SUBCLASS_SPECIFIC | 0x00000000)\r
-#define EFI_CU_MEMORY_EC_INVALID_SPEED  (EFI_SUBCLASS_SPECIFIC | 0x00000001)\r
-#define EFI_CU_MEMORY_EC_CORRECTABLE    (EFI_SUBCLASS_SPECIFIC | 0x00000002)\r
-#define EFI_CU_MEMORY_EC_UNCORRECTABLE  (EFI_SUBCLASS_SPECIFIC | 0x00000003)\r
-#define EFI_CU_MEMORY_EC_SPD_FAIL       (EFI_SUBCLASS_SPECIFIC | 0x00000004)\r
-#define EFI_CU_MEMORY_EC_INVALID_SIZE   (EFI_SUBCLASS_SPECIFIC | 0x00000005)\r
-#define EFI_CU_MEMORY_EC_MISMATCH       (EFI_SUBCLASS_SPECIFIC | 0x00000006)\r
-#define EFI_CU_MEMORY_EC_S3_RESUME_FAIL (EFI_SUBCLASS_SPECIFIC | 0x00000007)\r
-#define EFI_CU_MEMORY_EC_UPDATE_FAIL    (EFI_SUBCLASS_SPECIFIC | 0x00000008)\r
-#define EFI_CU_MEMORY_EC_NONE_DETECTED  (EFI_SUBCLASS_SPECIFIC | 0x00000009)\r
-#define EFI_CU_MEMORY_EC_NONE_USEFUL    (EFI_SUBCLASS_SPECIFIC | 0x0000000A)\r
-\r
-//\r
-// Computing Unit Chipset Subclass Error Code definitions.\r
-//\r
-\r
-///////////////////////////////////////////////////////////////////////////////\r
-// Section 4\r
-///////////////////////////////////////////////////////////////////////////////\r
-//\r
-// Peripheral Subclass definitions.\r
-// Values of 12-127 are reserved for future use by this\r
-// specification.\r
-// Values of 128-255 are reserved for OEM use.\r
-//\r
-#define EFI_PERIPHERAL_UNSPECIFIED      (EFI_PERIPHERAL | 0x00000000)\r
-#define EFI_PERIPHERAL_KEYBOARD         (EFI_PERIPHERAL | 0x00010000)\r
-#define EFI_PERIPHERAL_MOUSE            (EFI_PERIPHERAL | 0x00020000)\r
-#define EFI_PERIPHERAL_LOCAL_CONSOLE    (EFI_PERIPHERAL | 0x00030000)\r
-#define EFI_PERIPHERAL_REMOTE_CONSOLE   (EFI_PERIPHERAL | 0x00040000)\r
-#define EFI_PERIPHERAL_SERIAL_PORT      (EFI_PERIPHERAL | 0x00050000)\r
-#define EFI_PERIPHERAL_PARALLEL_PORT    (EFI_PERIPHERAL | 0x00060000)\r
-#define EFI_PERIPHERAL_FIXED_MEDIA      (EFI_PERIPHERAL | 0x00070000)\r
-#define EFI_PERIPHERAL_REMOVABLE_MEDIA  (EFI_PERIPHERAL | 0x00080000)\r
-#define EFI_PERIPHERAL_AUDIO_INPUT      (EFI_PERIPHERAL | 0x00090000)\r
-#define EFI_PERIPHERAL_AUDIO_OUTPUT     (EFI_PERIPHERAL | 0x000A0000)\r
-#define EFI_PERIPHERAL_LCD_DEVICE       (EFI_PERIPHERAL | 0x000B0000)\r
-#define EFI_PERIPHERAL_NETWORK          (EFI_PERIPHERAL | 0x000C0000)\r
-\r
-//\r
-// Peripheral Class Progress Code definitions.\r
-// These are shared by all subclasses.\r
-//\r
-#define EFI_P_PC_INIT             0x00000000\r
-#define EFI_P_PC_RESET            0x00000001\r
-#define EFI_P_PC_DISABLE          0x00000002\r
-#define EFI_P_PC_PRESENCE_DETECT  0x00000003\r
-#define EFI_P_PC_ENABLE           0x00000004\r
-#define EFI_P_PC_RECONFIG         0x00000005\r
-#define EFI_P_PC_DETECTED         0x00000006\r
-\r
-//\r
-// Peripheral Class Unspecified Subclass Progress Code definitions.\r
-//\r
-//\r
-// Peripheral Class Keyboard Subclass Progress Code definitions.\r
-//\r
-#define EFI_P_KEYBOARD_PC_CLEAR_BUFFER  (EFI_SUBCLASS_SPECIFIC | 0x00000000)\r
-#define EFI_P_KEYBOARD_PC_SELF_TEST     (EFI_SUBCLASS_SPECIFIC | 0x00000001)\r
-\r
-//\r
-// Peripheral Class Mouse Subclass Progress Code definitions.\r
-//\r
-#define EFI_P_MOUSE_PC_SELF_TEST  (EFI_SUBCLASS_SPECIFIC | 0x00000000)\r
-\r
-//\r
-// Peripheral Class Local Console Subclass Progress Code definitions.\r
-//\r
-//\r
-// Peripheral Class Remote Console Subclass Progress Code definitions.\r
-//\r
-//\r
-// Peripheral Class Serial Port Subclass Progress Code definitions.\r
-//\r
-#define EFI_P_SERIAL_PORT_PC_CLEAR_BUFFER (EFI_SUBCLASS_SPECIFIC | 0x00000000)\r
-\r
-//\r
-// Peripheral Class Parallel Port Subclass Progress Code definitions.\r
-//\r
-//\r
-// Peripheral Class Fixed Media Subclass Progress Code definitions.\r
-//\r
-//\r
-// Peripheral Class Removable Media Subclass Progress Code definitions.\r
-//\r
-//\r
-// Peripheral Class Audio Input Subclass Progress Code definitions.\r
-//\r
-//\r
-// Peripheral Class Audio Output Subclass Progress Code definitions.\r
-//\r
-//\r
-// Peripheral Class LCD Device Subclass Progress Code definitions.\r
-//\r
-//\r
-// Peripheral Class Network Subclass Progress Code definitions.\r
-//\r
-//\r
-// Peripheral Class Error Code definitions.\r
-// These are shared by all subclasses.\r
-//\r
-#define EFI_P_EC_NON_SPECIFIC       0x00000000\r
-#define EFI_P_EC_DISABLED           0x00000001\r
-#define EFI_P_EC_NOT_SUPPORTED      0x00000002\r
-#define EFI_P_EC_NOT_DETECTED       0x00000003\r
-#define EFI_P_EC_NOT_CONFIGURED     0x00000004\r
-#define EFI_P_EC_INTERFACE_ERROR    0x00000005\r
-#define EFI_P_EC_CONTROLLER_ERROR   0x00000006\r
-#define EFI_P_EC_INPUT_ERROR        0x00000007\r
-#define EFI_P_EC_OUTPUT_ERROR       0x00000008\r
-#define EFI_P_EC_RESOURCE_CONFLICT  0x00000009\r
-\r
-//\r
-// Peripheral Class Unspecified Subclass Error Code definitions.\r
-//\r
-//\r
-// Peripheral Class Keyboard Subclass Error Code definitions.\r
-//\r
-#define EFI_P_KEYBOARD_EC_LOCKED    (EFI_SUBCLASS_SPECIFIC | 0x00000000)\r
-#define EFI_P_KEYBOARD_EC_STUCK_KEY (EFI_SUBCLASS_SPECIFIC | 0x00000001)\r
-\r
-//\r
-// Peripheral Class Mouse Subclass Error Code definitions.\r
-//\r
-#define EFI_P_MOUSE_EC_LOCKED (EFI_SUBCLASS_SPECIFIC | 0x00000000)\r
-\r
-//\r
-// Peripheral Class Local Console Subclass Error Code definitions.\r
-//\r
-//\r
-// Peripheral Class Remote Console Subclass Error Code definitions.\r
-//\r
-//\r
-// Peripheral Class Serial Port Subclass Error Code definitions.\r
-//\r
-//\r
-// Peripheral Class Parallel Port Subclass Error Code definitions.\r
-//\r
-//\r
-// Peripheral Class Fixed Media Subclass Error Code definitions.\r
-//\r
-//\r
-// Peripheral Class Removable Media Subclass Error Code definitions.\r
-//\r
-//\r
-// Peripheral Class Audio Input Subclass Error Code definitions.\r
-//\r
-//\r
-// Peripheral Class Audio Output Subclass Error Code definitions.\r
-//\r
-//\r
-// Peripheral Class LCD Device Subclass Error Code definitions.\r
-//\r
-//\r
-// Peripheral Class Network Subclass Error Code definitions.\r
-//\r
-\r
-///////////////////////////////////////////////////////////////////////////////\r
-// Section 5\r
-///////////////////////////////////////////////////////////////////////////////\r
-//\r
-// IO Bus Subclass definitions.\r
-// Values of 14-127 are reserved for future use by this\r
-// specification.\r
-// Values of 128-255 are reserved for OEM use.\r
-//\r
-#define EFI_IO_BUS_UNSPECIFIED  (EFI_IO_BUS | 0x00000000)\r
-#define EFI_IO_BUS_PCI          (EFI_IO_BUS | 0x00010000)\r
-#define EFI_IO_BUS_USB          (EFI_IO_BUS | 0x00020000)\r
-#define EFI_IO_BUS_IBA          (EFI_IO_BUS | 0x00030000)\r
-#define EFI_IO_BUS_AGP          (EFI_IO_BUS | 0x00040000)\r
-#define EFI_IO_BUS_PC_CARD      (EFI_IO_BUS | 0x00050000)\r
-#define EFI_IO_BUS_LPC          (EFI_IO_BUS | 0x00060000)\r
-#define EFI_IO_BUS_SCSI         (EFI_IO_BUS | 0x00070000)\r
-#define EFI_IO_BUS_ATA_ATAPI    (EFI_IO_BUS | 0x00080000)\r
-#define EFI_IO_BUS_FC           (EFI_IO_BUS | 0x00090000)\r
-#define EFI_IO_BUS_IP_NETWORK   (EFI_IO_BUS | 0x000A0000)\r
-#define EFI_IO_BUS_SMBUS        (EFI_IO_BUS | 0x000B0000)\r
-#define EFI_IO_BUS_I2C          (EFI_IO_BUS | 0x000C0000)\r
-\r
-//\r
-// IO Bus Class Progress Code definitions.\r
-// These are shared by all subclasses.\r
-//\r
-#define EFI_IOB_PC_INIT     0x00000000\r
-#define EFI_IOB_PC_RESET    0x00000001\r
-#define EFI_IOB_PC_DISABLE  0x00000002\r
-#define EFI_IOB_PC_DETECT   0x00000003\r
-#define EFI_IOB_PC_ENABLE   0x00000004\r
-#define EFI_IOB_PC_RECONFIG 0x00000005\r
-#define EFI_IOB_PC_HOTPLUG  0x00000006\r
-\r
-//\r
-// IO Bus Class Unspecified Subclass Progress Code definitions.\r
-//\r
-//\r
-// IO Bus Class PCI Subclass Progress Code definitions.\r
-//\r
-#define EFI_IOB_PCI_PC_BUS_ENUM   (EFI_SUBCLASS_SPECIFIC | 0x00000000)\r
-#define EFI_IOB_PCI_PC_RES_ALLOC  (EFI_SUBCLASS_SPECIFIC | 0x00000001)\r
-#define EFI_IOB_PCI_PC_HPC_INIT   (EFI_SUBCLASS_SPECIFIC | 0x00000002)\r
-\r
-//\r
-// IO Bus Class USB Subclass Progress Code definitions.\r
-//\r
-//\r
-// IO Bus Class IBA Subclass Progress Code definitions.\r
-//\r
-//\r
-// IO Bus Class AGP Subclass Progress Code definitions.\r
-//\r
-//\r
-// IO Bus Class PC Card Subclass Progress Code definitions.\r
-//\r
-//\r
-// IO Bus Class LPC Subclass Progress Code definitions.\r
-//\r
-//\r
-// IO Bus Class SCSI Subclass Progress Code definitions.\r
-//\r
-//\r
-// IO Bus Class ATA/ATAPI Subclass Progress Code definitions.\r
-//\r
-#define EFI_IOB_ATA_BUS_SMART_ENABLE          (EFI_SUBCLASS_SPECIFIC | 0x00000000)\r
-#define EFI_IOB_ATA_BUS_SMART_DISABLE         (EFI_SUBCLASS_SPECIFIC | 0x00000001)\r
-#define EFI_IOB_ATA_BUS_SMART_OVERTHRESHOLD   (EFI_SUBCLASS_SPECIFIC | 0x00000002)\r
-#define EFI_IOB_ATA_BUS_SMART_UNDERTHRESHOLD  (EFI_SUBCLASS_SPECIFIC | 0x00000003)\r
-\r
-//\r
-// IO Bus Class FC Subclass Progress Code definitions.\r
-//\r
-//\r
-// IO Bus Class IP Network Subclass Progress Code definitions.\r
-//\r
-//\r
-// IO Bus Class SMBUS Subclass Progress Code definitions.\r
-//\r
-//\r
-// IO Bus Class I2C Subclass Progress Code definitions.\r
-//\r
-//\r
-// IO Bus Class Error Code definitions.\r
-// These are shared by all subclasses.\r
-//\r
-#define EFI_IOB_EC_NON_SPECIFIC       0x00000000\r
-#define EFI_IOB_EC_DISABLED           0x00000001\r
-#define EFI_IOB_EC_NOT_SUPPORTED      0x00000002\r
-#define EFI_IOB_EC_NOT_DETECTED       0x00000003\r
-#define EFI_IOB_EC_NOT_CONFIGURED     0x00000004\r
-#define EFI_IOB_EC_INTERFACE_ERROR    0x00000005\r
-#define EFI_IOB_EC_CONTROLLER_ERROR   0x00000006\r
-#define EFI_IOB_EC_READ_ERROR         0x00000007\r
-#define EFI_IOB_EC_WRITE_ERROR        0x00000008\r
-#define EFI_IOB_EC_RESOURCE_CONFLICT  0x00000009\r
-\r
-//\r
-// IO Bus Class Unspecified Subclass Error Code definitions.\r
-//\r
-//\r
-// IO Bus Class PCI Subclass Error Code definitions.\r
-//\r
-#define EFI_IOB_PCI_EC_PERR (EFI_SUBCLASS_SPECIFIC | 0x00000000)\r
-#define EFI_IOB_PCI_EC_SERR (EFI_SUBCLASS_SPECIFIC | 0x00000001)\r
-\r
-//\r
-// IO Bus Class USB Subclass Error Code definitions.\r
-//\r
-//\r
-// IO Bus Class IBA Subclass Error Code definitions.\r
-//\r
-//\r
-// IO Bus Class AGP Subclass Error Code definitions.\r
-//\r
-//\r
-// IO Bus Class PC Card Subclass Error Code definitions.\r
-//\r
-//\r
-// IO Bus Class LPC Subclass Error Code definitions.\r
-//\r
-//\r
-// IO Bus Class SCSI Subclass Error Code definitions.\r
-//\r
-//\r
-// IO Bus Class ATA/ATAPI Subclass Error Code definitions.\r
-//\r
-#define EFI_IOB_ATA_BUS_SMART_NOTSUPPORTED  (EFI_SUBCLASS_SPECIFIC | 0x00000000)\r
-#define EFI_IOB_ATA_BUS_SMART_DISABLED      (EFI_SUBCLASS_SPECIFIC | 0x00000001)\r
-\r
-//\r
-// IO Bus Class FC Subclass Error Code definitions.\r
-//\r
-//\r
-// IO Bus Class IP Network Subclass Error Code definitions.\r
-//\r
-//\r
-// IO Bus Class SMBUS Subclass Error Code definitions.\r
-//\r
-//\r
-// IO Bus Class I2C Subclass Error Code definitions.\r
-//\r
-\r
-///////////////////////////////////////////////////////////////////////////////\r
-// Section 6\r
-///////////////////////////////////////////////////////////////////////////////\r
-//\r
-// Software Subclass definitions.\r
-// Values of 14-127 are reserved for future use by this\r
-// specification.\r
-// Values of 128-255 are reserved for OEM use.\r
-//\r
-#define EFI_SOFTWARE_UNSPECIFIED          (EFI_SOFTWARE | 0x00000000)\r
-#define EFI_SOFTWARE_SEC                  (EFI_SOFTWARE | 0x00010000)\r
-#define EFI_SOFTWARE_PEI_CORE             (EFI_SOFTWARE | 0x00020000)\r
-#define EFI_SOFTWARE_PEI_MODULE           (EFI_SOFTWARE | 0x00030000)\r
-#define EFI_SOFTWARE_DXE_CORE             (EFI_SOFTWARE | 0x00040000)\r
-#define EFI_SOFTWARE_DXE_BS_DRIVER        (EFI_SOFTWARE | 0x00050000)\r
-#define EFI_SOFTWARE_DXE_RT_DRIVER        (EFI_SOFTWARE | 0x00060000)\r
-#define EFI_SOFTWARE_SMM_DRIVER           (EFI_SOFTWARE | 0x00070000)\r
-#define EFI_SOFTWARE_EFI_APPLICATION      (EFI_SOFTWARE | 0x00080000)\r
-#define EFI_SOFTWARE_EFI_OS_LOADER        (EFI_SOFTWARE | 0x00090000)\r
-#define EFI_SOFTWARE_RT                   (EFI_SOFTWARE | 0x000A0000)\r
-#define EFI_SOFTWARE_AL                   (EFI_SOFTWARE | 0x000B0000)\r
-#define EFI_SOFTWARE_EBC_EXCEPTION        (EFI_SOFTWARE | 0x000C0000)\r
-#define EFI_SOFTWARE_IA32_EXCEPTION       (EFI_SOFTWARE | 0x000D0000)\r
-#define EFI_SOFTWARE_IPF_EXCEPTION        (EFI_SOFTWARE | 0x000E0000)\r
-#define EFI_SOFTWARE_PEI_SERVICE          (EFI_SOFTWARE | 0x000F0000)\r
-#define EFI_SOFTWARE_EFI_BOOT_SERVICE     (EFI_SOFTWARE | 0x00100000)\r
-#define EFI_SOFTWARE_EFI_RUNTIME_SERVICE  (EFI_SOFTWARE | 0x00110000)\r
-#define EFI_SOFTWARE_EFI_DXE_SERVICE      (EFI_SOFTWARE | 0x00120000)\r
-\r
-//\r
-// Software Class Progress Code definitions.\r
-// These are shared by all subclasses.\r
-//\r
-#define EFI_SW_PC_INIT                0x00000000\r
-#define EFI_SW_PC_LOAD                0x00000001\r
-#define EFI_SW_PC_INIT_BEGIN          0x00000002\r
-#define EFI_SW_PC_INIT_END            0x00000003\r
-#define EFI_SW_PC_AUTHENTICATE_BEGIN  0x00000004\r
-#define EFI_SW_PC_AUTHENTICATE_END    0x00000005\r
-#define EFI_SW_PC_INPUT_WAIT          0x00000006\r
-#define EFI_SW_PC_USER_SETUP          0x00000007\r
-\r
-//\r
-// Software Class Unspecified Subclass Progress Code definitions.\r
-//\r
-//\r
-// Software Class SEC Subclass Progress Code definitions.\r
-//\r
-#define EFI_SW_SEC_PC_ENTRY_POINT     (EFI_SUBCLASS_SPECIFIC | 0x00000000)\r
-#define EFI_SW_SEC_PC_HANDOFF_TO_NEXT (EFI_SUBCLASS_SPECIFIC | 0x00000001)\r
-\r
-//\r
-// Software Class PEI Core Subclass Progress Code definitions.\r
-//\r
-#define EFI_SW_PEI_CORE_PC_ENTRY_POINT      (EFI_SUBCLASS_SPECIFIC | 0x00000000)\r
-#define EFI_SW_PEI_CORE_PC_HANDOFF_TO_NEXT  (EFI_SUBCLASS_SPECIFIC | 0x00000001)\r
-#define EFI_SW_PEI_CORE_PC_RETURN_TO_LAST   (EFI_SUBCLASS_SPECIFIC | 0x00000002)\r
-\r
-//\r
-// Software Class PEI Module Subclass Progress Code definitions.\r
-//\r
-#define EFI_SW_PEIM_PC_RECOVERY_BEGIN (EFI_SUBCLASS_SPECIFIC | 0x00000000)\r
-#define EFI_SW_PEIM_PC_CAPSULE_LOAD   (EFI_SUBCLASS_SPECIFIC | 0x00000001)\r
-#define EFI_SW_PEIM_PC_CAPSULE_START  (EFI_SUBCLASS_SPECIFIC | 0x00000001)\r
-#define EFI_SW_PEIM_PC_RECOVERY_USER  (EFI_SUBCLASS_SPECIFIC | 0x00000003)\r
-#define EFI_SW_PEIM_PC_RECOVERY_AUTO  (EFI_SUBCLASS_SPECIFIC | 0x00000004)\r
-\r
-//\r
-// Software Class DXE Core Subclass Progress Code definitions.\r
-//\r
-#define EFI_SW_DXE_CORE_PC_ENTRY_POINT      (EFI_SUBCLASS_SPECIFIC | 0x00000000)\r
-#define EFI_SW_DXE_CORE_PC_HANDOFF_TO_NEXT  (EFI_SUBCLASS_SPECIFIC | 0x00000001)\r
-#define EFI_SW_DXE_CORE_PC_RETURN_TO_LAST   (EFI_SUBCLASS_SPECIFIC | 0x00000002)\r
-#define EFI_SW_DXE_CORE_PC_START_DRIVER     (EFI_SUBCLASS_SPECIFIC | 0x00000003)\r
-\r
-//\r
-// Software Class DXE BS Driver Subclass Progress Code definitions.\r
-//\r
-#define EFI_SW_DXE_BS_PC_LEGACY_OPROM_INIT            (EFI_SUBCLASS_SPECIFIC | 0x00000000)\r
-#define EFI_SW_DXE_BS_PC_READY_TO_BOOT_EVENT          (EFI_SUBCLASS_SPECIFIC | 0x00000001)\r
-#define EFI_SW_DXE_BS_PC_LEGACY_BOOT_EVENT            (EFI_SUBCLASS_SPECIFIC | 0x00000002)\r
-#define EFI_SW_DXE_BS_PC_EXIT_BOOT_SERVICES_EVENT     (EFI_SUBCLASS_SPECIFIC | 0x00000003)\r
-#define EFI_SW_DXE_BS_PC_VIRTUAL_ADDRESS_CHANGE_EVENT (EFI_SUBCLASS_SPECIFIC | 0x00000004)\r
-#define EFI_SW_DXE_BS_PC_BEGIN_CONNECTING_DRIVERS     (EFI_SUBCLASS_SPECIFIC | 0x00000005)\r
-#define EFI_SW_DXE_BS_PC_VERIFYING_PASSWORD           (EFI_SUBCLASS_SPECIFIC | 0x00000006)\r
-\r
-//\r
-// Software Class DXE RT Driver Subclass Progress Code definitions.\r
-//\r
-#define EFI_SW_DXE_RT_PC_S0 (EFI_SUBCLASS_SPECIFIC | 0x00000000)\r
-#define EFI_SW_DXE_RT_PC_S1 (EFI_SUBCLASS_SPECIFIC | 0x00000001)\r
-#define EFI_SW_DXE_RT_PC_S2 (EFI_SUBCLASS_SPECIFIC | 0x00000002)\r
-#define EFI_SW_DXE_RT_PC_S3 (EFI_SUBCLASS_SPECIFIC | 0x00000003)\r
-#define EFI_SW_DXE_RT_PC_S4 (EFI_SUBCLASS_SPECIFIC | 0x00000004)\r
-#define EFI_SW_DXE_RT_PC_S5 (EFI_SUBCLASS_SPECIFIC | 0x00000005)\r
-\r
-//\r
-// Software Class SMM Driver Subclass Progress Code definitions.\r
-//\r
-//\r
-// Software Class EFI Application Subclass Progress Code definitions.\r
-//\r
-//\r
-// Software Class EFI OS Loader Subclass Progress Code definitions.\r
-//\r
-//\r
-// Software Class EFI RT Subclass Progress Code definitions.\r
-//\r
-#define EFI_SW_RT_PC_ENTRY_POINT      (EFI_SUBCLASS_SPECIFIC | 0x00000000)\r
-#define EFI_SW_RT_PC_HANDOFF_TO_NEXT  (EFI_SUBCLASS_SPECIFIC | 0x00000001)\r
-#define EFI_SW_RT_PC_RETURN_TO_LAST   (EFI_SUBCLASS_SPECIFIC | 0x00000002)\r
-\r
-//\r
-// Software Class EFI AL Subclass Progress Code definitions.\r
-//\r
-#define EFI_SW_AL_PC_ENTRY_POINT    (EFI_SUBCLASS_SPECIFIC | 0x00000000)\r
-#define EFI_SW_AL_PC_RETURN_TO_LAST (EFI_SUBCLASS_SPECIFIC | 0x00000001)\r
-\r
-//\r
-// Software Class EBC Exception Subclass Progress Code definitions.\r
-//\r
-//\r
-// Software Class IA32 Exception Subclass Progress Code definitions.\r
-//\r
-//\r
-// Software Class IPF Exception Subclass Progress Code definitions.\r
-//\r
-//\r
-// Software Class PEI Services Subclass Progress Code definitions.\r
-//\r
-#define EFI_SW_PS_PC_INSTALL_PPI            (EFI_SUBCLASS_SPECIFIC | 0x00000000)\r
-#define EFI_SW_PS_PC_REINSTALL_PPI          (EFI_SUBCLASS_SPECIFIC | 0x00000001)\r
-#define EFI_SW_PS_PC_LOCATE_PPI             (EFI_SUBCLASS_SPECIFIC | 0x00000002)\r
-#define EFI_SW_PS_PC_NOTIFY_PPI             (EFI_SUBCLASS_SPECIFIC | 0x00000003)\r
-#define EFI_SW_PS_PC_GET_BOOT_MODE          (EFI_SUBCLASS_SPECIFIC | 0x00000004)\r
-#define EFI_SW_PS_PC_SET_BOOT_MODE          (EFI_SUBCLASS_SPECIFIC | 0x00000005)\r
-#define EFI_SW_PS_PC_GET_HOB_LIST           (EFI_SUBCLASS_SPECIFIC | 0x00000006)\r
-#define EFI_SW_PS_PC_CREATE_HOB             (EFI_SUBCLASS_SPECIFIC | 0x00000007)\r
-#define EFI_SW_PS_PC_FFS_FIND_NEXT_VOLUME   (EFI_SUBCLASS_SPECIFIC | 0x00000008)\r
-#define EFI_SW_PS_PC_FFS_FIND_NEXT_FILE     (EFI_SUBCLASS_SPECIFIC | 0x00000009)\r
-#define EFI_SW_PS_PC_FFS_FIND_SECTION_DATA  (EFI_SUBCLASS_SPECIFIC | 0x0000000A)\r
-#define EFI_SW_PS_PC_INSTALL_PEI_MEMORY     (EFI_SUBCLASS_SPECIFIC | 0x0000000B)\r
-#define EFI_SW_PS_PC_ALLOCATE_PAGES         (EFI_SUBCLASS_SPECIFIC | 0x0000000C)\r
-#define EFI_SW_PS_PC_ALLOCATE_POOL          (EFI_SUBCLASS_SPECIFIC | 0x0000000D)\r
-#define EFI_SW_PS_PC_COPY_MEM               (EFI_SUBCLASS_SPECIFIC | 0x0000000E)\r
-#define EFI_SW_PS_PC_SET_MEM                (EFI_SUBCLASS_SPECIFIC | 0x0000000F)\r
-\r
-//\r
-// Software Class EFI Boot Services Subclass Progress Code definitions.\r
-//\r
-#define EFI_SW_BS_PC_RAISE_TPL                      (EFI_SUBCLASS_SPECIFIC | 0x00000000)\r
-#define EFI_SW_BS_PC_RESTORE_TPL                    (EFI_SUBCLASS_SPECIFIC | 0x00000001)\r
-#define EFI_SW_BS_PC_ALLOCATE_PAGES                 (EFI_SUBCLASS_SPECIFIC | 0x00000002)\r
-#define EFI_SW_BS_PC_FREE_PAGES                     (EFI_SUBCLASS_SPECIFIC | 0x00000003)\r
-#define EFI_SW_BS_PC_GET_MEMORY_MAP                 (EFI_SUBCLASS_SPECIFIC | 0x00000004)\r
-#define EFI_SW_BS_PC_ALLOCATE_POOL                  (EFI_SUBCLASS_SPECIFIC | 0x00000005)\r
-#define EFI_SW_BS_PC_FREE_POOL                      (EFI_SUBCLASS_SPECIFIC | 0x00000006)\r
-#define EFI_SW_BS_PC_CREATE_EVENT                   (EFI_SUBCLASS_SPECIFIC | 0x00000007)\r
-#define EFI_SW_BS_PC_SET_TIMER                      (EFI_SUBCLASS_SPECIFIC | 0x00000008)\r
-#define EFI_SW_BS_PC_WAIT_FOR_EVENT                 (EFI_SUBCLASS_SPECIFIC | 0x00000009)\r
-#define EFI_SW_BS_PC_SIGNAL_EVENT                   (EFI_SUBCLASS_SPECIFIC | 0x0000000A)\r
-#define EFI_SW_BS_PC_CLOSE_EVENT                    (EFI_SUBCLASS_SPECIFIC | 0x0000000B)\r
-#define EFI_SW_BS_PC_CHECK_EVENT                    (EFI_SUBCLASS_SPECIFIC | 0x0000000C)\r
-#define EFI_SW_BS_PC_INSTALL_PROTOCOL_INTERFACE     (EFI_SUBCLASS_SPECIFIC | 0x0000000D)\r
-#define EFI_SW_BS_PC_REINSTALL_PROTOCOL_INTERFACE   (EFI_SUBCLASS_SPECIFIC | 0x0000000E)\r
-#define EFI_SW_BS_PC_UNINSTALL_PROTOCOL_INTERFACE   (EFI_SUBCLASS_SPECIFIC | 0x0000000F)\r
-#define EFI_SW_BS_PC_HANDLE_PROTOCOL                (EFI_SUBCLASS_SPECIFIC | 0x00000010)\r
-#define EFI_SW_BS_PC_PC_HANDLE_PROTOCOL             (EFI_SUBCLASS_SPECIFIC | 0x00000011)\r
-#define EFI_SW_BS_PC_REGISTER_PROTOCOL_NOTIFY       (EFI_SUBCLASS_SPECIFIC | 0x00000012)\r
-#define EFI_SW_BS_PC_LOCATE_HANDLE                  (EFI_SUBCLASS_SPECIFIC | 0x00000013)\r
-#define EFI_SW_BS_PC_INSTALL_CONFIGURATION_TABLE    (EFI_SUBCLASS_SPECIFIC | 0x00000014)\r
-#define EFI_SW_BS_PC_LOAD_IMAGE                     (EFI_SUBCLASS_SPECIFIC | 0x00000015)\r
-#define EFI_SW_BS_PC_START_IMAGE                    (EFI_SUBCLASS_SPECIFIC | 0x00000016)\r
-#define EFI_SW_BS_PC_EXIT                           (EFI_SUBCLASS_SPECIFIC | 0x00000017)\r
-#define EFI_SW_BS_PC_UNLOAD_IMAGE                   (EFI_SUBCLASS_SPECIFIC | 0x00000018)\r
-#define EFI_SW_BS_PC_EXIT_BOOT_SERVICES             (EFI_SUBCLASS_SPECIFIC | 0x00000019)\r
-#define EFI_SW_BS_PC_GET_NEXT_MONOTONIC_COUNT       (EFI_SUBCLASS_SPECIFIC | 0x0000001A)\r
-#define EFI_SW_BS_PC_STALL                          (EFI_SUBCLASS_SPECIFIC | 0x0000001B)\r
-#define EFI_SW_BS_PC_SET_WATCHDOG_TIMER             (EFI_SUBCLASS_SPECIFIC | 0x0000001C)\r
-#define EFI_SW_BS_PC_CONNECT_CONTROLLER             (EFI_SUBCLASS_SPECIFIC | 0x0000001D)\r
-#define EFI_SW_BS_PC_DISCONNECT_CONTROLLER          (EFI_SUBCLASS_SPECIFIC | 0x0000001E)\r
-#define EFI_SW_BS_PC_OPEN_PROTOCOL                  (EFI_SUBCLASS_SPECIFIC | 0x0000001F)\r
-#define EFI_SW_BS_PC_CLOSE_PROTOCOL                 (EFI_SUBCLASS_SPECIFIC | 0x00000020)\r
-#define EFI_SW_BS_PC_OPEN_PROTOCOL_INFORMATION      (EFI_SUBCLASS_SPECIFIC | 0x00000021)\r
-#define EFI_SW_BS_PC_PROTOCOLS_PER_HANDLE           (EFI_SUBCLASS_SPECIFIC | 0x00000022)\r
-#define EFI_SW_BS_PC_LOCATE_HANDLE_BUFFER           (EFI_SUBCLASS_SPECIFIC | 0x00000023)\r
-#define EFI_SW_BS_PC_LOCATE_PROTOCOL                (EFI_SUBCLASS_SPECIFIC | 0x00000024)\r
-#define EFI_SW_BS_PC_INSTALL_MULTIPLE_INTERFACES    (EFI_SUBCLASS_SPECIFIC | 0x00000025)\r
-#define EFI_SW_BS_PC_UNINSTALL_MULTIPLE_INTERFACES  (EFI_SUBCLASS_SPECIFIC | 0x00000026)\r
-#define EFI_SW_BS_PC_CALCULATE_CRC_32               (EFI_SUBCLASS_SPECIFIC | 0x00000027)\r
-#define EFI_SW_BS_PC_COPY_MEM                       (EFI_SUBCLASS_SPECIFIC | 0x00000028)\r
-#define EFI_SW_BS_PC_SET_MEM                        (EFI_SUBCLASS_SPECIFIC | 0x00000029)\r
-\r
-//\r
-// Software Class EFI Runtime Services Subclass Progress Code definitions.\r
-//\r
-#define EFI_SW_RS_PC_GET_TIME                       (EFI_SUBCLASS_SPECIFIC | 0x00000000)\r
-#define EFI_SW_RS_PC_SET_TIME                       (EFI_SUBCLASS_SPECIFIC | 0x00000001)\r
-#define EFI_SW_RS_PC_GET_WAKEUP_TIME                (EFI_SUBCLASS_SPECIFIC | 0x00000002)\r
-#define EFI_SW_RS_PC_SET_WAKEUP_TIME                (EFI_SUBCLASS_SPECIFIC | 0x00000003)\r
-#define EFI_SW_RS_PC_SET_VIRTUAL_ADDRESS_MAP        (EFI_SUBCLASS_SPECIFIC | 0x00000004)\r
-#define EFI_SW_RS_PC_CONVERT_POINTER                (EFI_SUBCLASS_SPECIFIC | 0x00000005)\r
-#define EFI_SW_RS_PC_GET_VARIABLE                   (EFI_SUBCLASS_SPECIFIC | 0x00000006)\r
-#define EFI_SW_RS_PC_GET_NEXT_VARIABLE_NAME         (EFI_SUBCLASS_SPECIFIC | 0x00000007)\r
-#define EFI_SW_RS_PC_SET_VARIABLE                   (EFI_SUBCLASS_SPECIFIC | 0x00000008)\r
-#define EFI_SW_RS_PC_GET_NEXT_HIGH_MONOTONIC_COUNT  (EFI_SUBCLASS_SPECIFIC | 0x00000009)\r
-#define EFI_SW_RS_PC_RESET_SYSTEM                   (EFI_SUBCLASS_SPECIFIC | 0x0000000A)\r
-\r
-//\r
-// Software Class EFI DXE Services Subclass Progress Code definitions\r
-//\r
-#define EFI_SW_DS_PC_ADD_MEMORY_SPACE             (EFI_SUBCLASS_SPECIFIC | 0x00000000)\r
-#define EFI_SW_DS_PC_ALLOCATE_MEMORY_SPACE        (EFI_SUBCLASS_SPECIFIC | 0x00000001)\r
-#define EFI_SW_DS_PC_FREE_MEMORY_SPACE            (EFI_SUBCLASS_SPECIFIC | 0x00000002)\r
-#define EFI_SW_DS_PC_REMOVE_MEMORY_SPACE          (EFI_SUBCLASS_SPECIFIC | 0x00000003)\r
-#define EFI_SW_DS_PC_GET_MEMORY_SPACE_DESCRIPTOR  (EFI_SUBCLASS_SPECIFIC | 0x00000004)\r
-#define EFI_SW_DS_PC_SET_MEMORY_SPACE_ATTRIBUTES  (EFI_SUBCLASS_SPECIFIC | 0x00000005)\r
-#define EFI_SW_DS_PC_GET_MEMORY_SPACE_MAP         (EFI_SUBCLASS_SPECIFIC | 0x00000006)\r
-#define EFI_SW_DS_PC_ADD_IO_SPACE                 (EFI_SUBCLASS_SPECIFIC | 0x00000007)\r
-#define EFI_SW_DS_PC_ALLOCATE_IO_SPACE            (EFI_SUBCLASS_SPECIFIC | 0x00000008)\r
-#define EFI_SW_DS_PC_FREE_IO_SPACE                (EFI_SUBCLASS_SPECIFIC | 0x00000009)\r
-#define EFI_SW_DS_PC_REMOVE_IO_SPACE              (EFI_SUBCLASS_SPECIFIC | 0x0000000A)\r
-#define EFI_SW_DS_PC_GET_IO_SPACE_DESCRIPTOR      (EFI_SUBCLASS_SPECIFIC | 0x0000000B)\r
-#define EFI_SW_DS_PC_GET_IO_SPACE_MAP             (EFI_SUBCLASS_SPECIFIC | 0x0000000C)\r
-#define EFI_SW_DS_PC_DISPATCH                     (EFI_SUBCLASS_SPECIFIC | 0x0000000D)\r
-#define EFI_SW_DS_PC_SCHEDULE                     (EFI_SUBCLASS_SPECIFIC | 0x0000000E)\r
-#define EFI_SW_DS_PC_TRUST                        (EFI_SUBCLASS_SPECIFIC | 0x0000000F)\r
-#define EFI_SW_DS_PC_PROCESS_FIRMWARE_VOLUME      (EFI_SUBCLASS_SPECIFIC | 0x00000010)\r
-\r
-//\r
-// Software Class Error Code definitions.\r
-// These are shared by all subclasses.\r
-//\r
-#define EFI_SW_EC_NON_SPECIFIC            0x00000000\r
-#define EFI_SW_EC_LOAD_ERROR              0x00000001\r
-#define EFI_SW_EC_INVALID_PARAMETER       0x00000002\r
-#define EFI_SW_EC_UNSUPPORTED             0x00000003\r
-#define EFI_SW_EC_INVALID_BUFFER          0x00000004\r
-#define EFI_SW_EC_OUT_OF_RESOURCES        0x00000005\r
-#define EFI_SW_EC_ABORTED                 0x00000006\r
-#define EFI_SW_EC_ILLEGAL_SOFTWARE_STATE  0x00000007\r
-#define EFI_SW_EC_ILLEGAL_HARDWARE_STATE  0x00000008\r
-#define EFI_SW_EC_START_ERROR             0x00000009\r
-#define EFI_SW_EC_BAD_DATE_TIME           0x0000000A\r
-#define EFI_SW_EC_CFG_INVALID             0x0000000B\r
-#define EFI_SW_EC_CFG_CLR_REQUEST         0x0000000C\r
-#define EFI_SW_EC_CFG_DEFAULT             0x0000000D\r
-#define EFI_SW_EC_PWD_INVALID             0x0000000E\r
-#define EFI_SW_EC_PWD_CLR_REQUEST         0x0000000F\r
-#define EFI_SW_EC_PWD_CLEARED             0x00000010\r
-#define EFI_SW_EC_EVENT_LOG_FULL          0x00000011\r
-\r
-//\r
-// Software Class Unspecified Subclass Error Code definitions.\r
-//\r
-//\r
-// Software Class SEC Subclass Error Code definitions.\r
-//\r
-//\r
-// Software Class PEI Core Subclass Error Code definitions.\r
-//\r
-#define EFI_SW_PEI_CORE_EC_DXE_CORRUPT  (EFI_SUBCLASS_SPECIFIC | 0x00000000)\r
-\r
-//\r
-// Software Class PEI Module Subclass Error Code definitions.\r
-//\r
-#define EFI_SW_PEIM_EC_NO_RECOVERY_CAPSULE        (EFI_SUBCLASS_SPECIFIC | 0x00000000)\r
-#define EFI_SW_PEIM_EC_INVALID_CAPSULE_DESCRIPTOR (EFI_SUBCLASS_SPECIFIC | 0x00000001)\r
-\r
-//\r
-// Software Class DXE Core Subclass Error Code definitions.\r
-//\r
-#define EFI_SW_CSM_LEGACY_ROM_INIT  (EFI_SUBCLASS_SPECIFIC | 0x00000000)\r
-//\r
-// Software Class DXE Boot Service Driver Subclass Error Code definitions.\r
-//\r
-#define EFI_SW_DXE_BS_EC_LEGACY_OPROM_NO_SPACE  (EFI_SUBCLASS_SPECIFIC | 0x00000000)\r
-\r
-//\r
-// Software Class DXE Runtime Service Driver Subclass Error Code definitions.\r
-//\r
-//\r
-// Software Class SMM Driver Subclass Error Code definitions.\r
-//\r
-//\r
-// Software Class EFI Application Subclass Error Code definitions.\r
-//\r
-//\r
-// Software Class EFI OS Loader Subclass Error Code definitions.\r
-//\r
-//\r
-// Software Class EFI RT Subclass Error Code definitions.\r
-//\r
-//\r
-// Software Class EFI AL Subclass Error Code definitions.\r
-//\r
-//\r
-// Software Class EBC Exception Subclass Error Code definitions.\r
-// These exceptions are derived from the debug protocol definitions in the EFI\r
-// specification.\r
-//\r
-#define EFI_SW_EC_EBC_UNDEFINED             0x00000000\r
-#define EFI_SW_EC_EBC_DIVIDE_ERROR          EXCEPT_EBC_DIVIDE_ERROR\r
-#define EFI_SW_EC_EBC_DEBUG                 EXCEPT_EBC_DEBUG\r
-#define EFI_SW_EC_EBC_BREAKPOINT            EXCEPT_EBC_BREAKPOINT\r
-#define EFI_SW_EC_EBC_OVERFLOW              EXCEPT_EBC_OVERFLOW\r
-#define EFI_SW_EC_EBC_INVALID_OPCODE        EXCEPT_EBC_INVALID_OPCODE\r
-#define EFI_SW_EC_EBC_STACK_FAULT           EXCEPT_EBC_STACK_FAULT\r
-#define EFI_SW_EC_EBC_ALIGNMENT_CHECK       EXCEPT_EBC_ALIGNMENT_CHECK\r
-#define EFI_SW_EC_EBC_INSTRUCTION_ENCODING  EXCEPT_EBC_INSTRUCTION_ENCODING\r
-#define EFI_SW_EC_EBC_BAD_BREAK             EXCEPT_EBC_BAD_BREAK\r
-#define EFI_SW_EC_EBC_STEP                  EXCEPT_EBC_STEP\r
-\r
-//\r
-// Software Class IA32 Exception Subclass Error Code definitions.\r
-// These exceptions are derived from the debug protocol definitions in the EFI\r
-// specification.\r
-//\r
-#define EFI_SW_EC_IA32_DIVIDE_ERROR     EXCEPT_IA32_DIVIDE_ERROR\r
-#define EFI_SW_EC_IA32_DEBUG            EXCEPT_IA32_DEBUG\r
-#define EFI_SW_EC_IA32_NMI              EXCEPT_IA32_NMI\r
-#define EFI_SW_EC_IA32_BREAKPOINT       EXCEPT_IA32_BREAKPOINT\r
-#define EFI_SW_EC_IA32_OVERFLOW         EXCEPT_IA32_OVERFLOW\r
-#define EFI_SW_EC_IA32_BOUND            EXCEPT_IA32_BOUND\r
-#define EFI_SW_EC_IA32_INVALID_OPCODE   EXCEPT_IA32_INVALID_OPCODE\r
-#define EFI_SW_EC_IA32_DOUBLE_FAULT     EXCEPT_IA32_DOUBLE_FAULT\r
-#define EFI_SW_EC_IA32_INVALID_TSS      EXCEPT_IA32_INVALID_TSS\r
-#define EFI_SW_EC_IA32_SEG_NOT_PRESENT  EXCEPT_IA32_SEG_NOT_PRESENT\r
-#define EFI_SW_EC_IA32_STACK_FAULT      EXCEPT_IA32_STACK_FAULT\r
-#define EFI_SW_EC_IA32_GP_FAULT         EXCEPT_IA32_GP_FAULT\r
-#define EFI_SW_EC_IA32_PAGE_FAULT       EXCEPT_IA32_PAGE_FAULT\r
-#define EFI_SW_EC_IA32_FP_ERROR         EXCEPT_IA32_FP_ERROR\r
-#define EFI_SW_EC_IA32_ALIGNMENT_CHECK  EXCEPT_IA32_ALIGNMENT_CHECK\r
-#define EFI_SW_EC_IA32_MACHINE_CHECK    EXCEPT_IA32_MACHINE_CHECK\r
-#define EFI_SW_EC_IA32_SIMD             EXCEPT_IA32_SIMD\r
-\r
-//\r
-// Software Class IPF Exception Subclass Error Code definitions.\r
-// These exceptions are derived from the debug protocol definitions in the EFI\r
-// specification.\r
-//\r
-#define EFI_SW_EC_IPF_ALT_DTLB            EXCEPT_IPF_ALT_DTLB\r
-#define EFI_SW_EC_IPF_DNESTED_TLB         EXCEPT_IPF_DNESTED_TLB\r
-#define EFI_SW_EC_IPF_BREAKPOINT          EXCEPT_IPF_BREAKPOINT\r
-#define EFI_SW_EC_IPF_EXTERNAL_INTERRUPT  EXCEPT_IPF_EXTERNAL_INTERRUPT\r
-#define EFI_SW_EC_IPF_GEN_EXCEPT          EXCEPT_IPF_GEN_EXCEPT\r
-#define EFI_SW_EC_IPF_NAT_CONSUMPTION     EXCEPT_IPF_NAT_CONSUMPTION\r
-#define EFI_SW_EC_IPF_DEBUG_EXCEPT        EXCEPT_IPF_DEBUG_EXCEPT\r
-#define EFI_SW_EC_IPF_UNALIGNED_ACCESS    EXCEPT_IPF_UNALIGNED_ACCESS\r
-#define EFI_SW_EC_IPF_FP_FAULT            EXCEPT_IPF_FP_FAULT\r
-#define EFI_SW_EC_IPF_FP_TRAP             EXCEPT_IPF_FP_TRAP\r
-#define EFI_SW_EC_IPF_TAKEN_BRANCH        EXCEPT_IPF_TAKEN_BRANCH\r
-#define EFI_SW_EC_IPF_SINGLE_STEP         EXCEPT_IPF_SINGLE_STEP\r
-\r
-//\r
-// Software Class PEI Service Subclass Error Code definitions.\r
-//\r
-//\r
-// Software Class EFI Boot Service Subclass Error Code definitions.\r
-//\r
-//\r
-// Software Class EFI Runtime Service Subclass Error Code definitions.\r
-//\r
-//\r
-// Software Class EFI DXE Service Subclass Error Code definitions.\r
-//\r
-\r
-///////////////////////////////////////////////////////////////////////////////\r
-// Section 7\r
-///////////////////////////////////////////////////////////////////////////////\r
-//\r
-// Debug Code definitions for all classes and subclass\r
-// Only one debug code is defined at this point and should\r
-// be used for anything that gets sent to debug stream.\r
-//\r
-#define EFI_DC_UNSPECIFIED  0x0\r
-\r
-#endif\r
diff --git a/Tools/Source/TianoTools/Include/Common/StatusCodeDataTypeId.h b/Tools/Source/TianoTools/Include/Common/StatusCodeDataTypeId.h
deleted file mode 100644 (file)
index 49bea61..0000000
+++ /dev/null
@@ -1,336 +0,0 @@
-/** @file\r
-  This file defines the data structures to support Status Code Data.\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:  StatusCodeDataTypeId.h\r
-\r
-  @par Revision Reference:\r
-  These definitions are from Framework of EFI Status Code Spec\r
-  Version 0.92.\r
-\r
-**/\r
-\r
-#ifndef __STATUS_CODE_DATA_TYPE_ID_H__\r
-#define __STATUS_CODE_DATA_TYPE_ID_H__\r
-\r
-\r
-///\r
-/// The size of string\r
-///\r
-#define EFI_STATUS_CODE_DATA_MAX_STRING_SIZE  150\r
-\r
-///\r
-/// This is the max data size including all the headers which can be passed\r
-/// as Status Code data. This data should be multiple of 8 byte\r
-/// to avoid any kind of boundary issue. Also, sum of this data size (inclusive\r
-/// of size of EFI_STATUS_CODE_DATA should not exceed the max record size of\r
-/// data hub\r
-///\r
-#define EFI_STATUS_CODE_DATA_MAX_SIZE 200\r
-\r
-#pragma pack(1)\r
-typedef enum {\r
-  EfiStringAscii,\r
-  EfiStringUnicode,\r
-  EfiStringToken\r
-} EFI_STRING_TYPE;\r
-\r
-typedef struct {\r
-  EFI_HII_HANDLE  Handle;\r
-  STRING_REF      Token;\r
-} EFI_STATUS_CODE_STRING_TOKEN;\r
-\r
-typedef union {\r
-  CHAR8                         *Ascii;\r
-  CHAR16                        *Unicode;\r
-  EFI_STATUS_CODE_STRING_TOKEN  Hii;\r
-} EFI_STATUS_CODE_STRING;\r
-\r
-typedef struct {\r
-  EFI_STATUS_CODE_DATA                          DataHeader;\r
-  EFI_STRING_TYPE                               StringType;\r
-  EFI_STATUS_CODE_STRING                        String;\r
-} EFI_STATUS_CODE_STRING_DATA;\r
-\r
-#pragma pack()\r
-\r
-#pragma pack(1)\r
-\r
-typedef struct {\r
-  UINT32  ErrorLevel;\r
-  //\r
-  // 12 * sizeof (UINT64) Var Arg stack\r
-  //\r
-  // ascii DEBUG () Format string\r
-  //\r
-} EFI_DEBUG_INFO;\r
-\r
-#pragma pack()\r
-\r
-//\r
-// declaration for EFI_EXP_DATA. This may change\r
-//\r
-// typedef UINTN   EFI_EXP_DATA;\r
-\r
-///\r
-/// Voltage Extended Error Data\r
-///\r
-typedef struct {\r
-  EFI_STATUS_CODE_DATA  DataHeader;\r
-  EFI_EXP_BASE10_DATA   Voltage;\r
-  EFI_EXP_BASE10_DATA   Threshold;\r
-} EFI_COMPUTING_UNIT_VOLTAGE_ERROR_DATA;\r
-\r
-///\r
-/// Microcode Update Extended Error Data\r
-///\r
-typedef struct {\r
-  EFI_STATUS_CODE_DATA  DataHeader;\r
-  UINT32                Version;\r
-} EFI_COMPUTING_UNIT_MICROCODE_UPDATE_ERROR_DATA;\r
-\r
-///\r
-/// Asynchronous Timer Extended Error Data\r
-///\r
-typedef struct {\r
-  EFI_STATUS_CODE_DATA  DataHeader;\r
-  EFI_EXP_BASE10_DATA   TimerLimit;\r
-} EFI_COMPUTING_UNIT_TIMER_EXPIRED_ERROR_DATA;\r
-\r
-///\r
-/// Host Processor Mismatch Extended Error Data\r
-///\r
-typedef struct {\r
-  EFI_STATUS_CODE_DATA  DataHeader;\r
-  UINT32                Instance;\r
-  UINT16                Attributes;\r
-} EFI_HOST_PROCESSOR_MISMATCH_ERROR_DATA;\r
-\r
-//\r
-// EFI_COMPUTING_UNIT_MISMATCH_ATTRIBUTES\r
-// All other attributes are reserved for future use and\r
-// must be initialized to 0.\r
-//\r
-#define EFI_COMPUTING_UNIT_MISMATCH_SPEED       0x0001\r
-#define EFI_COMPUTING_UNIT_MISMATCH_FSB_SPEED   0x0002\r
-#define EFI_COMPUTING_UNIT_MISMATCH_FAMILY      0x0004\r
-#define EFI_COMPUTING_UNIT_MISMATCH_MODEL       0x0008\r
-#define EFI_COMPUTING_UNIT_MISMATCH_STEPPING    0x0010\r
-#define EFI_COMPUTING_UNIT_MISMATCH_CACHE_SIZE  0x0020\r
-#define EFI_COMPUTING_UNIT_MISMATCH_OEM1        0x1000\r
-#define EFI_COMPUTING_UNIT_MISMATCH_OEM2        0x2000\r
-#define EFI_COMPUTING_UNIT_MISMATCH_OEM3        0x4000\r
-#define EFI_COMPUTING_UNIT_MISMATCH_OEM4        0x8000\r
-\r
-///\r
-/// Thermal Extended Error Data\r
-///\r
-typedef struct {\r
-  EFI_STATUS_CODE_DATA  DataHeader;\r
-  EFI_EXP_BASE10_DATA   Temperature;\r
-  EFI_EXP_BASE10_DATA   Threshold;\r
-} EFI_COMPUTING_UNIT_THERMAL_ERROR_DATA;\r
-\r
-///\r
-/// Processor Disabled Extended Error Data\r
-///\r
-typedef struct {\r
-  EFI_STATUS_CODE_DATA  DataHeader;\r
-  UINT32                Cause;\r
-  BOOLEAN               SoftwareDisabled;\r
-} EFI_COMPUTING_UNIT_CPU_DISABLED_ERROR_DATA;\r
-\r
-typedef enum {\r
-  EfiInitCacheDataOnly,\r
-  EfiInitCacheInstrOnly,\r
-  EfiInitCacheBoth,\r
-  EfiInitCacheUnspecified\r
-} EFI_INIT_CACHE_TYPE;\r
-\r
-///\r
-/// Embedded cache init extended data\r
-///\r
-typedef struct {\r
-  EFI_STATUS_CODE_DATA  DataHeader;\r
-  UINT32                Level;\r
-  EFI_INIT_CACHE_TYPE   Type;\r
-} EFI_CACHE_INIT_DATA;\r
-\r
-//\r
-// Memory Extended Error Data\r
-//\r
-\r
-///\r
-/// Memory Error Granularity Definition\r
-///\r
-typedef UINT8 EFI_MEMORY_ERROR_GRANULARITY;\r
-\r
-///\r
-/// Memory Error Operation Definition\r
-///\r
-typedef UINT8 EFI_MEMORY_ERROR_OPERATION;\r
-\r
-typedef struct {\r
-  EFI_STATUS_CODE_DATA          DataHeader;\r
-  EFI_MEMORY_ERROR_GRANULARITY  Granularity;\r
-  EFI_MEMORY_ERROR_OPERATION    Operation;\r
-  UINTN                         Syndrome;\r
-  EFI_PHYSICAL_ADDRESS          Address;\r
-  UINTN                         Resolution;\r
-} EFI_MEMORY_EXTENDED_ERROR_DATA;\r
-\r
-//\r
-// Memory Error Granularities\r
-//\r
-#define EFI_MEMORY_ERROR_OTHER      0x01\r
-#define EFI_MEMORY_ERROR_UNKNOWN    0x02\r
-#define EFI_MEMORY_ERROR_DEVICE     0x03\r
-#define EFI_MEMORY_ERROR_PARTITION  0x04\r
-\r
-//\r
-// Memory Error Operations\r
-//\r
-#define EFI_MEMORY_OPERATION_OTHER          0x01\r
-#define EFI_MEMORY_OPERATION_UNKNOWN        0x02\r
-#define EFI_MEMORY_OPERATION_READ           0x03\r
-#define EFI_MEMORY_OPERATION_WRITE          0x04\r
-#define EFI_MEMORY_OPERATION_PARTIAL_WRITE  0x05\r
-\r
-//\r
-// Define shorthands to describe Group Operations\r
-// Many memory init operations are essentially group\r
-// operations.\r
-\r
-/// A shorthand to describe that the operation is performed\r
-/// on multiple devices within the array\r
-///\r
-#define EFI_MULTIPLE_MEMORY_DEVICE_OPERATION  0xfffe\r
-///\r
-/// A shorthand to describe that the operation is performed on all devices within the array\r
-///\r
-#define EFI_ALL_MEMORY_DEVICE_OPERATION 0xffff\r
-///\r
-/// A shorthand to describe that the operation is performed on multiple arrays\r
-///\r
-#define EFI_MULTIPLE_MEMORY_ARRAY_OPERATION 0xfffe\r
-///\r
-/// A shorthand to describe that the operation is performed on all the arrays\r
-///\r
-#define EFI_ALL_MEMORY_ARRAY_OPERATION  0xffff\r
-\r
-//\r
-// DIMM number\r
-//\r
-#pragma pack(1)\r
-typedef struct {\r
-  EFI_STATUS_CODE_DATA  DataHeader;\r
-  UINT16                Array;\r
-  UINT16                Device;\r
-} EFI_STATUS_CODE_DIMM_NUMBER;\r
-#pragma pack()\r
-\r
-///\r
-/// Memory Module Mismatch Extended Error Data\r
-///\r
-typedef struct {\r
-  EFI_STATUS_CODE_DATA        DataHeader;\r
-  EFI_STATUS_CODE_DIMM_NUMBER Instance;\r
-} EFI_MEMORY_MODULE_MISMATCH_ERROR_DATA;\r
-\r
-///\r
-/// Memory Range Extended Data\r
-///\r
-typedef struct {\r
-  EFI_STATUS_CODE_DATA  DataHeader;\r
-  EFI_PHYSICAL_ADDRESS  Start;\r
-  EFI_PHYSICAL_ADDRESS  Length;\r
-} EFI_MEMORY_RANGE_EXTENDED_DATA;\r
-\r
-///\r
-/// Device handle Extended Data. Used for many\r
-/// errors and progress codes to point to the device.\r
-///\r
-typedef struct {\r
-  EFI_STATUS_CODE_DATA  DataHeader;\r
-  EFI_HANDLE            Handle;\r
-} EFI_DEVICE_HANDLE_EXTENDED_DATA;\r
-\r
-typedef struct {\r
-  EFI_STATUS_CODE_DATA                 DataHeader;\r
-  UINT8                                *DevicePath;\r
-} EFI_DEVICE_PATH_EXTENDED_DATA;\r
-\r
-typedef struct {\r
-  EFI_STATUS_CODE_DATA           DataHeader;  \r
-  EFI_HANDLE                     ControllerHandle;\r
-  EFI_HANDLE                     DriverBindingHandle;\r
-  UINT16                         DevicePathSize;\r
-  UINT8                          *RemainingDevicePath;\r
-} EFI_STATUS_CODE_START_EXTENDED_DATA;\r
-\r
-///\r
-/// Resource Allocation Failure Extended Error Data\r
-///\r
-\r
-/*\r
-typedef struct {\r
-  EFI_STATUS_CODE_DATA      DataHeader;\r
-  EFI_DEVICE_PATH_PROTOCOL  *DevicePath;\r
-  UINT32                    Bar;\r
-  VOID                      *ReqRes;\r
-  VOID                      *AllocRes;\r
-} EFI_RESOURCE_ALLOC_FAILURE_ERROR_DATA;\r
-*/\r
-typedef struct {\r
-  EFI_STATUS_CODE_DATA               DataHeader;\r
-  UINT32                             Bar;\r
-  UINT16                             DevicePathSize;\r
-  UINT16                             ReqResSize;\r
-  UINT16                             AllocResSize;\r
-  UINT8                              *DevicePath;\r
-  UINT8                              *ReqRes;\r
-  UINT8                              *AllocRes;\r
-} EFI_RESOURCE_ALLOC_FAILURE_ERROR_DATA;\r
-\r
-///\r
-/// Extended Error Data for Assert\r
-///\r
-typedef struct {\r
-  EFI_STATUS_CODE_DATA        DataHeader;\r
-  UINT32                      LineNumber;\r
-  UINT32                      FileNameSize;\r
-  EFI_STATUS_CODE_STRING_DATA *FileName;\r
-} EFI_DEBUG_ASSERT_DATA;\r
-\r
-///\r
-/// System Context Data EBC/IA32/IPF\r
-///\r
-typedef union {\r
-  EFI_SYSTEM_CONTEXT_EBC  SystemContextEbc;\r
-  EFI_SYSTEM_CONTEXT_IA32 SystemContextIa32;\r
-  EFI_SYSTEM_CONTEXT_IPF  SystemContextIpf;\r
-} EFI_STATUS_CODE_EXCEP_SYSTEM_CONTEXT;\r
-\r
-typedef struct {\r
-  EFI_STATUS_CODE_DATA                  DataHeader;\r
-  EFI_STATUS_CODE_EXCEP_SYSTEM_CONTEXT  Context;\r
-} EFI_STATUS_CODE_EXCEP_EXTENDED_DATA;\r
-\r
-///\r
-/// Legacy Oprom extended data\r
-///\r
-typedef struct {\r
-  EFI_STATUS_CODE_DATA  DataHeader;\r
-  EFI_HANDLE            DeviceHandle;\r
-  EFI_PHYSICAL_ADDRESS  RomImageBase;\r
-} EFI_LEGACY_OPROM_EXTENDED_DATA;\r
-\r
-#endif\r
diff --git a/Tools/Source/TianoTools/Include/Common/Variable.h b/Tools/Source/TianoTools/Include/Common/Variable.h
new file mode 100644 (file)
index 0000000..bc0d640
--- /dev/null
@@ -0,0 +1,78 @@
+/*++\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
+  EfiVariable.h\r
+  \r
+Abstract:\r
+  \r
+  Header file for EFI Variable Services\r
+\r
+--*/\r
+\r
+#ifndef _EFI_VARIABLE_H_\r
+#define _EFI_VARIABLE_H_\r
+\r
+#define VARIABLE_STORE_SIGNATURE  EFI_SIGNATURE_32 ('$', 'V', 'S', 'S')\r
+\r
+#define MAX_VARIABLE_SIZE         1024\r
+\r
+#define VARIABLE_DATA             0x55AA\r
+\r
+//\r
+// Variable Store Header flags\r
+//\r
+#define VARIABLE_STORE_FORMATTED  0x5a\r
+#define VARIABLE_STORE_HEALTHY    0xfe\r
+\r
+//\r
+// Variable Store Status\r
+//\r
+typedef enum {\r
+  EfiRaw,\r
+  EfiValid,\r
+  EfiInvalid,\r
+  EfiUnknown\r
+} VARIABLE_STORE_STATUS;\r
+\r
+//\r
+// Variable State flags\r
+//\r
+#define VAR_IN_DELETED_TRANSITION     0xfe  // Variable is in obsolete transistion\r
+#define VAR_DELETED                   0xfd  // Variable is obsolete\r
+#define VAR_ADDED                     0x7f  // Variable has been completely added\r
+#define IS_VARIABLE_STATE(_c, _Mask)  (BOOLEAN) (((~_c) & (~_Mask)) != 0)\r
+\r
+#pragma pack(1)\r
+\r
+typedef struct {\r
+  UINT32  Signature;\r
+  UINT32  Size;\r
+  UINT8   Format;\r
+  UINT8   State;\r
+  UINT16  Reserved;\r
+  UINT32  Reserved1;\r
+} VARIABLE_STORE_HEADER;\r
+\r
+typedef struct {\r
+  UINT16    StartId;\r
+  UINT8     State;\r
+  UINT8     Reserved;\r
+  UINT32    Attributes;\r
+  UINTN     NameSize;\r
+  UINTN     DataSize;\r
+  EFI_GUID  VendorGuid;\r
+} VARIABLE_HEADER;\r
+\r
+#pragma pack()\r
+\r
+#endif // _EFI_VARIABLE_H_\r
diff --git a/Tools/Source/TianoTools/Include/Common/WorkingBlockHeader.h b/Tools/Source/TianoTools/Include/Common/WorkingBlockHeader.h
new file mode 100644 (file)
index 0000000..235b740
--- /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
+  EfiWorkingBlockHeader.h\r
+\r
+Abstract:\r
+\r
+  Defines data structure that is the headers found at the runtime \r
+  updatable firmware volumes, such as the FileSystemGuid of the \r
+  working block, the header structure of the variable block, FTW\r
+  working block, or event log block.\r
+\r
+--*/\r
+\r
+#ifndef _EFI_WORKING_BLOCK_HEADER_H_\r
+#define _EFI_WORKING_BLOCK_HEADER_H_\r
+\r
+//\r
+// EFI Fault tolerant working block header\r
+// The header is immediately followed by the write queue.\r
+//\r
+typedef struct {\r
+  EFI_GUID  Signature;\r
+  UINT32    Crc;\r
+  UINT32    WorkingBlockValid : 1;\r
+  UINT32    WorkingBlockInvalid : 1;\r
+#define WORKING_BLOCK_VALID   0x1\r
+#define WORKING_BLOCK_INVALID 0x2\r
+  UINT32    Reserved : 6;\r
+  UINT8     Reserved3[3];\r
+  UINTN     WriteQueueSize;\r
+  //\r
+  // UINT8                WriteQueue[WriteQueueSize];\r
+  //\r
+} EFI_FAULT_TOLERANT_WORKING_BLOCK_HEADER;\r
+\r
+#endif\r
diff --git a/Tools/Source/TianoTools/Include/Dxe.h b/Tools/Source/TianoTools/Include/Dxe.h
deleted file mode 100644 (file)
index d97209d..0000000
+++ /dev/null
@@ -1,50 +0,0 @@
-/** @file\r
-\r
-  Root include file for Mde Package DXE modules\r
-\r
-  DXE modules follow the public Framework specifications and the UEFI \r
-  specifiations. The build infrastructure must set \r
-  EFI_SPECIFICATION_VERSION  before including  this file. To support \r
-  R9/UEFI2.0 set EFI_SPECIFIATION_VERSION to 0x00020000. To support \r
-  R8.5/EFI 1.10 set EFI_SPECIFIATION_VERSION to 0x00010010. \r
-  EDK_RELEASE_VERSION must be set to a non zero value.\r
-  EFI_SPECIFIATION_VERSION and EDK_RELEASE_VERSION are set automatically\r
-  by the build infrastructure for every module.\r
-\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
-**/\r
-\r
-#ifndef __DXE_H__\r
-#define __DXE_H__\r
-\r
-//\r
-// Check to make sure EFI_SPECIFICATION_VERSION and EDK_RELEASE_VERSION are defined.\r
-//\r
-#if !defined(EFI_SPECIFICATION_VERSION)\r
-  #error EFI_SPECIFICATION_VERSION not defined\r
-#elif !defined(EDK_RELEASE_VERSION)\r
-  #error EDK_RELEASE_VERSION not defined\r
-#elif (EDK_RELEASE_VERSION == 0)\r
-  #error EDK_RELEASE_VERSION can not be zero\r
-#endif\r
-\r
-\r
-#include <Common/UefiBaseTypes.h>\r
-#include <Dxe/DxeCis.h>\r
-#include <Dxe/SmmCis.h>\r
-\r
-#include <Common/DataHubRecords.h>\r
-#include <Guid/DataHubRecords.h>\r
-\r
-#include <Protocol/Pcd.h>\r
-\r
-#endif\r
diff --git a/Tools/Source/TianoTools/Include/Dxe/DxeCis.h b/Tools/Source/TianoTools/Include/Dxe/DxeCis.h
deleted file mode 100644 (file)
index a36481c..0000000
+++ /dev/null
@@ -1,589 +0,0 @@
-/** @file\r
-  Include file matches things in the DXE CIS.\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:  DxeCis.h\r
-\r
-  @par Revision Reference:\r
-  Version 0.91B.\r
-\r
-**/\r
-\r
-#ifndef __DXE_CIS__\r
-#define __DXE_CIS__\r
-\r
-#include <Uefi/UefiSpec.h>\r
-\r
-\r
-#define TIANO_ERROR(a)              (MAX_2_BITS | (a))\r
-\r
-#if (EFI_SPECIFICATION_VERSION < 0x00020000)\r
-//\r
-// Tiano added a couple of return types. These are owned by UEFI specification\r
-//  and Tiano can not use them. Thus for UEFI 2.0/R9 support we moved the values\r
-//  to a UEFI OEM extension range to conform to UEFI specification.\r
-//\r
-#define EFI_NOT_AVAILABLE_YET   EFIERR (28)\r
-#define EFI_UNLOAD_IMAGE        EFIERR (29)\r
-#else\r
-#define EFI_NOT_AVAILABLE_YET   TIANO_ERROR (0)\r
-#define EFI_UNLOAD_IMAGE        TIANO_ERROR (1)\r
-#endif\r
-\r
-//\r
-// BugBug: Implementation contamination of UEFI 2.0\r
-// Pointer to internal runtime pointer\r
-//\r
-#define EFI_IPF_GP_POINTER  0x00000008\r
-\r
-\r
-//\r
-//++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++\r
-//\r
-\r
-//\r
-// attributes for reserved memory before it is promoted to system memory\r
-//\r
-#define EFI_MEMORY_PRESENT      0x0100000000000000ULL\r
-#define EFI_MEMORY_INITIALIZED  0x0200000000000000ULL\r
-#define EFI_MEMORY_TESTED       0x0400000000000000ULL\r
-\r
-//\r
-// range for memory mapped port I/O on IPF\r
-//\r
-#define EFI_MEMORY_PORT_IO  0x4000000000000000ULL\r
-\r
-//\r
-// Modifier for EFI DXE Services\r
-//\r
-#define EFI_DXESERVICE\r
-\r
-\r
-//\r
-// Global Coherencey Domain types\r
-//\r
-typedef enum {\r
-  EfiGcdMemoryTypeNonExistent,\r
-  EfiGcdMemoryTypeReserved,\r
-  EfiGcdMemoryTypeSystemMemory,\r
-  EfiGcdMemoryTypeMemoryMappedIo,\r
-  EfiGcdMemoryTypeMaximum\r
-} EFI_GCD_MEMORY_TYPE;\r
-\r
-typedef enum {\r
-  EfiGcdIoTypeNonExistent,\r
-  EfiGcdIoTypeReserved,\r
-  EfiGcdIoTypeIo,\r
-  EfiGcdIoTypeMaximum\r
-} EFI_GCD_IO_TYPE;\r
-\r
-typedef enum {\r
-  EfiGcdAllocateAnySearchBottomUp,\r
-  EfiGcdAllocateMaxAddressSearchBottomUp,\r
-  EfiGcdAllocateAddress,\r
-  EfiGcdAllocateAnySearchTopDown,\r
-  EfiGcdAllocateMaxAddressSearchTopDown,\r
-  EfiGcdMaxAllocateType\r
-} EFI_GCD_ALLOCATE_TYPE;\r
-\r
-typedef struct {\r
-  EFI_PHYSICAL_ADDRESS  BaseAddress;\r
-  UINT64                Length;\r
-  UINT64                Capabilities;\r
-  UINT64                Attributes;\r
-  EFI_GCD_MEMORY_TYPE   GcdMemoryType;\r
-  EFI_HANDLE            ImageHandle;\r
-  EFI_HANDLE            DeviceHandle;\r
-} EFI_GCD_MEMORY_SPACE_DESCRIPTOR;\r
-\r
-typedef struct {\r
-  EFI_PHYSICAL_ADDRESS  BaseAddress;\r
-  UINT64                Length;\r
-  EFI_GCD_IO_TYPE       GcdIoType;\r
-  EFI_HANDLE            ImageHandle;\r
-  EFI_HANDLE            DeviceHandle;\r
-} EFI_GCD_IO_SPACE_DESCRIPTOR;\r
-\r
-/**\r
-  Adds reserved memory, system memory, or memory-mapped I/O resources to the\r
-  global coherency domain of the processor.\r
-\r
-  @param  GcdMemoryType Memory type of the memory space.\r
-  \r
-  @param  BaseAddress Base address of the memory space.\r
-  \r
-  @param  Length Length of the memory space.\r
-  \r
-  @param  Capabilities alterable attributes of the memory space.\r
-\r
-  @retval  EFI_SUCCESS Merged this memory space into GCD map.\r
-\r
-**/\r
-typedef\r
-EFI_STATUS\r
-(EFIAPI *EFI_ADD_MEMORY_SPACE) (\r
-  IN EFI_GCD_MEMORY_TYPE   GcdMemoryType,\r
-  IN EFI_PHYSICAL_ADDRESS  BaseAddress,\r
-  IN UINT64                Length,\r
-  IN UINT64                Capabilities\r
-  )\r
-;\r
-\r
-/**\r
-  Allocates nonexistent memory, reserved memory, system memory, or memorymapped\r
-  I/O resources from the global coherency domain of the processor.\r
-\r
-  @param  GcdAllocateType The type of allocate operation\r
-  \r
-  @param  GcdMemoryType The desired memory type\r
-  \r
-  @param  Alignment Align with 2^Alignment\r
-  \r
-  @param  Length Length to allocate\r
-  \r
-  @param  BaseAddress Base address to allocate\r
-  \r
-  @param  Imagehandle The image handle consume the allocated space.\r
-  \r
-  @param  DeviceHandle The device handle consume the allocated space.\r
-\r
-  @retval  EFI_INVALID_PARAMETER Invalid parameter.\r
-  \r
-  @retval  EFI_NOT_FOUND No descriptor contains the desired space.\r
-  \r
-  @retval  EFI_SUCCESS Memory space successfully allocated.\r
-\r
-**/\r
-typedef\r
-EFI_STATUS\r
-(EFIAPI *EFI_ALLOCATE_MEMORY_SPACE) (\r
-  IN     EFI_GCD_ALLOCATE_TYPE               GcdAllocateType,\r
-  IN     EFI_GCD_MEMORY_TYPE                 GcdMemoryType,\r
-  IN     UINTN                               Alignment,\r
-  IN     UINT64                              Length,\r
-  IN OUT EFI_PHYSICAL_ADDRESS                *BaseAddress,\r
-  IN     EFI_HANDLE                          ImageHandle,\r
-  IN     EFI_HANDLE                          DeviceHandle OPTIONAL\r
-  )\r
-;\r
-\r
-/**\r
-  Frees nonexistent memory, reserved memory, system memory, or memory-mapped\r
-  I/O resources from the global coherency domain of the processor.\r
-\r
-  @param  BaseAddress Base address of the segment.\r
-  \r
-  @param  Length Length of the segment.\r
-\r
-  @retval  EFI_SUCCESS Space successfully freed.\r
-\r
-**/\r
-typedef\r
-EFI_STATUS\r
-(EFIAPI *EFI_FREE_MEMORY_SPACE) (\r
-  IN EFI_PHYSICAL_ADDRESS  BaseAddress,\r
-  IN UINT64                Length\r
-  )\r
-;\r
-\r
-/**\r
-  Removes reserved memory, system memory, or memory-mapped I/O resources from\r
-  the global coherency domain of the processor.\r
-\r
-  @param  BaseAddress Base address of the memory space.\r
-  \r
-  @param  Length Length of the memory space.\r
-\r
-  @retval  EFI_SUCCESS Successfully remove a segment of memory space.\r
-\r
-**/\r
-typedef\r
-EFI_STATUS\r
-(EFIAPI *EFI_REMOVE_MEMORY_SPACE) (\r
-  IN EFI_PHYSICAL_ADDRESS  BaseAddress,\r
-  IN UINT64                Length\r
-  )\r
-;\r
-\r
-/**\r
-  Retrieves the descriptor for a memory region containing a specified address.\r
-\r
-  @param  BaseAddress Specified start address\r
-  \r
-  @param  Descriptor Specified length\r
-\r
-  @retval  EFI_INVALID_PARAMETER Invalid parameter\r
-  \r
-  @retval  EFI_SUCCESS Successfully get memory space descriptor.\r
-\r
-**/\r
-typedef\r
-EFI_STATUS\r
-(EFIAPI *EFI_GET_MEMORY_SPACE_DESCRIPTOR) (\r
-  IN  EFI_PHYSICAL_ADDRESS             BaseAddress,\r
-  OUT EFI_GCD_MEMORY_SPACE_DESCRIPTOR  *Descriptor\r
-  )\r
-;\r
-\r
-/**\r
-  Modifies the attributes for a memory region in the global coherency domain of the\r
-  processor.\r
-\r
-  @param  BaseAddress Specified start address\r
-  \r
-  @param  Length Specified length\r
-  \r
-  @param  Attributes Specified attributes\r
-\r
-  @retval  EFI_SUCCESS Successfully set attribute of a segment of memory space.\r
-\r
-**/\r
-typedef\r
-\r
-EFI_STATUS\r
-(EFIAPI *EFI_SET_MEMORY_SPACE_ATTRIBUTES) (\r
-  IN EFI_PHYSICAL_ADDRESS         BaseAddress,\r
-  IN UINT64                       Length,\r
-  IN UINT64                       Attributes\r
-  )\r
-;\r
-\r
-/**\r
-  Returns a map of the memory resources in the global coherency domain of the\r
-  processor.\r
-\r
-  @param  NumberOfDescriptors Number of descriptors.\r
-  \r
-  @param  MemorySpaceMap Descriptor array\r
-\r
-  @retval  EFI_INVALID_PARAMETER Invalid parameter\r
-  \r
-  @retval  EFI_OUT_OF_RESOURCES No enough buffer to allocate\r
-  \r
-  @retval  EFI_SUCCESS Successfully get memory space map.\r
-\r
-**/\r
-typedef\r
-EFI_STATUS\r
-(EFIAPI *EFI_GET_MEMORY_SPACE_MAP) (\r
-  OUT UINTN                            *NumberOfDescriptors,\r
-  OUT EFI_GCD_MEMORY_SPACE_DESCRIPTOR  **MemorySpaceMap\r
-  )\r
-;\r
-\r
-/**\r
-  Adds reserved I/O or I/O resources to the global coherency domain of the processor.\r
-\r
-  @param  GcdIoType IO type of the segment.\r
-  \r
-  @param  BaseAddress Base address of the segment.\r
-  \r
-  @param  Length Length of the segment.\r
-\r
-  @retval  EFI_SUCCESS Merged this segment into GCD map.\r
-\r
-**/\r
-typedef\r
-EFI_STATUS\r
-(EFIAPI *EFI_ADD_IO_SPACE) (\r
-  IN EFI_GCD_IO_TYPE       GcdIoType,\r
-  IN EFI_PHYSICAL_ADDRESS  BaseAddress,\r
-  IN UINT64                Length\r
-  )\r
-;\r
-\r
-/**\r
-  Allocates nonexistent I/O, reserved I/O, or I/O resources from the global coherency\r
-  domain of the processor.\r
-\r
-  @param  GcdAllocateType The type of allocate operation\r
-  \r
-  @param  GcdIoType The desired IO type\r
-  \r
-  @param  Alignment Align with 2^Alignment\r
-  \r
-  @param  Length Length to allocate\r
-  \r
-  @param  BaseAddress Base address to allocate\r
-  \r
-  @param  Imagehandle The image handle consume the allocated space.\r
-  \r
-  @param  DeviceHandle The device handle consume the allocated space.\r
-\r
-  @retval  EFI_INVALID_PARAMETER Invalid parameter.\r
-  \r
-  @retval  EFI_NOT_FOUND No descriptor contains the desired space.\r
-  \r
-  @retval  EFI_SUCCESS IO space successfully allocated.\r
-\r
-**/\r
-typedef\r
-EFI_STATUS\r
-(EFIAPI *EFI_ALLOCATE_IO_SPACE) (\r
-  IN     EFI_GCD_ALLOCATE_TYPE               GcdAllocateType,\r
-  IN     EFI_GCD_IO_TYPE                     GcdIoType,\r
-  IN     UINTN                               Alignment,\r
-  IN     UINT64                              Length,\r
-  IN OUT EFI_PHYSICAL_ADDRESS                *BaseAddress,\r
-  IN     EFI_HANDLE                          ImageHandle,\r
-  IN     EFI_HANDLE                          DeviceHandle OPTIONAL\r
-  )\r
-;\r
-\r
-/**\r
-  Frees nonexistent I/O, reserved I/O, or I/O resources from the global coherency\r
-  domain of the processor.\r
-\r
-  @param  BaseAddress Base address of the segment.\r
-  \r
-  @param  Length Length of the segment.\r
-\r
-  @retval  EFI_SUCCESS Space successfully freed.\r
-\r
-**/\r
-typedef\r
-EFI_STATUS\r
-(EFIAPI *EFI_FREE_IO_SPACE) (\r
-  IN EFI_PHYSICAL_ADDRESS  BaseAddress,\r
-  IN UINT64                Length\r
-  )\r
-;\r
-\r
-/**\r
-  Removes reserved I/O or I/O resources from the global coherency domain of the\r
-  processor.\r
-\r
-  @param  BaseAddress Base address of the segment.\r
-  \r
-  @param  Length Length of the segment.\r
-\r
-  @retval  EFI_SUCCESS Successfully removed a segment of IO space.\r
-\r
-**/\r
-typedef\r
-EFI_STATUS\r
-(EFIAPI *EFI_REMOVE_IO_SPACE) (\r
-  IN EFI_PHYSICAL_ADDRESS  BaseAddress,\r
-  IN UINT64                Length\r
-  )\r
-;\r
-\r
-/**\r
-  Retrieves the descriptor for an I/O region containing a specified address.\r
-\r
-  @param  BaseAddress Specified start address\r
-  \r
-  @param  Descriptor Specified length\r
-\r
-  @retval  EFI_INVALID_PARAMETER Descriptor is NULL.\r
-  \r
-  @retval  EFI_SUCCESS Successfully get the IO space descriptor.\r
-\r
-**/\r
-typedef\r
-EFI_STATUS\r
-(EFIAPI *EFI_GET_IO_SPACE_DESCRIPTOR) (\r
-  IN  EFI_PHYSICAL_ADDRESS         BaseAddress,\r
-  OUT EFI_GCD_IO_SPACE_DESCRIPTOR  *Descriptor\r
-  )\r
-;\r
-\r
-/**\r
-  Returns a map of the I/O resources in the global coherency domain of the processor.\r
-\r
-  @param  NumberOfDescriptors Number of descriptors.\r
-  \r
-  @param  MemorySpaceMap Descriptor array\r
-\r
-  @retval  EFI_INVALID_PARAMETER Invalid parameter\r
-  \r
-  @retval  EFI_OUT_OF_RESOURCES No enough buffer to allocate\r
-  \r
-  @retval  EFI_SUCCESS Successfully get IO space map.\r
-\r
-**/\r
-typedef\r
-EFI_STATUS\r
-(EFIAPI *EFI_GET_IO_SPACE_MAP) (\r
-  OUT UINTN                        *NumberOfDescriptors,\r
-  OUT EFI_GCD_IO_SPACE_DESCRIPTOR  **IoSpaceMap\r
-  )\r
-;\r
-\r
-/**\r
-  Loads and executed DXE drivers from firmware volumes.\r
-\r
-  @return Status code\r
-\r
-**/\r
-typedef\r
-EFI_STATUS\r
-(EFIAPI *EFI_DISPATCH) (VOID)\r
-;\r
-\r
-/**\r
-  Clears the Schedule on Request (SOR) flag for a component that is stored in a firmware volume.\r
-\r
-  @param  FirmwareVolumeHandle The handle of the firmware volume that contains the file specified by FileName.\r
-  \r
-  @param  DriverName A pointer to the name of the file in a firmware volume.\r
-\r
-  @return Status code\r
-\r
-**/\r
-typedef\r
-EFI_STATUS\r
-(EFIAPI *EFI_SCHEDULE) (\r
-  IN EFI_HANDLE  FirmwareVolumeHandle,\r
-  IN EFI_GUID    *DriverName\r
-  )\r
-;\r
-\r
-/**\r
-  Promotes a file stored in a firmware volume from the untrusted to the trusted state.\r
-\r
-  @param  FirmwareVolumeHandle The handle of the firmware volume that contains the file specified by FileName.\r
-  \r
-  @param  DriverName A pointer to the name of the file in a firmware volume.\r
-\r
-  @return Status code\r
-\r
-**/\r
-typedef\r
-EFI_STATUS\r
-(EFIAPI *EFI_TRUST) (\r
-  IN EFI_HANDLE  FirmwareVolumeHandle,\r
-  IN EFI_GUID    *DriverName\r
-  )\r
-;\r
-\r
-/**\r
-  Creates a firmware volume handle for a firmware volume that is present in system memory.\r
-\r
-  @param  FirmwareVolumeHeader A pointer to the header of the firmware volume.\r
-  @param  Size The size, in bytes, of the firmware volume.\r
-  @param  FirmwareVolumeHandle On output, a pointer to the created handle.\r
-\r
-  @return Status code\r
-\r
-**/\r
-typedef\r
-EFI_STATUS\r
-(EFIAPI *EFI_PROCESS_FIRMWARE_VOLUME) (\r
-  IN VOID                             *FvHeader,\r
-  IN UINTN                            Size,\r
-  OUT EFI_HANDLE                      *FirmwareVolumeHandle\r
-  )\r
-;\r
-\r
-//\r
-// DXE Services Table\r
-//\r
-#define EFI_DXE_SERVICES_SIGNATURE  0x565245535f455844ULL\r
-#define EFI_DXE_SERVICES_REVISION   ((0 << 16) | (25))\r
-\r
-typedef struct {\r
-  EFI_TABLE_HEADER                Hdr;\r
-\r
-  //\r
-  // Global Coherency Domain Services\r
-  //\r
-  EFI_ADD_MEMORY_SPACE            AddMemorySpace;\r
-  EFI_ALLOCATE_MEMORY_SPACE       AllocateMemorySpace;\r
-  EFI_FREE_MEMORY_SPACE           FreeMemorySpace;\r
-  EFI_REMOVE_MEMORY_SPACE         RemoveMemorySpace;\r
-  EFI_GET_MEMORY_SPACE_DESCRIPTOR GetMemorySpaceDescriptor;\r
-  EFI_SET_MEMORY_SPACE_ATTRIBUTES SetMemorySpaceAttributes;\r
-  EFI_GET_MEMORY_SPACE_MAP        GetMemorySpaceMap;\r
-  EFI_ADD_IO_SPACE                AddIoSpace;\r
-  EFI_ALLOCATE_IO_SPACE           AllocateIoSpace;\r
-  EFI_FREE_IO_SPACE               FreeIoSpace;\r
-  EFI_REMOVE_IO_SPACE             RemoveIoSpace;\r
-  EFI_GET_IO_SPACE_DESCRIPTOR     GetIoSpaceDescriptor;\r
-  EFI_GET_IO_SPACE_MAP            GetIoSpaceMap;\r
-\r
-  //\r
-  // Dispatcher Services\r
-  //\r
-  EFI_DISPATCH                    Dispatch;\r
-  EFI_SCHEDULE                    Schedule;\r
-  EFI_TRUST                       Trust;\r
-  //\r
-  // Service to process a single firmware volume found in a capsule\r
-  //\r
-  EFI_PROCESS_FIRMWARE_VOLUME     ProcessFirmwareVolume;\r
-} EFI_DXE_SERVICES;\r
-\r
-\r
-#include <Common/BootMode.h>\r
-#include <Common/BootScript.h>\r
-#include <Common/Capsule.h>\r
-#include <Common/Dependency.h>\r
-#include <Common/FirmwareVolumeImageFormat.h>\r
-#include <Common/FirmwareVolumeHeader.h>\r
-#include <Common/FirmwareFileSystem.h>\r
-#include <Common/Hob.h>\r
-#include <Common/InternalFormRepresentation.h>\r
-#include <Common/StatusCode.h>\r
-#include <Common/StatusCodeDataTypeId.h>\r
-\r
-#include <Guid/AcpiTableStorage.h>\r
-#include <Guid/Apriori.h>\r
-#include <Guid/Capsule.h>\r
-#include <Guid/DxeServices.h>\r
-#include <Guid/EventLegacyBios.h>\r
-#include <Guid/FirmwareFileSystem.h>\r
-#include <Guid/FrameworkDevicePath.h>\r
-#include <Guid/HobList.h>\r
-#include <Guid/MemoryAllocationHob.h>\r
-#include <Guid/SmramMemoryReserve.h>\r
-#include <Guid/StatusCodeDataTypeId.h>\r
-\r
-#include <Dxe/ArchProtocol/Bds.h>\r
-#include <Dxe/ArchProtocol/Cpu.h>\r
-#include <Dxe/ArchProtocol/Metronome.h>\r
-#include <Dxe/ArchProtocol/MonotonicCounter.h>\r
-#include <Dxe/ArchProtocol/RealTimeClock.h>\r
-#include <Dxe/ArchProtocol/Reset.h>\r
-#include <Dxe/ArchProtocol/Runtime.h>\r
-#include <Dxe/ArchProtocol/Security.h>\r
-#include <Dxe/ArchProtocol/SecurityPolicy.h>\r
-#include <Dxe/ArchProtocol/StatusCode.h>\r
-#include <Dxe/ArchProtocol/Timer.h>\r
-#include <Dxe/ArchProtocol/Variable.h>\r
-#include <Dxe/ArchProtocol/VariableWrite.h>\r
-#include <Dxe/ArchProtocol/WatchdogTimer.h>\r
-\r
-#include <Protocol/AcpiSupport.h>\r
-#include <Protocol/BootScriptSave.h>\r
-#include <Protocol/CpuIo.h>\r
-#include <Protocol/DataHub.h>\r
-#include <Protocol/FirmwareVolume.h>\r
-#include <Protocol/FirmwareVolumeBlock.h>\r
-#include <Protocol/FirmwareVolumeDispatch.h>\r
-#include <Protocol/Hii.h>\r
-#include <Protocol/FormBrowser.h>\r
-#include <Protocol/FormCallback.h>\r
-#include <Protocol/GuidedSectionExtraction.h>\r
-#include <Protocol/IdeControllerInit.h>\r
-#include <Protocol/IncompatiblePciDeviceSupport.h>\r
-#include <Protocol/PciHostBridgeResourceAllocation.h>\r
-#include <Protocol/PciHotPlugInit.h>\r
-#include <Protocol/PciPlatform.h>\r
-#include <Protocol/SectionExtraction.h>\r
-#include <Protocol/Smbus.h>\r
-#include <Protocol/LegacyBios.h>\r
-#include <Protocol/Legacy8259.h>\r
-#include <Protocol/LegacyRegion.h>\r
-#include <Protocol/LegacyBiosPlatform.h>\r
-#include <Protocol/LegacyInterrupt.h>\r
-\r
-#endif\r
diff --git a/Tools/Source/TianoTools/Include/Dxe/SmmCis.h b/Tools/Source/TianoTools/Include/Dxe/SmmCis.h
deleted file mode 100644 (file)
index 35a1a64..0000000
+++ /dev/null
@@ -1,526 +0,0 @@
-/** @file\r
-  Include file matches things in the Smm CIS spec.\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:  SmmCis.h\r
-\r
-  @par Revision Reference:\r
-  Version 0.9.\r
-\r
-**/\r
-\r
-#ifndef __SMM_CIS__\r
-#define __SMM_CIS__\r
-\r
-#define EFI_SMM_CPU_IO_GUID \\r
-  { \\r
-    0x5f439a0b, 0x45d8, 0x4682, {0xa4, 0xf4, 0xf0, 0x57, 0x6b, 0x51, 0x34, 0x41 } \\r
-  }\r
-\r
-typedef struct _EFI_SMM_SYSTEM_TABLE              EFI_SMM_SYSTEM_TABLE;\r
-typedef struct _EFI_SMM_CPU_IO_INTERFACE          EFI_SMM_CPU_IO_INTERFACE;\r
-\r
-\r
-//\r
-// SMM Base specification constant and types\r
-//\r
-#define SMM_SMST_SIGNATURE            EFI_SIGNATURE_32 ('S', 'M', 'S', 'T')\r
-#define EFI_SMM_SYSTEM_TABLE_REVISION (0 << 16) | (0x09)\r
-\r
-//\r
-// *******************************************************\r
-// EFI_SMM_IO_WIDTH\r
-// *******************************************************\r
-//\r
-typedef enum {\r
-  SMM_IO_UINT8  = 0,\r
-  SMM_IO_UINT16 = 1,\r
-  SMM_IO_UINT32 = 2,\r
-  SMM_IO_UINT64 = 3\r
-} EFI_SMM_IO_WIDTH;\r
-\r
-/**\r
-  Provides the basic memory and I/O interfaces that are used to \r
-  abstract accesses to devices.\r
-\r
-  @param  This The EFI_SMM_CPU_IO_INTERFACE instance.  \r
-  \r
-  @param  Width Signifies the width of the I/O operations. \r
-  \r
-  @param  Address The base address of the I/O operations.\r
-  \r
-  @param  Count The number of I/O operations to perform. \r
-  \r
-  @param  Buffer For read operations, the destination buffer to store the results.\r
-  For write operations, the source buffer from which to write data.\r
-\r
-  @retval EFI_SUCCESS The data was read from or written to the device.\r
-  \r
-  @retval EFI_UNSUPPORTED The Address is not valid for this system.\r
-  \r
-  @retval EFI_INVALID_PARAMETER Width or Count, or both, were invalid.\r
-  \r
-  @retval EFI_OUT_OF_RESOURCES The request could not be completed due to a lack of resources.\r
-\r
-**/\r
-typedef\r
-EFI_STATUS\r
-(EFIAPI *EFI_SMM_CPU_IO) (\r
-  IN EFI_SMM_CPU_IO_INTERFACE         *This,\r
-  IN EFI_SMM_IO_WIDTH                 Width,\r
-  IN UINT64                           Address,\r
-  IN UINTN                            Count,\r
-  IN OUT VOID                         *Buffer\r
-  );\r
-\r
-typedef struct {\r
-  EFI_SMM_CPU_IO  Read;\r
-  EFI_SMM_CPU_IO  Write;\r
-} EFI_SMM_IO_ACCESS;\r
-\r
-struct _EFI_SMM_CPU_IO_INTERFACE {\r
-  EFI_SMM_IO_ACCESS Mem;\r
-  EFI_SMM_IO_ACCESS Io;\r
-};\r
-\r
-/**\r
-  Allocates pool memory from SMRAM for IA-32 or runtime memory for \r
-  the Itanium processor family.\r
-\r
-  @param  PoolType The type of pool to allocate.The only supported type is EfiRuntimeServicesData\r
-  \r
-  @param  Size The number of bytes to allocate from the pool.\r
-  \r
-  @param  Buffer A pointer to a pointer to the allocated buffer if the call \r
-  succeeds; undefined otherwise.\r
-\r
-  @retval EFI_SUCCESS  The requested number of bytes was allocated.\r
-  \r
-  @retval EFI_OUT_OF_RESOURCES  The pool requested could not be allocated.\r
-  \r
-  @retval EFI_UNSUPPORTED  In runtime.\r
-\r
-**/\r
-typedef\r
-EFI_STATUS\r
-(EFIAPI *EFI_SMMCORE_ALLOCATE_POOL) (\r
-  IN EFI_MEMORY_TYPE                PoolType,\r
-  IN UINTN                          Size,\r
-  OUT VOID                          **Buffer\r
-  );\r
-\r
-/**\r
-  Returns pool memory to the system.\r
-\r
-  @param  Buffer Pointer to the buffer to free.\r
-\r
-  @retval EFI_SUCCESS  The memory was returned to the system.\r
-  \r
-  @retval EFI_INVALID_PARAMETER  Buffer was invalid.  \r
-  \r
-  @retval EFI_UNSUPPORTED  In runtime.\r
-\r
-**/\r
-typedef\r
-EFI_STATUS\r
-(EFIAPI *EFI_SMMCORE_FREE_POOL) (\r
-  IN VOID                   *Buffer\r
-  );\r
-\r
-/**\r
-  Allocates memory pages from the system.\r
-\r
-  @param  Type The type of allocation to perform. \r
-  \r
-  @param  MemoryType The only supported type is EfiRuntimeServicesData\r
-  \r
-  @param  NumberofPages The number of contiguous 4 KB pages to allocate\r
-  \r
-  @param  Memory Pointer to a physical address. On input, the way in which \r
-  the address is used depends on the value of Type. On output, the address \r
-  is set to the base of the page range that was allocated.\r
-\r
-  @retval EFI_SUCCESS  The requested pages were allocated.\r
-  \r
-  @retval EFI_OUT_OF_RESOURCES  The pages requested could not be allocated.\r
-  \r
-  @retval EFI_NOT_FOUND   The requested pages could not be found.\r
-  \r
-  @retval EFI_INVALID_PARAMETER  Type is not AllocateAnyPages or AllocateMaxAddress \r
-  or AllocateAddress. Or MemoryType is in the range EfiMaxMemoryType..0x7FFFFFFF.\r
-\r
-**/\r
-typedef\r
-EFI_STATUS\r
-(EFIAPI *EFI_SMMCORE_ALLOCATE_PAGES) (\r
-  IN EFI_ALLOCATE_TYPE      Type,\r
-  IN EFI_MEMORY_TYPE        MemoryType,\r
-  IN UINTN                  NumberOfPages,\r
-  OUT EFI_PHYSICAL_ADDRESS  *Memory\r
-  );\r
-\r
-/**\r
-  Frees memory pages for the system.\r
-\r
-  @param  Memory The base physical address of the pages to be freed\r
-  \r
-  @param  NumberOfPages The number of contiguous 4 KB pages to free.\r
-\r
-  @retval EFI_SUCCESS  The requested memory pages were freed.\r
-  \r
-  @retval EFI_INVALID_PARAMETER   Memory is not a page-aligned address or NumberOfPages is invalid.\r
-  \r
-  @retval EFI_NOT_FOUND   The requested memory pages were not allocated with SmmAllocatePages().\r
-\r
-**/\r
-typedef\r
-EFI_STATUS\r
-(EFIAPI *EFI_SMMCORE_FREE_PAGES) (\r
-  IN EFI_PHYSICAL_ADDRESS   Memory,\r
-  IN UINTN                  NumberOfPages\r
-  );\r
-\r
-typedef\r
-VOID\r
-(EFIAPI *EFI_AP_PROCEDURE) (\r
-  IN  VOID                              *Buffer\r
-  );\r
-\r
-typedef\r
-EFI_STATUS\r
-(EFIAPI *EFI_SMM_STARTUP_THIS_AP) (\r
-  IN  EFI_AP_PROCEDURE                    Procedure,\r
-  IN  UINTN                               CpuNumber,\r
-  IN  OUT VOID                            *ProcArguments OPTIONAL\r
-  );\r
-\r
-typedef struct {\r
-  UINT8                 Reserved1[248];\r
-  UINT32                SMBASE;\r
-  UINT32                SMMRevId;\r
-  UINT16                IORestart;\r
-  UINT16                AutoHALTRestart;\r
-  UINT8                 Reserved2[164];\r
-  UINT32                ES;\r
-  UINT32                CS;\r
-  UINT32                SS;\r
-  UINT32                DS;\r
-  UINT32                FS;\r
-  UINT32                GS;\r
-  UINT32                LDTBase;\r
-  UINT32                TR;\r
-  UINT32                DR7;\r
-  UINT32                DR6;\r
-  UINT32                EAX;\r
-  UINT32                ECX;\r
-  UINT32                EDX;\r
-  UINT32                EBX;\r
-  UINT32                ESP;\r
-  UINT32                EBP;\r
-  UINT32                ESI;\r
-  UINT32                EDI;\r
-  UINT32                EIP;\r
-  UINT32                EFLAGS;\r
-  UINT32                CR3;\r
-  UINT32                CR0;\r
-} EFI_SMI_CPU_SAVE_STATE;\r
-\r
-typedef struct {\r
-  UINT64   reserved;         \r
-  UINT64   r1;\r
-  UINT64   r2;\r
-  UINT64   r3;\r
-  UINT64   r4;\r
-  UINT64   r5;\r
-  UINT64   r6;\r
-  UINT64   r7;\r
-  UINT64   r8;\r
-  UINT64   r9;\r
-  UINT64   r10;\r
-  UINT64   r11;\r
-  UINT64   r12;\r
-  UINT64   r13;\r
-  UINT64   r14;\r
-  UINT64   r15;\r
-  UINT64   r16;\r
-  UINT64   r17;\r
-  UINT64   r18;\r
-  UINT64   r19;\r
-  UINT64   r20;\r
-  UINT64   r21;\r
-  UINT64   r22;\r
-  UINT64   r23;\r
-  UINT64   r24;\r
-  UINT64   r25;\r
-  UINT64   r26;\r
-  UINT64   r27;\r
-  UINT64   r28;\r
-  UINT64   r29;\r
-  UINT64   r30;\r
-  UINT64   r31;\r
-\r
-  UINT64   pr;\r
-\r
-  UINT64   b0;\r
-  UINT64   b1;\r
-  UINT64   b2;\r
-  UINT64   b3;\r
-  UINT64   b4;\r
-  UINT64   b5;\r
-  UINT64   b6;\r
-  UINT64   b7;\r
-\r
-  // application registers\r
-  UINT64   ar_rsc;\r
-  UINT64   ar_bsp;\r
-  UINT64   ar_bspstore;\r
-  UINT64   ar_rnat;\r
-\r
-  UINT64   ar_fcr;\r
-\r
-  UINT64   ar_eflag;\r
-  UINT64   ar_csd;\r
-  UINT64   ar_ssd;\r
-  UINT64   ar_cflg;\r
-  UINT64   ar_fsr;\r
-  UINT64   ar_fir;\r
-  UINT64   ar_fdr;\r
-\r
-  UINT64   ar_ccv;\r
-\r
-  UINT64   ar_unat;\r
-\r
-  UINT64   ar_fpsr;\r
-\r
-  UINT64   ar_pfs;\r
-  UINT64   ar_lc;\r
-  UINT64   ar_ec;\r
-\r
-  // control registers\r
-  UINT64   cr_dcr;\r
-  UINT64   cr_itm;\r
-  UINT64   cr_iva;\r
-  UINT64   cr_pta;\r
-  UINT64   cr_ipsr;\r
-  UINT64   cr_isr;\r
-  UINT64   cr_iip;\r
-  UINT64   cr_ifa;\r
-  UINT64   cr_itir;\r
-  UINT64   cr_iipa;\r
-  UINT64   cr_ifs;\r
-  UINT64   cr_iim;\r
-  UINT64   cr_iha;\r
-\r
-  // debug registers\r
-  UINT64   dbr0;\r
-  UINT64   dbr1;\r
-  UINT64   dbr2;\r
-  UINT64   dbr3;\r
-  UINT64   dbr4;\r
-  UINT64   dbr5;\r
-  UINT64   dbr6;\r
-  UINT64   dbr7;\r
-\r
-  UINT64   ibr0;\r
-  UINT64   ibr1;\r
-  UINT64   ibr2;\r
-  UINT64   ibr3;\r
-  UINT64   ibr4;\r
-  UINT64   ibr5;\r
-  UINT64   ibr6;\r
-  UINT64   ibr7;\r
-\r
-  // virtual registers\r
-  UINT64   int_nat;         // nat bits for R1-R31\r
-\r
-} EFI_PMI_SYSTEM_CONTEXT;\r
-\r
-typedef union {\r
-  EFI_SMI_CPU_SAVE_STATE     Ia32SaveState;\r
-  EFI_PMI_SYSTEM_CONTEXT     ItaniumSaveState;\r
-} EFI_SMM_CPU_SAVE_STATE;\r
-\r
-typedef struct {\r
-  UINT16                Fcw;\r
-  UINT16                Fsw;\r
-  UINT16                Ftw;\r
-  UINT16                Opcode;\r
-  UINT32                Eip;\r
-  UINT16                Cs;\r
-  UINT16                Rsvd1;\r
-  UINT32                DataOffset;\r
-  UINT16                Ds;\r
-  UINT8                 Rsvd2[10];\r
-  UINT8                 St0Mm0[10], Rsvd3[6];\r
-  UINT8                 St0Mm1[10], Rsvd4[6];\r
-  UINT8                 St0Mm2[10], Rsvd5[6];\r
-  UINT8                 St0Mm3[10], Rsvd6[6];\r
-  UINT8                 St0Mm4[10], Rsvd7[6];\r
-  UINT8                 St0Mm5[10], Rsvd8[6];\r
-  UINT8                 St0Mm6[10], Rsvd9[6];\r
-  UINT8                 St0Mm7[10], Rsvd10[6];\r
-  UINT8                 Rsvd11[22*16];\r
-} EFI_SMI_OPTIONAL_FPSAVE_STATE;\r
-\r
-typedef struct {\r
-  UINT64   f2[2];\r
-  UINT64   f3[2];\r
-  UINT64   f4[2];\r
-  UINT64   f5[2];\r
-  UINT64   f6[2];\r
-  UINT64   f7[2];\r
-  UINT64   f8[2];\r
-  UINT64   f9[2];\r
-  UINT64   f10[2];\r
-  UINT64   f11[2];\r
-  UINT64   f12[2];\r
-  UINT64   f13[2];\r
-  UINT64   f14[2];\r
-  UINT64   f15[2];\r
-  UINT64   f16[2];\r
-  UINT64   f17[2];\r
-  UINT64   f18[2];\r
-  UINT64   f19[2];\r
-  UINT64   f20[2];\r
-  UINT64   f21[2];\r
-  UINT64   f22[2];\r
-  UINT64   f23[2];\r
-  UINT64   f24[2];\r
-  UINT64   f25[2];\r
-  UINT64   f26[2];\r
-  UINT64   f27[2];\r
-  UINT64   f28[2];\r
-  UINT64   f29[2];\r
-  UINT64   f30[2];\r
-  UINT64   f31[2];\r
-} EFI_PMI_OPTIONAL_FLOATING_POINT_CONTEXT;\r
-\r
-typedef union {\r
-  EFI_SMI_OPTIONAL_FPSAVE_STATE             Ia32FpSave;\r
-  EFI_PMI_OPTIONAL_FLOATING_POINT_CONTEXT   ItaniumFpSave;\r
-} EFI_SMM_FLOATING_POINT_SAVE_STATE;\r
-\r
-/**\r
-  This function is the main entry point for an SMM handler dispatch \r
-  or communicate-based callback. \r
-\r
-  @param  SmmImageHandle A unique value returned by the SMM infrastructure \r
-  in response to registration for a communicate-based callback or dispatch. \r
-  \r
-  @param  CommunicationBuffer An optional buffer that will be populated \r
-  by the SMM infrastructure in response to a non-SMM agent (preboot or runtime) \r
-  invoking the EFI_SMM_BASE_PROTOCOL.Communicate() service.\r
-  \r
-  @param  SourceSize If CommunicationBuffer is non-NULL, this field \r
-  indicates the size of the data payload in this buffer.\r
-\r
-  @return Status Code\r
-\r
-**/\r
-typedef\r
-EFI_STATUS\r
-(EFIAPI *EFI_SMM_HANDLER_ENTRY_POINT) (\r
-  IN EFI_HANDLE             SmmImageHandle,\r
-  IN OUT VOID               *CommunicationBuffer OPTIONAL,\r
-  IN OUT UINTN              *SourceSize OPTIONAL\r
-  );\r
-\r
-/**\r
-  The SmmInstallConfigurationTable() function is used to maintain the list \r
-  of configuration tables that are stored in the System Management System \r
-  Table.  The list is stored as an array of (GUID, Pointer) pairs.  The list \r
-  must be allocated from pool memory with PoolType set to EfiRuntimeServicesData.\r
-\r
-  @param  SystemTable A pointer to the SMM System Table.\r
-  @param  Guid A pointer to the GUID for the entry to add, update, or remove.\r
-  @param  Table A pointer to the buffer of the table to add.\r
-  @param  TableSize The size of the table to install.\r
-\r
-  @retval EFI_SUCCESS The (Guid, Table) pair was added, updated, or removed.\r
-  @retval EFI_INVALID_PARAMETER Guid is not valid.\r
-  @retval EFI_NOT_FOUND An attempt was made to delete a non-existent entry.\r
-  @retval EFI_OUT_OF_RESOURCES There is not enough memory available to complete the operation.\r
-\r
-**/\r
-typedef\r
-EFI_STATUS\r
-(EFIAPI *EFI_SMM_INSTALL_CONFIGURATION_TABLE) (\r
-  IN EFI_SMM_SYSTEM_TABLE         *SystemTable,\r
-  IN EFI_GUID                     *Guid,\r
-  IN VOID                         *Table,\r
-  IN UINTN                        TableSize\r
-  )\r
-;\r
-\r
-//\r
-// System Management System Table (SMST)\r
-//\r
-struct _EFI_SMM_SYSTEM_TABLE {\r
-  EFI_TABLE_HEADER                    Hdr;\r
-\r
-  CHAR16                              *SmmFirmwareVendor;\r
-  UINT32                              SmmFirmwareRevision;\r
-\r
-  EFI_SMM_INSTALL_CONFIGURATION_TABLE SmmInstallConfigurationTable;\r
-\r
-  //\r
-  // I/O Services\r
-  //\r
-  EFI_GUID                            EfiSmmCpuIoGuid;\r
-  EFI_SMM_CPU_IO_INTERFACE            SmmIo;\r
-\r
-  //\r
-  // Runtime memory service\r
-  //\r
-  EFI_SMMCORE_ALLOCATE_POOL           SmmAllocatePool;\r
-  EFI_SMMCORE_FREE_POOL               SmmFreePool;\r
-  EFI_SMMCORE_ALLOCATE_PAGES          SmmAllocatePages;\r
-  EFI_SMMCORE_FREE_PAGES              SmmFreePages;\r
-\r
-  //\r
-  // MP service\r
-  //\r
-  EFI_SMM_STARTUP_THIS_AP             SmmStartupThisAp;\r
-\r
-  //\r
-  // CPU information records\r
-  //\r
-  UINTN                               CurrentlyExecutingCpu;\r
-  UINTN                               NumberOfCpus;\r
-  EFI_SMM_CPU_SAVE_STATE              *CpuSaveState;\r
-  EFI_SMM_FLOATING_POINT_SAVE_STATE   *CpuOptionalFloatingPointState;\r
-\r
-  //\r
-  // Extensibility table\r
-  //\r
-  UINTN                               NumberOfTableEntries;\r
-  EFI_CONFIGURATION_TABLE             *SmmConfigurationTable;\r
-\r
-};\r
-\r
-#include <Guid/SmmCommunicate.h>\r
-#include <Guid/SmramMemoryReserve.h>\r
-#include <Protocol/SmmBase.h>\r
-#include <Protocol/SmmAccess.h>\r
-#include <Protocol/SmmControl.h>\r
-#include <Protocol/SmmGpiDispatch.h>\r
-#include <Protocol/SmmIchnDispatch.h>\r
-#include <Protocol/SmmPeriodicTimerDispatch.h>\r
-#include <Protocol/SmmPowerButtonDispatch.h>\r
-#include <Protocol/SmmStandbyButtonDispatch.h>\r
-#include <Protocol/SmmStatusCode.h>\r
-#include <Protocol/SmmSwDispatch.h>\r
-#include <Protocol/SmmSxDispatch.h>\r
-#include <Protocol/SmmUsbDispatch.h>\r
-\r
-extern EFI_GUID gEfiSmmCpuIoGuid;\r
-\r
-#endif\r
diff --git a/Tools/Source/TianoTools/Include/Guid/Acpi.h b/Tools/Source/TianoTools/Include/Guid/Acpi.h
deleted file mode 100644 (file)
index a64f1b7..0000000
+++ /dev/null
@@ -1,48 +0,0 @@
-/** @file\r
-  GUIDs used for ACPI entries in the EFI 1.0 system table\r
-\r
-  These GUIDs point the ACPI tables as defined in the ACPI specifications.\r
-  ACPI 2.0 specification defines the ACPI 2.0 GUID. UEFI 2.0 defines the \r
-  ACPI 2.0 Table GUID and ACPI Table GUID.\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:  Acpi.h\r
-\r
-  @par Revision Reference:\r
-  GUIDs defined in UEFI 2.0 spec.\r
-\r
-**/\r
-\r
-#ifndef __ACPI_GUID_H__\r
-#define __ACPI_GUID_H__\r
-\r
-#define EFI_ACPI_10_TABLE_GUID \\r
-  { \\r
-    0xeb9d2d30, 0x2d88, 0x11d3, {0x9a, 0x16, 0x0, 0x90, 0x27, 0x3f, 0xc1, 0x4d } \\r
-  }\r
-\r
-#define EFI_ACPI_TABLE_GUID \\r
-  { \\r
-    0x8868e871, 0xe4f1, 0x11d3, {0xbc, 0x22, 0x0, 0x80, 0xc7, 0x3c, 0x88, 0x81 } \\r
-  }\r
-\r
-#define ACPI_10_TABLE_GUID     EFI_ACPI_10_TABLE_GUID\r
-//\r
-// ACPI 2.0 or newer tables should use EFI_ACPI_TABLE_GUID.\r
-//\r
-#define EFI_ACPI_20_TABLE_GUID EFI_ACPI_TABLE_GUID\r
-#define EFI_ACPI_30_TABLE_GUID EFI_ACPI_TABLE_GUID\r
-\r
-extern EFI_GUID gEfiAcpi10TableGuid;\r
-extern EFI_GUID gEfiAcpi20TableGuid;\r
-extern EFI_GUID gEfiAcpi30TableGuid;\r
-\r
-#endif\r
diff --git a/Tools/Source/TianoTools/Include/Guid/DataHubRecords.h b/Tools/Source/TianoTools/Include/Guid/DataHubRecords.h
deleted file mode 100644 (file)
index f29a5a4..0000000
+++ /dev/null
@@ -1,66 +0,0 @@
-/** @file\r
-  DataHubRecord.h include all data hub sub class GUID defitions.\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:  DataHubRecords.h\r
-\r
-  @par Revision Reference:\r
-  These GUID are from Cache subclass spec 0.9, DataHub SubClass spec 0.9, Memory SubClass Spec 0.9, \r
-  Processor Subclass spec 0.9, Misc SubClass spec 0.9.\r
-\r
-**/\r
-#ifndef _DATAHUB_RECORDS_GUID_H_\r
-#define _DATAHUB_RECORDS_GUID_H_\r
-\r
-#define EFI_PROCESSOR_PRODUCER_GUID \\r
-  { 0x1bf06aea, 0x5bec, 0x4a8d, {0x95, 0x76, 0x74, 0x9b, 0x09, 0x56, 0x2d, 0x30 } }\r
-\r
-extern  EFI_GUID gEfiProcessorProducerGuid;\r
-\r
-\r
-#define EFI_PROCESSOR_SUBCLASS_GUID \\r
-  { 0x26fdeb7e, 0xb8af, 0x4ccf, {0xaa, 0x97, 0x02, 0x63, 0x3c, 0xe4, 0x8c, 0xa7 } }\r
-\r
-extern  EFI_GUID gEfiProcessorSubClassGuid;\r
-\r
-\r
-#define EFI_CACHE_SUBCLASS_GUID \\r
-  { 0x7f0013a7, 0xdc79, 0x4b22, {0x80, 0x99, 0x11, 0xf7, 0x5f, 0xdc, 0x82, 0x9d } }\r
-\r
-extern  EFI_GUID gEfiCacheSubClassGuid;\r
-\r
-\r
-#define EFI_MEMORY_PRODUCER_GUID \\r
-  { 0x1d7add6e, 0xb2da, 0x4b0b, {0xb2, 0x9f, 0x49, 0xcb, 0x42, 0xf4, 0x63, 0x56 } }\r
-\r
-extern  EFI_GUID gEfiMemoryProducerGuid;\r
-\r
-\r
-#define EFI_MEMORY_SUBCLASS_GUID \\r
-  {0x4E8F4EBB, 0x64B9, 0x4e05, {0x9B, 0x18, 0x4C, 0xFE, 0x49, 0x23, 0x50, 0x97} }\r
-\r
-extern  EFI_GUID  gEfiMemorySubClassGuid;\r
-\r
-\r
-#define EFI_MISC_PRODUCER_GUID \\r
-  { 0x62512c92, 0x63c4, 0x4d80, {0x82, 0xb1, 0xc1, 0xa4, 0xdc, 0x44, 0x80, 0xe5 } } \r
-\r
-extern  EFI_GUID gEfiMiscProducerGuid;\r
-\r
-\r
-#define EFI_MISC_SUBCLASS_GUID \\r
-  { 0x772484B2, 0x7482, 0x4b91, {0x9F, 0x9A, 0xAD, 0x43, 0xF8, 0x1C, 0x58, 0x81 } }\r
-\r
-extern  EFI_GUID  gEfiMiscSubClassGuid;\r
-\r
-\r
-#endif\r
-\r
diff --git a/Tools/Source/TianoTools/Include/Guid/DebugImageInfoTable.h b/Tools/Source/TianoTools/Include/Guid/DebugImageInfoTable.h
deleted file mode 100644 (file)
index f050a2e..0000000
+++ /dev/null
@@ -1,58 +0,0 @@
-/** @file\r
-  GUID and related data structures used with the Debug Image Info Table.\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:  DebugImageInfoTable.h\r
-\r
-  @par Revision Reference:\r
-  GUID defined in UEFI 2.0 spec.\r
-\r
-**/\r
-\r
-#ifndef __DEBUG_IMAGE_INFO_GUID_H__\r
-#define __DEBUG_IMAGE_INFO_GUID_H__\r
-\r
-#define EFI_DEBUG_IMAGE_INFO_TABLE_GUID \\r
-  { \\r
-    0x49152e77, 0x1ada, 0x4764, {0xb7, 0xa2, 0x7a, 0xfe, 0xfe, 0xd9, 0x5e, 0x8b } \\r
-  }\r
-\r
-extern EFI_GUID gEfiDebugImageInfoTableGuid;\r
-\r
-#define EFI_DEBUG_IMAGE_INFO_UPDATE_IN_PROGRESS 0x01\r
-#define EFI_DEBUG_IMAGE_INFO_TABLE_MODIFIED     0x02\r
-#define EFI_DEBUG_IMAGE_INFO_INITIAL_SIZE       (EFI_PAGE_SIZE / sizeof (UINTN))\r
-#define EFI_DEBUG_IMAGE_INFO_TYPE_NORMAL        0x01\r
-\r
-typedef struct {\r
-  UINT64                Signature;\r
-  EFI_PHYSICAL_ADDRESS  EfiSystemTableBase;\r
-  UINT32                Crc32;\r
-} EFI_SYSTEM_TABLE_POINTER;\r
-\r
-typedef struct {\r
-  UINT32                     ImageInfoType;\r
-  EFI_LOADED_IMAGE_PROTOCOL  *LoadedImageProtocolInstance;\r
-  EFI_HANDLE                 ImageHandle;\r
-} EFI_DEBUG_IMAGE_INFO_NORMAL;\r
-\r
-typedef union {\r
-  UINTN                       *ImageInfoType;\r
-  EFI_DEBUG_IMAGE_INFO_NORMAL *NormalImage;\r
-} EFI_DEBUG_IMAGE_INFO;\r
-\r
-typedef struct {\r
-  volatile UINT32       UpdateStatus;\r
-  UINT32                TableSize;\r
-  EFI_DEBUG_IMAGE_INFO  *EfiDebugImageInfoTable;\r
-} EFI_DEBUG_IMAGE_INFO_TABLE_HEADER;\r
-\r
-#endif\r
diff --git a/Tools/Source/TianoTools/Include/Guid/DxeServices.h b/Tools/Source/TianoTools/Include/Guid/DxeServices.h
deleted file mode 100644 (file)
index 70e4304..0000000
+++ /dev/null
@@ -1,30 +0,0 @@
-/** @file\r
-  GUID used to identify the DXE Services Table\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:  DxeServices.h\r
-\r
-  @par Revision Reference:\r
-  GUID defined in DXE CIS spec version 0.91B\r
-\r
-**/\r
-\r
-#ifndef __DXE_SERVICES_GUID_H__\r
-#define __DXE_SERVICES_GUID_H__\r
-\r
-#define EFI_DXE_SERVICES_TABLE_GUID \\r
-  { \\r
-    0x5ad34ba, 0x6f02, 0x4214, {0x95, 0x2e, 0x4d, 0xa0, 0x39, 0x8e, 0x2b, 0xb9 } \\r
-  }\r
-\r
-extern EFI_GUID gEfiDxeServicesTableGuid;\r
-\r
-#endif\r
diff --git a/Tools/Source/TianoTools/Include/Guid/EventGroup.h b/Tools/Source/TianoTools/Include/Guid/EventGroup.h
deleted file mode 100644 (file)
index f86abd4..0000000
+++ /dev/null
@@ -1,45 +0,0 @@
-/** @file\r
-  GUIDs for gBS->CreateEventEx Event Groups. Defined in EFI 2.0.\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:  EventGroup.h\r
-\r
-**/\r
-\r
-#ifndef __EVENT_GROUP_GUID__\r
-#define __EVENT_GROUP_GUID__\r
-\r
-                                             \r
-#define EFI_EVENT_GROUP_EXIT_BOOT_SERVICES \\r
-  { 0x27abf055, 0xb1b8, 0x4c26, { 0x80, 0x48, 0x74, 0x8f, 0x37, 0xba, 0xa2, 0xdf } }\r
-\r
-extern EFI_GUID gEfiEventExitBootServicesGuid;\r
-\r
-\r
-#define EFI_EVENT_GROUP_VIRTUAL_ADDRESS_CHANGE \\r
-  { 0x13fa7698, 0xc831, 0x49c7, { 0x87, 0xea, 0x8f, 0x43, 0xfc, 0xc2, 0x51, 0x96 } }\r
-\r
-extern EFI_GUID gEfiEventVirtualAddressChangeGuid;\r
-\r
-\r
-#define EFI_EVENT_GROUP_MEMORY_MAP_CHANGE \\r
-  { 0x78bee926, 0x692f, 0x48fd, { 0x9e, 0xdb, 0x1, 0x42, 0x2e, 0xf0, 0xd7, 0xab } }\r
-\r
-extern EFI_GUID gEfiEventMemoryMapChangeGuid;\r
-\r
-\r
-#define EFI_EVENT_GROUP_READY_TO_BOOT \\r
-  { 0x7ce88fb3, 0x4bd7, 0x4679, { 0x87, 0xa8, 0xa8, 0xd8, 0xde, 0xe5, 0x0d, 0x2b } }\r
-\r
-extern EFI_GUID gEfiEventReadyToBootGuid;\r
-\r
-\r
-#endif\r
diff --git a/Tools/Source/TianoTools/Include/Guid/EventLegacyBios.h b/Tools/Source/TianoTools/Include/Guid/EventLegacyBios.h
deleted file mode 100644 (file)
index 6700a2d..0000000
+++ /dev/null
@@ -1,28 +0,0 @@
-/** @file\r
-  GUID is the name of events used with CreateEventEx in order to be notified when the EFI boot manager is about to boot a legacy boot option.  Events of this type are notificated just before Int19h is invoked. \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:  EventLegacyBios.h\r
-\r
-  @par Revision Reference:\r
-  GUIDs defined in DXE CIS 0.91b.\r
-\r
-**/\r
-\r
-#ifndef __EVENT_LEGACY_BIOS_GUID_H__\r
-#define __EVENT_LEGACY_BIOS_GUID_H__\r
-\r
-#define EFI_EVENT_LEGACY_BOOT_GUID \\r
-   { 0x2a571201, 0x4966, 0x47f6, {0x8b, 0x86, 0xf3, 0x1e, 0x41, 0xf3, 0x2f, 0x10 } }\r
-\r
-extern EFI_GUID gEfiEventLegacyBootGuid;\r
-\r
-#endif\r
diff --git a/Tools/Source/TianoTools/Include/Guid/FrameworkDevicePath.h b/Tools/Source/TianoTools/Include/Guid/FrameworkDevicePath.h
deleted file mode 100644 (file)
index 74c17ea..0000000
+++ /dev/null
@@ -1,29 +0,0 @@
-/** @file\r
-  This GUID is used to define a vendor specific device path being owned by the \r
-  Framework specificaitons. \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:  FrameworkDevicePath.h\r
-\r
-  @par Revision Reference:\r
-  Spec Version 0.9\r
-\r
-**/\r
-\r
-#ifndef __FRAMEWORK_DEVICE_PATH_GUID_H__\r
-#define __FRAMEWORK_DEVICE_PATH_GUID_H__\r
-\r
-#define EFI_FRAMEWORK_DEVICE_PATH_GUID  \\r
-  { 0xb7084e63, 0x46b7, 0x4d1a, { 0x86, 0x77, 0xe3, 0x0b, 0x53, 0xdb, 0xf0, 0x50 } }\r
-\r
-extern EFI_GUID gEfiFrameworkDevicePathGuid;\r
-\r
-#endif\r
diff --git a/Tools/Source/TianoTools/Include/Guid/GlobalVariable.h b/Tools/Source/TianoTools/Include/Guid/GlobalVariable.h
deleted file mode 100644 (file)
index 4a774a5..0000000
+++ /dev/null
@@ -1,31 +0,0 @@
-/** @file\r
-  GUID for EFI (NVRAM) Variables.\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:  GlobalVariable.h\r
-\r
-  @par Revision Reference:\r
-  GUID defined in UEFI 2.0\r
-**/\r
-\r
-#ifndef __GLOBAL_VARIABLE_GUID_H__\r
-#define __GLOBAL_VARIABLE_GUID_H__\r
-\r
-#define EFI_GLOBAL_VARIABLE_GUID \\r
-  { \\r
-    0x8BE4DF61, 0x93CA, 0x11d2, {0xAA, 0x0D, 0x00, 0xE0, 0x98, 0x03, 0x2B, 0x8C } \\r
-  }\r
-\r
-#define EFI_GLOBAL_VARIABLE EFI_GLOBAL_VARIABLE_GUID\r
-\r
-extern EFI_GUID gEfiGlobalVariableGuid;\r
-\r
-#endif\r
diff --git a/Tools/Source/TianoTools/Include/Guid/Gpt.h b/Tools/Source/TianoTools/Include/Guid/Gpt.h
deleted file mode 100644 (file)
index 7124511..0000000
+++ /dev/null
@@ -1,45 +0,0 @@
-/** @file\r
-  Guids used for the GPT (GUID Partition Table)\r
-\r
-  GPT defines a new disk partitioning scheme and also describes \r
-  usage of the legacy Master Boot Record (MBR) partitioning scheme. \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:  Gpt.h\r
-\r
-  @par Revision Reference:\r
-  GUIDs defined in UEFI 2.0 spec.\r
-\r
-**/\r
-\r
-#ifndef __GPT_GUID_H__\r
-#define __GPT_GUID_H__\r
-\r
-#define EFI_PART_TYPE_UNUSED_GUID \\r
-  { \\r
-    0x00000000, 0x0000, 0x0000, {0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 } \\r
-  }\r
-\r
-#define EFI_PART_TYPE_EFI_SYSTEM_PART_GUID \\r
-  { \\r
-    0xc12a7328, 0xf81f, 0x11d2, {0xba, 0x4b, 0x00, 0xa0, 0xc9, 0x3e, 0xc9, 0x3b } \\r
-  }\r
-\r
-#define EFI_PART_TYPE_LEGACY_MBR_GUID \\r
-  { \\r
-    0x024dee41, 0x33e7, 0x11d3, {0x9d, 0x69, 0x00, 0x08, 0xc7, 0x81, 0xf3, 0x9f } \\r
-  }\r
-\r
-extern EFI_GUID gEfiPartTypeUnusedGuid;\r
-extern EFI_GUID gEfiPartTypeSystemPartGuid;\r
-extern EFI_GUID gEfiPartTypeLegacyMbrGuid;\r
-\r
-#endif\r
diff --git a/Tools/Source/TianoTools/Include/Guid/HobList.h b/Tools/Source/TianoTools/Include/Guid/HobList.h
deleted file mode 100644 (file)
index 2493292..0000000
+++ /dev/null
@@ -1,32 +0,0 @@
-/** @file\r
-  GUIDs used for HOB List entries\r
-\r
-  These GUIDs point the HOB List passed from PEI to DXE.\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:  HobList.h\r
-\r
-  @par Revision Reference:\r
-  GUID defined in DXE CIS spec version 0.91\r
-\r
-**/\r
-\r
-#ifndef __HOB_LIST_GUID_H__\r
-#define __HOB_LIST_GUID_H__\r
-\r
-#define EFI_HOB_LIST_GUID \\r
-  { \\r
-    0x7739f24c, 0x93d7, 0x11d4, {0x9a, 0x3a, 0x0, 0x90, 0x27, 0x3f, 0xc1, 0x4d } \\r
-  }\r
-\r
-extern EFI_GUID gEfiHobListGuid;\r
-\r
-#endif\r
diff --git a/Tools/Source/TianoTools/Include/Guid/MemoryAllocationHob.h b/Tools/Source/TianoTools/Include/Guid/MemoryAllocationHob.h
deleted file mode 100644 (file)
index 140d8b8..0000000
+++ /dev/null
@@ -1,36 +0,0 @@
-/** @file\r
-  GUIDs for HOBs used in memory allcation\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:  MemoryAllocationHob.h\r
-\r
-  @par Revision Reference:\r
-  GUID defined in Hob Spec Version 0.9\r
-\r
-**/\r
-\r
-#ifndef __MEMORY_ALLOCATION_GUID_H__\r
-#define __MEMORY_ALLOCATION_GUID_H__\r
-\r
-#define EFI_HOB_MEMORY_ALLOC_BSP_STORE_GUID  \\r
-  {0x564b33cd, 0xc92a, 0x4593, {0x90, 0xbf, 0x24, 0x73, 0xe4, 0x3c, 0x63, 0x22} };\r
-\r
-#define EFI_HOB_MEMORY_ALLOC_STACK_GUID  \\r
-  {0x4ed4bf27, 0x4092, 0x42e9, {0x80, 0x7d, 0x52, 0x7b, 0x1d, 0x0, 0xc9, 0xbd} }\r
-\r
-#define EFI_HOB_MEMORY_ALLOC_MODULE_GUID  \\r
-  {0xf8e21975, 0x899, 0x4f58, {0xa4, 0xbe, 0x55, 0x25, 0xa9, 0xc6, 0xd7, 0x7a} }\r
-\r
-extern EFI_GUID gEfiHobMemoryAllocBspStoreGuid;\r
-extern EFI_GUID gEfiHobMemoryAllocStackGuid;\r
-extern EFI_GUID gEfiHobMemoryAllocModuleGuid;\r
-\r
-#endif\r
diff --git a/Tools/Source/TianoTools/Include/Guid/PcAnsi.h b/Tools/Source/TianoTools/Include/Guid/PcAnsi.h
deleted file mode 100644 (file)
index c9b74ab..0000000
+++ /dev/null
@@ -1,48 +0,0 @@
-/** @file\r
-  Terminal Device Path Vendor Guid.\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:  PcAnsi.h\r
-\r
-  @par Revision Reference:\r
-  GUIDs defined in UEFI 2.0 spec.\r
-\r
-**/\r
-\r
-#ifndef __PC_ANSI_H__\r
-#define __PC_ANSI_H__\r
-\r
-#define EFI_PC_ANSI_GUID \\r
-  { \\r
-    0xe0c14753, 0xf9be, 0x11d2, {0x9a, 0x0c, 0x00, 0x90, 0x27, 0x3f, 0xc1, 0x4d } \\r
-  }\r
-\r
-#define EFI_VT_100_GUID \\r
-  { \\r
-    0xdfa66065, 0xb419, 0x11d3, {0x9a, 0x2d, 0x00, 0x90, 0x27, 0x3f, 0xc1, 0x4d } \\r
-  }\r
-\r
-#define EFI_VT_100_PLUS_GUID \\r
-  { \\r
-    0x7baec70b, 0x57e0, 0x4c76, {0x8e, 0x87, 0x2f, 0x9e, 0x28, 0x08, 0x83, 0x43 } \\r
-  }\r
-\r
-#define EFI_VT_UTF8_GUID \\r
-  { \\r
-    0xad15a0d6, 0x8bec, 0x4acf, {0xa0, 0x73, 0xd0, 0x1d, 0xe7, 0x7e, 0x2d, 0x88 } \\r
-  }\r
-\r
-extern EFI_GUID gEfiPcAnsiGuid;\r
-extern EFI_GUID gEfiVT100Guid;\r
-extern EFI_GUID gEfiVT100PlusGuid;\r
-extern EFI_GUID gEfiVTUTF8Guid;\r
-\r
-#endif\r
diff --git a/Tools/Source/TianoTools/Include/Guid/SalSystemTable.h b/Tools/Source/TianoTools/Include/Guid/SalSystemTable.h
deleted file mode 100644 (file)
index 30c830f..0000000
+++ /dev/null
@@ -1,38 +0,0 @@
-/** @file\r
-  GUIDs used for SAL system table entries in the EFI system table.\r
-\r
-  SAL System Table contains Itanium-based processor centric information about\r
-  the system.\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:  SalSystemTable.h\r
-\r
-  @par Revision Reference:\r
-  GUIDs defined in UEFI 2.0 spec.\r
-\r
-**/\r
-\r
-#ifndef __SAL_SYSTEM_TABLE_GUID_H__\r
-#define __SAL_SYSTEM_TABLE_GUID_H__\r
-\r
-#define EFI_SAL_SYSTEM_TABLE_GUID \\r
-  { \\r
-    0xeb9d2d32, 0x2d88, 0x11d3, {0x9a, 0x16, 0x0, 0x90, 0x27, 0x3f, 0xc1, 0x4d } \\r
-  }\r
-\r
-//\r
-// GUID name defined in spec.\r
-//\r
-#define SAL_SYSTEM_TABLE_GUID EFI_SAL_SYSTEM_TABLE_GUID\r
-\r
-extern EFI_GUID gEfiSalSystemTableGuid;\r
-\r
-#endif\r
diff --git a/Tools/Source/TianoTools/Include/Guid/SmBios.h b/Tools/Source/TianoTools/Include/Guid/SmBios.h
deleted file mode 100644 (file)
index f02f9fe..0000000
+++ /dev/null
@@ -1,68 +0,0 @@
-/** @file\r
-  GUIDs used to locate the SMBIOS tables in the EFI 1.0 system table.\r
-\r
-  This GUID in the system table is the only legal way to search for and \r
-  locate the SMBIOS tables. Do not search the 0xF0000 segment to find SMBIOS\r
-  tables.\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:  SmBios.h\r
-\r
-  @par Revision Reference:\r
-  GUIDs defined in UEFI 2.0 spec.\r
-\r
-**/\r
-\r
-#ifndef __SMBIOS_GUID_H__\r
-#define __SMBIOS_GUID_H__\r
-\r
-#define EFI_SMBIOS_TABLE_GUID \\r
-  { \\r
-    0xeb9d2d31, 0x2d88, 0x11d3, {0x9a, 0x16, 0x0, 0x90, 0x27, 0x3f, 0xc1, 0x4d } \\r
-  }\r
-\r
-#define SMBIOS_TABLE_GUID EFI_SMBIOS_TABLE_GUID\r
-\r
-//\r
-// Smbios Table Entry Point Structure\r
-//\r
-#pragma pack(1)\r
-typedef struct {\r
-  UINT8   AnchorString[4];\r
-  UINT8   EntryPointStructureChecksum;\r
-  UINT8   EntryPointLength;\r
-  UINT8   MajorVersion;\r
-  UINT8   MinorVersion;\r
-  UINT16  MaxStructureSize;\r
-  UINT8   EntryPointRevision;\r
-  UINT8   FormattedArea[5];\r
-  UINT8   IntermediateAnchorString[5];\r
-  UINT8   IntermediateChecksum;\r
-  UINT16  TableLength;\r
-  UINT32  TableAddress;\r
-  UINT16  NumberOfSmbiosStructures;\r
-  UINT8   SmbiosBcdRevision;\r
-} SMBIOS_TABLE_ENTRY_POINT;\r
-\r
-//\r
-// The Smbios structure header\r
-//\r
-typedef struct {\r
-  UINT8   Type;\r
-  UINT8   Length;\r
-  UINT16  Handle;\r
-} SMBIOS_STRUCTURE;\r
-\r
-#pragma pack()\r
-\r
-extern EFI_GUID       gEfiSmbiosTableGuid;\r
-\r
-#endif\r
diff --git a/Tools/Source/TianoTools/Include/Guid/SmmCommunicate.h b/Tools/Source/TianoTools/Include/Guid/SmmCommunicate.h
deleted file mode 100644 (file)
index 2ec200b..0000000
+++ /dev/null
@@ -1,39 +0,0 @@
-/** @file\r
-  Definitions EFI_SMM_COMMUNICATE_HEADER used by EFI_SMM_BASE_PROTOCOL.Communicate() functions\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:  SmmCommunicate.h\r
-\r
-  @par Revision Reference:\r
-  GUIDs defined in SmmCis spec version 0.9\r
-\r
-**/\r
-\r
-#ifndef __SMM_COMMUNICATE_GUID_H__\r
-#define __SMM_COMMUNICATE_GUID_H__\r
-\r
-//******************************************************\r
-// EFI_SMM_COMMUNICATE_HEADER\r
-//******************************************************\r
-#define SMM_COMMUNICATE_HEADER_GUID \\r
-  { \\r
-    0xf328e36c, 0x23b6, 0x4a95, {0x85, 0x4b, 0x32, 0xe1, 0x95, 0x34, 0xcd, 0x75 } \\r
-  }\r
-\r
-typedef struct {\r
-  EFI_GUID                         HeaderGuid;\r
-  UINTN                            MessageLength;\r
-  UINT8                            Data[1];\r
-} EFI_SMM_COMMUNICATE_HEADER;\r
-\r
-extern EFI_GUID gSmmCommunicateHeaderGuid;\r
-\r
-#endif\r
diff --git a/Tools/Source/TianoTools/Include/Guid/SmramMemoryReserve.h b/Tools/Source/TianoTools/Include/Guid/SmramMemoryReserve.h
deleted file mode 100644 (file)
index fc49092..0000000
+++ /dev/null
@@ -1,67 +0,0 @@
-/** @file\r
-  GUID for use in reserving SMRAM regions.\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:  SmramMemoryReserve.h\r
-\r
-  @par Revision Reference:\r
-  GUIDs defined in SmmCis spec version 0.9\r
-\r
-**/\r
-\r
-#ifndef _EFI_SMM_PEI_SMRAM_MEMORY_RESERVE_H_\r
-#define _EFI_SMM_PEI_SMRAM_MEMORY_RESERVE_H_\r
-\r
-#define EFI_SMM_PEI_SMRAM_MEMORY_RESERVE \\r
-  { \\r
-    0x6dadf1d1, 0xd4cc, 0x4910, {0xbb, 0x6e, 0x82, 0xb1, 0xfd, 0x80, 0xff, 0x3d } \\r
-  }\r
-\r
-//\r
-// *******************************************************\r
-//  EFI_SMRAM_DESCRIPTOR\r
-// *******************************************************\r
-//\r
-typedef struct {\r
-  EFI_PHYSICAL_ADDRESS  PhysicalStart;  // Phsyical location in DRAM\r
-  EFI_PHYSICAL_ADDRESS  CpuStart;       // Address CPU uses to access the SMI handler\r
-  // May or may not match PhysicalStart\r
-  //\r
-  UINT64                PhysicalSize;\r
-  UINT64                RegionState;\r
-} EFI_SMRAM_DESCRIPTOR;\r
-\r
-//\r
-// *******************************************************\r
-//  EFI_SMRAM_STATE\r
-// *******************************************************\r
-//\r
-#define EFI_SMRAM_OPEN                0x00000001\r
-#define EFI_SMRAM_CLOSED              0x00000002\r
-#define EFI_SMRAM_LOCKED              0x00000004\r
-#define EFI_CACHEABLE                 0x00000008\r
-#define EFI_ALLOCATED                 0x00000010\r
-#define EFI_NEEDS_TESTING             0x00000020\r
-#define EFI_NEEDS_ECC_INITIALIZATION  0x00000040\r
-\r
-//\r
-// *******************************************************\r
-//  EFI_SMRAM_HOB_DESCRIPTOR_BLOCK\r
-// *******************************************************\r
-//\r
-typedef struct {\r
-  UINTN                 NumberOfSmmReservedRegions;\r
-  EFI_SMRAM_DESCRIPTOR  Descriptor[1];\r
-} EFI_SMRAM_HOB_DESCRIPTOR_BLOCK;\r
-\r
-extern EFI_GUID gEfiSmmPeiSmramMemoryReserve;\r
-\r
-#endif\r
diff --git a/Tools/Source/TianoTools/Include/Guid/StatusCodeDataTypeId.h b/Tools/Source/TianoTools/Include/Guid/StatusCodeDataTypeId.h
deleted file mode 100644 (file)
index f747af0..0000000
+++ /dev/null
@@ -1,82 +0,0 @@
-/** @file\r
-  GUID used to identify id for the caller who is initiating the Status Code.\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:  StatusCodeDataTypeId.h\r
-\r
-  @par Revision Reference:\r
-  GUIDs defined in Status Codes Specification 0.92\r
-\r
-**/\r
-\r
-#ifndef __STATUS_CODE_DATA_TYPE_ID_GUID_H__\r
-#define __STATUS_CODE_DATA_TYPE_ID_GUID_H__\r
-\r
-//\r
-// String Data Type defintion. This is part of Status Code Specification\r
-//\r
-#define EFI_STATUS_CODE_DATA_TYPE_STRING_GUID \\r
-  { 0x92D11080, 0x496F, 0x4D95, { 0xBE, 0x7E, 0x03, 0x74, 0x88, 0x38, 0x2B, 0x0A } }\r
-\r
-extern EFI_GUID gEfiStatusCodeDataTypeStringGuid;\r
-\r
-//\r
-// This GUID indicates that the format of the accompanying data depends\r
-// upon the Status Code Value, but follows this Specification\r
-//\r
-#define EFI_STATUS_CODE_SPECIFIC_DATA_GUID \\r
-  { 0x335984bd, 0xe805, 0x409a, { 0xb8, 0xf8, 0xd2, 0x7e, 0xce, 0x5f, 0xf7, 0xa6 } }\r
-\r
-extern EFI_GUID gEfiStatusCodeSpecificDataGuid;\r
-\r
-//\r
-// Debug Assert Data. This is part of Status Code Specification\r
-//\r
-#define EFI_STATUS_CODE_DATA_TYPE_ASSERT_GUID \\r
- { 0xDA571595, 0x4D99, 0x487C, { 0x82, 0x7C, 0x26, 0x22, 0x67, 0x7D, 0x33, 0x07 } }\r
-\r
-\r
-extern EFI_GUID gEfiStatusCodeDataTypeAssertGuid;\r
-\r
-//\r
-// Exception Data type (CPU REGS)\r
-//\r
-#define EFI_STATUS_CODE_DATA_TYPE_EXCEPTION_HANDLER_GUID \\r
-  { 0x3BC2BD12, 0xAD2E, 0x11D5, { 0x87, 0xDD, 0x00, 0x06, 0x29, 0x45, 0xC3, 0xB9 } }\r
-\r
-extern EFI_GUID gEfiStatusCodeDataTypeExceptionHandlerGuid;\r
-\r
-//\r
-// Debug DataType defintions. User Defined Data Types.\r
-//\r
-#define EFI_STATUS_CODE_DATA_TYPE_DEBUG_GUID \\r
-  { 0x9A4E9246, 0xD553, 0x11D5, { 0x87, 0xE2, 0x00, 0x06, 0x29, 0x45, 0xC3, 0xb9 } }\r
-\r
-extern EFI_GUID gEfiStatusCodeDataTypeDebugGuid;\r
-\r
-//\r
-// Progress Code. User Defined Data Type Guid.\r
-//\r
-#define EFI_STATUS_CODE_DATA_TYPE_ERROR_GUID \\r
-  0xAB359CE3, 0x99B3, 0xAE18, { 0xC8, 0x9D, 0x95, 0xD3, 0xB0, 0x72, 0xE1, 0x9B } }\r
-\r
-extern EFI_GUID gEfiStatusCodeDataTypeErrorGuid;\r
-\r
-\r
-//\r
-// Progress Code. User Defined Data Type Guid.\r
-//\r
-#define EFI_STATUS_CODE_DATA_TYPE_PROGRESS_CODE_GUID \\r
-  { 0xA356AB39, 0x35C4, 0x35DA, { 0xB3, 0x7A, 0xF8, 0xEA, 0x9E, 0x8B, 0x36, 0xA3 } }\r
-\r
-extern EFI_GUID gEfiStatusCodeDataTypeProgressCodeGuid;\r
-\r
-#endif\r
diff --git a/Tools/Source/TianoTools/Include/IndustryStandard/Usb.h b/Tools/Source/TianoTools/Include/IndustryStandard/Usb.h
deleted file mode 100644 (file)
index dca7351..0000000
+++ /dev/null
@@ -1,282 +0,0 @@
-/** @file\r
-  Support for USB 1.1 standard.\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:  Usb.h\r
-\r
-**/\r
-\r
-#ifndef __USB_H__\r
-#define __USB_H__\r
-\r
-//\r
-// USB Descriptor types\r
-//\r
-#define USB_DT_DEVICE     0x01\r
-#define USB_DT_CONFIG     0x02\r
-#define USB_DT_STRING     0x03\r
-#define USB_DT_INTERFACE  0x04\r
-#define USB_DT_ENDPOINT   0x05\r
-#define USB_DT_HUB        0x29\r
-#define USB_DT_HID        0x21\r
-\r
-//\r
-// USB request type\r
-//\r
-#define USB_TYPE_STANDARD (0x00 << 5)\r
-#define USB_TYPE_CLASS    (0x01 << 5)\r
-#define USB_TYPE_VENDOR   (0x02 << 5)\r
-#define USB_TYPE_RESERVED (0x03 << 5)\r
-\r
-//\r
-// USB request targer device\r
-//\r
-#define USB_RECIP_DEVICE    0x00\r
-#define USB_RECIP_INTERFACE 0x01\r
-#define USB_RECIP_ENDPOINT  0x02\r
-#define USB_RECIP_OTHER     0x03\r
-\r
-//\r
-// Request target types.\r
-//\r
-#define USB_RT_DEVICE     0x00\r
-#define USB_RT_INTERFACE  0x01\r
-#define USB_RT_ENDPOINT   0x02\r
-#define USB_RT_HUB        (USB_TYPE_CLASS | USB_RECIP_DEVICE)\r
-#define USB_RT_PORT       (USB_TYPE_CLASS | USB_RECIP_OTHER)\r
-\r
-//\r
-// USB Transfer Results\r
-//\r
-#define EFI_USB_NOERROR         0x00\r
-#define EFI_USB_ERR_NOTEXECUTE  0x01\r
-#define EFI_USB_ERR_STALL       0x02\r
-#define EFI_USB_ERR_BUFFER      0x04\r
-#define EFI_USB_ERR_BABBLE      0x08\r
-#define EFI_USB_ERR_NAK         0x10\r
-#define EFI_USB_ERR_CRC         0x20\r
-#define EFI_USB_ERR_TIMEOUT     0x40\r
-#define EFI_USB_ERR_BITSTUFF    0x80\r
-#define EFI_USB_ERR_SYSTEM      0x100\r
-\r
-//\r
-//Use 200 ms to increase the error handling response time\r
-//\r
-#define EFI_USB_INTERRUPT_DELAY 2000000\r
-\r
-//\r
-// USB transation direction\r
-//\r
-typedef enum {\r
-  EfiUsbDataOut,\r
-  EfiUsbDataIn,\r
-  EfiUsbNoData\r
-} EFI_USB_DATA_DIRECTION;\r
-\r
-//\r
-// Usb Data recipient type\r
-//\r
-typedef enum {\r
-  EfiUsbDevice,\r
-  EfiUsbInterface,\r
-  EfiUsbEndpoint\r
-} EFI_USB_RECIPIENT;\r
-\r
-typedef enum {\r
-  EfiUsbEndpointHalt,\r
-  EfiUsbDeviceRemoteWakeup\r
-} EFI_USB_STANDARD_FEATURE_SELECTOR;\r
-\r
-#pragma pack(1)\r
-//\r
-// Usb device request structure\r
-//\r
-typedef struct {\r
-  UINT8   RequestType;\r
-  UINT8   Request;\r
-  UINT16  Value;\r
-  UINT16  Index;\r
-  UINT16  Length;\r
-} EFI_USB_DEVICE_REQUEST;\r
-\r
-//\r
-// Standard USB request\r
-//\r
-#define USB_DEV_GET_STATUS                  0x00\r
-\r
-#define USB_DEV_CLEAR_FEATURE               0x01\r
-\r
-#define USB_DEV_SET_FEATURE                 0x03\r
-\r
-#define USB_DEV_SET_ADDRESS                 0x05\r
-#define USB_DEV_SET_ADDRESS_REQ_TYPE        0x00\r
-\r
-#define USB_DEV_GET_DESCRIPTOR              0x06\r
-#define USB_DEV_GET_DESCRIPTOR_REQ_TYPE     0x80\r
-\r
-#define USB_DEV_SET_DESCRIPTOR              0x07\r
-#define USB_DEV_SET_DESCRIPTOR_REQ_TYPE     0x00\r
-\r
-#define USB_DEV_GET_CONFIGURATION           0x08\r
-#define USB_DEV_GET_CONFIGURATION_REQ_TYPE  0x80\r
-\r
-#define USB_DEV_SET_CONFIGURATION           0x09\r
-#define USB_DEV_SET_CONFIGURATION_REQ_TYPE  0x00\r
-\r
-#define USB_DEV_GET_INTERFACE               0x0A\r
-#define USB_DEV_GET_INTERFACE_REQ_TYPE      0x81\r
-\r
-#define USB_DEV_SET_INTERFACE               0x0B\r
-#define USB_DEV_SET_INTERFACE_REQ_TYPE      0x01\r
-\r
-#define USB_DEV_SYNCH_FRAME                 0x0C\r
-#define USB_DEV_SYNCH_FRAME_REQ_TYPE        0x82\r
-\r
-//\r
-// Device descriptor. refer USB1.1\r
-//\r
-typedef struct usb_device_descriptor {\r
-  UINT8   Length;\r
-  UINT8   DescriptorType;\r
-  UINT16  BcdUSB;\r
-  UINT8   DeviceClass;\r
-  UINT8   DeviceSubClass;\r
-  UINT8   DeviceProtocol;\r
-  UINT8   MaxPacketSize0;\r
-  UINT16  IdVendor;\r
-  UINT16  IdProduct;\r
-  UINT16  BcdDevice;\r
-  UINT8   StrManufacturer;\r
-  UINT8   StrProduct;\r
-  UINT8   StrSerialNumber;\r
-  UINT8   NumConfigurations;\r
-} EFI_USB_DEVICE_DESCRIPTOR;\r
-\r
-//\r
-// Endpoint descriptor\r
-//\r
-typedef struct {\r
-  UINT8   Length;\r
-  UINT8   DescriptorType;\r
-  UINT8   EndpointAddress;\r
-  UINT8   Attributes;\r
-  UINT16  MaxPacketSize;\r
-  UINT8   Interval;\r
-} EFI_USB_ENDPOINT_DESCRIPTOR;\r
-\r
-//\r
-// Interface descriptor\r
-//\r
-typedef struct {\r
-  UINT8 Length;\r
-  UINT8 DescriptorType;\r
-  UINT8 InterfaceNumber;\r
-  UINT8 AlternateSetting;\r
-  UINT8 NumEndpoints;\r
-  UINT8 InterfaceClass;\r
-  UINT8 InterfaceSubClass;\r
-  UINT8 InterfaceProtocol;\r
-  UINT8 Interface;\r
-} EFI_USB_INTERFACE_DESCRIPTOR;\r
-\r
-//\r
-// USB alternate setting\r
-//\r
-typedef struct {\r
-  EFI_USB_INTERFACE_DESCRIPTOR  *Interface;\r
-} USB_ALT_SETTING;\r
-\r
-//\r
-// Configuration descriptor\r
-//\r
-typedef struct {\r
-  UINT8   Length;\r
-  UINT8   DescriptorType;\r
-  UINT16  TotalLength;\r
-  UINT8   NumInterfaces;\r
-  UINT8   ConfigurationValue;\r
-  UINT8   Configuration;\r
-  UINT8   Attributes;\r
-  UINT8   MaxPower;\r
-} EFI_USB_CONFIG_DESCRIPTOR;\r
-\r
-//\r
-// Supported String Languages\r
-//\r
-typedef struct {\r
-  UINT8   Length;\r
-  UINT8   DescriptorType;\r
-  UINT16  SupportedLanID[1];\r
-} EFI_USB_SUPPORTED_LANGUAGES;\r
-\r
-//\r
-// String descriptor\r
-//\r
-typedef struct {\r
-  UINT8   Length;\r
-  UINT8   DescriptorType;\r
-  CHAR16  String[1];\r
-} EFI_USB_STRING_DESCRIPTOR;\r
-\r
-//\r
-// Hub descriptor\r
-//\r
-#define MAXBYTES  8\r
-typedef struct {\r
-  UINT8 Length;\r
-  UINT8 DescriptorType;\r
-  UINT8 NbrPorts;\r
-  UINT8 HubCharacteristics[2];\r
-  UINT8 PwrOn2PwrGood;\r
-  UINT8 HubContrCurrent;\r
-  UINT8 Filler[MAXBYTES];\r
-} EFI_USB_HUB_DESCRIPTOR;\r
-\r
-typedef struct {\r
-  UINT16  PortStatus;\r
-  UINT16  PortChangeStatus;\r
-} EFI_USB_PORT_STATUS;\r
-\r
-//\r
-// Constant value for Port Status & Port Change Status\r
-//\r
-#define USB_PORT_STAT_CONNECTION    0x0001\r
-#define USB_PORT_STAT_ENABLE        0x0002\r
-#define USB_PORT_STAT_SUSPEND       0x0004\r
-#define USB_PORT_STAT_OVERCURRENT   0x0008\r
-#define USB_PORT_STAT_RESET         0x0010\r
-#define USB_PORT_STAT_POWER         0x0100\r
-#define USB_PORT_STAT_LOW_SPEED     0x0200\r
-\r
-#define USB_PORT_STAT_C_CONNECTION  0x0001\r
-#define USB_PORT_STAT_C_ENABLE      0x0002\r
-#define USB_PORT_STAT_C_SUSPEND     0x0004\r
-#define USB_PORT_STAT_C_OVERCURRENT 0x0008\r
-#define USB_PORT_STAT_C_RESET       0x0010\r
-\r
-//\r
-// Used for set/clear port feature request\r
-//\r
-typedef enum {\r
-  EfiUsbPortEnable            = 1,\r
-  EfiUsbPortSuspend           = 2,\r
-  EfiUsbPortReset             = 4,\r
-  EfiUsbPortPower             = 8,\r
-  EfiUsbPortConnectChange     = 16,\r
-  EfiUsbPortEnableChange      = 17,\r
-  EfiUsbPortSuspendChange     = 18,\r
-  EfiUsbPortOverCurrentChange = 19,\r
-  EfiUsbPortResetChange       = 20\r
-} EFI_USB_PORT_FEATURE;\r
-\r
-#pragma pack()\r
-\r
-#endif\r
diff --git a/Tools/Source/TianoTools/Include/Library/BaseLib.h b/Tools/Source/TianoTools/Include/Library/BaseLib.h
deleted file mode 100644 (file)
index 7fb2e64..0000000
+++ /dev/null
@@ -1,4890 +0,0 @@
-/** @file\r
-       Memory-only library functions with no library constructor/destructor\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:    BaseLib.h\r
-\r
-**/\r
-\r
-#ifndef __BASE_LIB__\r
-#define __BASE_LIB__\r
-\r
-//\r
-// Definitions for architecture specific types\r
-// These include SPIN_LOCK and BASE_LIBRARY_JUMP_BUFFER\r
-//\r
-\r
-//\r
-// SPIN_LOCK\r
-//\r
-typedef UINTN                       SPIN_LOCK;\r
-\r
-#if   defined (MDE_CPU_IA32)\r
-//\r
-// IA32 context buffer used by SetJump() and LongJump()\r
-//\r
-typedef struct {\r
-  UINT32                            Ebx;\r
-  UINT32                            Esi;\r
-  UINT32                            Edi;\r
-  UINT32                            Ebp;\r
-  UINT32                            Esp;\r
-  UINT32                            Eip;\r
-} BASE_LIBRARY_JUMP_BUFFER;\r
-\r
-#elif defined (MDE_CPU_IPF)\r
-//\r
-// IPF context buffer used by SetJump() and LongJump()\r
-//\r
-typedef struct {\r
-  UINT64                            InitialUNAT;\r
-  UINT64                            AfterSpillUNAT;\r
-  UINT64                            PFS;\r
-  UINT64                            BSP;\r
-  UINT64                            RNAT;\r
-  UINT64                            Predicates;\r
-  UINT64                            LoopCount;\r
-  UINT64                            R4;\r
-  UINT64                            R5;\r
-  UINT64                            R6;\r
-  UINT64                            R7;\r
-  UINT64                            SP;\r
-  UINT64                            F2Low;\r
-  UINT64                            F2High;\r
-  UINT64                            F3Low;\r
-  UINT64                            F3High;\r
-  UINT64                            F4Low;\r
-  UINT64                            F4High;\r
-  UINT64                            F5Low;\r
-  UINT64                            F5High;\r
-  UINT64                            F16Low;\r
-  UINT64                            F16High;\r
-  UINT64                            F17Low;\r
-  UINT64                            F17High;\r
-  UINT64                            F18Low;\r
-  UINT64                            F18High;\r
-  UINT64                            F19Low;\r
-  UINT64                            F19High;\r
-  UINT64                            F20Low;\r
-  UINT64                            F20High;\r
-  UINT64                            F21Low;\r
-  UINT64                            F21High;\r
-  UINT64                            F22Low;\r
-  UINT64                            F22High;\r
-  UINT64                            F23Low;\r
-  UINT64                            F23High;\r
-  UINT64                            F24Low;\r
-  UINT64                            F24High;\r
-  UINT64                            F25Low;\r
-  UINT64                            F25High;\r
-  UINT64                            F26Low;\r
-  UINT64                            F26High;\r
-  UINT64                            F27Low;\r
-  UINT64                            F27High;\r
-  UINT64                            F28Low;\r
-  UINT64                            F28High;\r
-  UINT64                            F29Low;\r
-  UINT64                            F29High;\r
-  UINT64                            F30Low;\r
-  UINT64                            F30High;\r
-  UINT64                            F31Low;\r
-  UINT64                            F31High;\r
-  UINT64                            FPSR;\r
-  UINT64                            BR0;\r
-  UINT64                            BR1;\r
-  UINT64                            BR2;\r
-  UINT64                            BR3;\r
-  UINT64                            BR4;\r
-  UINT64                            BR5;\r
-} BASE_LIBRARY_JUMP_BUFFER;\r
-\r
-#elif defined (MDE_CPU_X64)\r
-//\r
-// X64 context buffer used by SetJump() and LongJump()\r
-//\r
-typedef struct {\r
-  UINT64                            Rbx;\r
-  UINT64                            Rsp;\r
-  UINT64                            Rbp;\r
-  UINT64                            Rdi;\r
-  UINT64                            Rsi;\r
-  UINT64                            R12;\r
-  UINT64                            R13;\r
-  UINT64                            R14;\r
-  UINT64                            R15;\r
-  UINT64                            Rip;\r
-} BASE_LIBRARY_JUMP_BUFFER;\r
-\r
-#elif defined (MDE_CPU_EBC)\r
-//\r
-// EBC context buffer used by SetJump() and LongJump()\r
-//\r
-typedef struct {\r
-  UINT64                            R0;\r
-  UINT64                            R1;\r
-  UINT64                            R2;\r
-  UINT64                            R3;\r
-  UINT64                            IP;\r
-} BASE_LIBRARY_JUMP_BUFFER;\r
-\r
-#else\r
-#error Unknown Processor Type\r
-#endif\r
-\r
-//\r
-// String Services\r
-//\r
-\r
-/**\r
-  Copies one Null-terminated Unicode string to another Null-terminated Unicode\r
-  string and returns the new Unicode string.\r
-\r
-  This function copies the contents of the Unicode string Source to the Unicode\r
-  string Destination, and returns Destination. If Source and Destination\r
-  overlap, then the results are undefined.\r
-\r
-  If Destination is NULL, then ASSERT().\r
-  If Source is NULL, then ASSERT().\r
-  If Source and Destination overlap, then ASSERT().\r
-  If PcdMaximumUnicodeStringLength is not zero, and Source contains more than\r
-  PcdMaximumUnicodeStringLength Unicode characters, then ASSERT().\r
-\r
-  @param  Destination Pointer to a Null-terminated Unicode string.\r
-  @param  Source      Pointer to a Null-terminated Unicode string.\r
-\r
-  @return Destiantion\r
-\r
-**/\r
-CHAR16 *\r
-EFIAPI\r
-StrCpy (\r
-  OUT     CHAR16                    *Destination,\r
-  IN      CONST CHAR16              *Source\r
-  );\r
-\r
-/**\r
-  Copies one Null-terminated Unicode string with a maximum length to another\r
-  Null-terminated Unicode string with a maximum length and returns the new\r
-  Unicode string.\r
-\r
-  This function copies the contents of the Unicode string Source to the Unicode\r
-  string Destination, and returns Destination. At most, Length Unicode\r
-  characters are copied from Source to Destination. If Length is 0, then\r
-  Destination is returned unmodified. If Length is greater that the number of\r
-  Unicode characters in Source, then Destination is padded with Null Unicode\r
-  characters. If Source and Destination overlap, then the results are\r
-  undefined.\r
-\r
-  If Destination is NULL, then ASSERT().\r
-  If Source is NULL, then ASSERT().\r
-  If Source and Destination overlap, then ASSERT().\r
-  If PcdMaximumUnicodeStringLength is not zero, and Source contains more than\r
-  PcdMaximumUnicodeStringLength Unicode characters, then ASSERT().\r
-\r
-  @param  Destination Pointer to a Null-terminated Unicode string.\r
-  @param  Source      Pointer to a Null-terminated Unicode string.\r
-  @param  Length      Maximum number of Unicode characters to copy.\r
-\r
-  @return Destination\r
-\r
-**/\r
-CHAR16 *\r
-EFIAPI\r
-StrnCpy (\r
-  OUT     CHAR16                    *Destination,\r
-  IN      CONST CHAR16              *Source,\r
-  IN      UINTN                     Length\r
-  );\r
-\r
-/**\r
-  Returns the length of a Null-terminated Unicode string.\r
-\r
-  This function returns the number of Unicode characters in the Null-terminated\r
-  Unicode string specified by String.\r
-\r
-  If String is NULL, then ASSERT().\r
-  If PcdMaximumUnicodeStringLength is not zero, and String contains more than\r
-  PcdMaximumUnicodeStringLength Unicode characters, then ASSERT().\r
-\r
-  @param  String  Pointer to a Null-terminated Unicode string.\r
-\r
-  @return The length of String.\r
-\r
-**/\r
-UINTN\r
-EFIAPI\r
-StrLen (\r
-  IN      CONST CHAR16              *String\r
-  );\r
-\r
-/**\r
-  Returns the size of a Null-terminated Unicode string in bytes, including the\r
-  Null terminator.\r
-\r
-  This function returns the size, in bytes, of the Null-terminated Unicode\r
-  string specified by String.\r
-\r
-  If String is NULL, then ASSERT().\r
-  If PcdMaximumUnicodeStringLength is not zero, and String contains more than\r
-  PcdMaximumUnicodeStringLength Unicode characters, then ASSERT().\r
-\r
-  @param  String  Pointer to a Null-terminated Unicode string.\r
-\r
-  @return The size of String.\r
-\r
-**/\r
-UINTN\r
-EFIAPI\r
-StrSize (\r
-  IN      CONST CHAR16              *String\r
-  );\r
-\r
-/**\r
-  Compares two Null-terminated Unicode strings, and returns the difference\r
-  between the first mismatched Unicode characters.\r
-\r
-  This function compares the Null-terminated Unicode string FirstString to the\r
-  Null-terminated Unicode string SecondString. If FirstString is identical to\r
-  SecondString, then 0 is returned. Otherwise, the value returned is the first\r
-  mismatched Unicode character in SecondString subtracted from the first\r
-  mismatched Unicode character in FirstString.\r
-\r
-  If FirstString is NULL, then ASSERT().\r
-  If SecondString is NULL, then ASSERT().\r
-  If PcdMaximumUnicodeStringLength is not zero, and FirstString contains more\r
-  than PcdMaximumUnicodeStringLength Unicode characters, then ASSERT().\r
-  If PcdMaximumUnicodeStringLength is not zero, and SecondString contains more\r
-  than PcdMaximumUnicodeStringLength Unicode characters, then ASSERT().\r
-\r
-  @param  FirstString   Pointer to a Null-terminated Unicode string.\r
-  @param  SecondString  Pointer to a Null-terminated Unicode string.\r
-\r
-  @retval 0   FirstString is identical to SecondString.\r
-  @retval !=0 FirstString is not identical to SecondString.\r
-\r
-**/\r
-INTN\r
-EFIAPI\r
-StrCmp (\r
-  IN      CONST CHAR16              *FirstString,\r
-  IN      CONST CHAR16              *SecondString\r
-  );\r
-\r
-/**\r
-  Compares two Null-terminated Unicode strings with maximum lengths, and\r
-  returns the difference between the first mismatched Unicode characters.\r
-\r
-  This function compares the Null-terminated Unicode string FirstString to the\r
-  Null-terminated Unicode string SecondString. At most, Length Unicode\r
-  characters will be compared. If Length is 0, then 0 is returned. If\r
-  FirstString is identical to SecondString, then 0 is returned. Otherwise, the\r
-  value returned is the first mismatched Unicode character in SecondString\r
-  subtracted from the first mismatched Unicode character in FirstString.\r
-\r
-  If FirstString is NULL, then ASSERT().\r
-  If SecondString is NULL, then ASSERT().\r
-  If PcdMaximumUnicodeStringLength is not zero, and FirstString contains more\r
-  than PcdMaximumUnicodeStringLength Unicode characters, then ASSERT().\r
-  If PcdMaximumUnicodeStringLength is not zero, and SecondString contains more\r
-  than PcdMaximumUnicodeStringLength Unicode characters, then ASSERT().\r
-\r
-  @param  FirstString   Pointer to a Null-terminated Unicode string.\r
-  @param  SecondString  Pointer to a Null-terminated Unicode string.\r
-  @param  Length        Maximum number of Unicode characters to compare.\r
-\r
-  @retval 0   FirstString is identical to SecondString.\r
-  @retval !=0 FirstString is not identical to SecondString.\r
-\r
-**/\r
-INTN\r
-EFIAPI\r
-StrnCmp (\r
-  IN      CONST CHAR16              *FirstString,\r
-  IN      CONST CHAR16              *SecondString,\r
-  IN      UINTN                     Length\r
-  );\r
-\r
-/**\r
-  Concatenates one Null-terminated Unicode string to another Null-terminated\r
-  Unicode string, and returns the concatenated Unicode string.\r
-\r
-  This function concatenates two Null-terminated Unicode strings. The contents\r
-  of Null-terminated Unicode string Source are concatenated to the end of\r
-  Null-terminated Unicode string Destination. The Null-terminated concatenated\r
-  Unicode String is returned. If Source and Destination overlap, then the\r
-  results are undefined.\r
-\r
-  If Destination is NULL, then ASSERT().\r
-  If Source is NULL, then ASSERT().\r
-  If Source and Destination overlap, then ASSERT().\r
-  If PcdMaximumUnicodeStringLength is not zero, and Destination contains more\r
-  than PcdMaximumUnicodeStringLength Unicode characters, then ASSERT().\r
-  If PcdMaximumUnicodeStringLength is not zero, and Source contains more than\r
-  PcdMaximumUnicodeStringLength Unicode characters, then ASSERT().\r
-  If PcdMaximumUnicodeStringLength is not zero, and concatenating Destination\r
-  and Source results in a Unicode string with more than\r
-  PcdMaximumUnicodeStringLength Unicode characters, then ASSERT().\r
-\r
-  @param  Destination Pointer to a Null-terminated Unicode string.\r
-  @param  Source      Pointer to a Null-terminated Unicode string.\r
-\r
-  @return Destination\r
-\r
-**/\r
-CHAR16 *\r
-EFIAPI\r
-StrCat (\r
-  IN OUT  CHAR16                    *Destination,\r
-  IN      CONST CHAR16              *Source\r
-  );\r
-\r
-/**\r
-  Concatenates one Null-terminated Unicode string with a maximum length to the\r
-  end of another Null-terminated Unicode string, and returns the concatenated\r
-  Unicode string.\r
-\r
-  This function concatenates two Null-terminated Unicode strings. The contents\r
-  of Null-terminated Unicode string Source are concatenated to the end of\r
-  Null-terminated Unicode string Destination, and Destination is returned. At\r
-  most, Length Unicode characters are concatenated from Source to the end of\r
-  Destination, and Destination is always Null-terminated. If Length is 0, then\r
-  Destination is returned unmodified. If Source and Destination overlap, then\r
-  the results are undefined.\r
-\r
-  If Destination is NULL, then ASSERT().\r
-  If Source is NULL, then ASSERT().\r
-  If Source and Destination overlap, then ASSERT().\r
-  If PcdMaximumUnicodeStringLength is not zero, and Destination contains more\r
-  than PcdMaximumUnicodeStringLength Unicode characters, then ASSERT().\r
-  If PcdMaximumUnicodeStringLength is not zero, and Source contains more than\r
-  PcdMaximumUnicodeStringLength Unicode characters, then ASSERT().\r
-  If PcdMaximumUnicodeStringLength is not zero, and concatenating Destination\r
-  and Source results in a Unicode string with more than\r
-  PcdMaximumUnicodeStringLength Unicode characters, then ASSERT().\r
-\r
-  @param  Destination Pointer to a Null-terminated Unicode string.\r
-  @param  Source      Pointer to a Null-terminated Unicode string.\r
-  @param  Length      Maximum number of Unicode characters to concatenate from\r
-                      Source.\r
-\r
-  @return Destination\r
-\r
-**/\r
-CHAR16 *\r
-EFIAPI\r
-StrnCat (\r
-  IN OUT  CHAR16                    *Destination,\r
-  IN      CONST CHAR16              *Source,\r
-  IN      UINTN                     Length\r
-  );\r
-\r
-/**\r
-  Copies one Null-terminated ASCII string to another Null-terminated ASCII\r
-  string and returns the new ASCII string.\r
-\r
-  This function copies the contents of the ASCII string Source to the ASCII\r
-  string Destination, and returns Destination. If Source and Destination\r
-  overlap, then the results are undefined.\r
-\r
-  If Destination is NULL, then ASSERT().\r
-  If Source is NULL, then ASSERT().\r
-  If Source and Destination overlap, then ASSERT().\r
-  If PcdMaximumAsciiStringLength is not zero and Source contains more than\r
-  PcdMaximumAsciiStringLength ASCII characters, then ASSERT().\r
-\r
-  @param  Destination Pointer to a Null-terminated ASCII string.\r
-  @param  Source      Pointer to a Null-terminated ASCII string.\r
-\r
-  @return Destination\r
-\r
-**/\r
-CHAR8 *\r
-EFIAPI\r
-AsciiStrCpy (\r
-  OUT     CHAR8                     *Destination,\r
-  IN      CONST CHAR8               *Source\r
-  );\r
-\r
-/**\r
-  Copies one Null-terminated ASCII string with a maximum length to another\r
-  Null-terminated ASCII string with a maximum length and returns the new ASCII\r
-  string.\r
-\r
-  This function copies the contents of the ASCII string Source to the ASCII\r
-  string Destination, and returns Destination. At most, Length ASCII characters\r
-  are copied from Source to Destination. If Length is 0, then Destination is\r
-  returned unmodified. If Length is greater that the number of ASCII characters\r
-  in Source, then Destination is padded with Null ASCII characters. If Source\r
-  and Destination overlap, then the results are undefined.\r
-\r
-  If Destination is NULL, then ASSERT().\r
-  If Source is NULL, then ASSERT().\r
-  If Source and Destination overlap, then ASSERT().\r
-  If PcdMaximumAsciiStringLength is not zero, and Source contains more than\r
-  PcdMaximumAsciiStringLength ASCII characters, then ASSERT().\r
-\r
-  @param  Destination Pointer to a Null-terminated ASCII string.\r
-  @param  Source      Pointer to a Null-terminated ASCII string.\r
-  @param  Length      Maximum number of ASCII characters to copy.\r
-\r
-  @return Destination\r
-\r
-**/\r
-CHAR8 *\r
-EFIAPI\r
-AsciiStrnCpy (\r
-  OUT     CHAR8                     *Destination,\r
-  IN      CONST CHAR8               *Source,\r
-  IN      UINTN                     Length\r
-  );\r
-\r
-/**\r
-  Returns the length of a Null-terminated ASCII string.\r
-\r
-  This function returns the number of ASCII characters in the Null-terminated\r
-  ASCII string specified by String.\r
-\r
-  If String is NULL, then ASSERT().\r
-  If PcdMaximumAsciiStringLength is not zero and String contains more than\r
-  PcdMaximumAsciiStringLength ASCII characters, then ASSERT().\r
-\r
-  @param  String  Pointer to a Null-terminated ASCII string.\r
-\r
-  @return The length of String.\r
-\r
-**/\r
-UINTN\r
-EFIAPI\r
-AsciiStrLen (\r
-  IN      CONST CHAR8               *String\r
-  );\r
-\r
-/**\r
-  Returns the size of a Null-terminated ASCII string in bytes, including the\r
-  Null terminator.\r
-\r
-  This function returns the size, in bytes, of the Null-terminated ASCII string\r
-  specified by String.\r
-\r
-  If String is NULL, then ASSERT().\r
-  If PcdMaximumAsciiStringLength is not zero and String contains more than\r
-  PcdMaximumAsciiStringLength ASCII characters, then ASSERT().\r
-\r
-  @param  String  Pointer to a Null-terminated ASCII string.\r
-\r
-  @return The size of String.\r
-\r
-**/\r
-UINTN\r
-EFIAPI\r
-AsciiStrSize (\r
-  IN      CONST CHAR8               *String\r
-  );\r
-\r
-/**\r
-  Compares two Null-terminated ASCII strings, and returns the difference\r
-  between the first mismatched ASCII characters.\r
-\r
-  This function compares the Null-terminated ASCII string FirstString to the\r
-  Null-terminated ASCII string SecondString. If FirstString is identical to\r
-  SecondString, then 0 is returned. Otherwise, the value returned is the first\r
-  mismatched ASCII character in SecondString subtracted from the first\r
-  mismatched ASCII character in FirstString.\r
-\r
-  If FirstString is NULL, then ASSERT().\r
-  If SecondString is NULL, then ASSERT().\r
-  If PcdMaximumAsciiStringLength is not zero and FirstString contains more than\r
-  PcdMaximumAsciiStringLength ASCII characters, then ASSERT().\r
-  If PcdMaximumAsciiStringLength is not zero and SecondString contains more\r
-  than PcdMaximumAsciiStringLength ASCII characters, then ASSERT().\r
-\r
-  @param  FirstString   Pointer to a Null-terminated ASCII string.\r
-  @param  SecondString  Pointer to a Null-terminated ASCII string.\r
-\r
-  @retval 0   FirstString is identical to SecondString.\r
-  @retval !=0 FirstString is not identical to SecondString.\r
-\r
-**/\r
-INTN\r
-EFIAPI\r
-AsciiStrCmp (\r
-  IN      CONST CHAR8               *FirstString,\r
-  IN      CONST CHAR8               *SecondString\r
-  );\r
-\r
-/**\r
-  Performs a case insensitive comparison of two Null-terminated ASCII strings,\r
-  and returns the difference between the first mismatched ASCII characters.\r
-\r
-  This function performs a case insensitive comparison of the Null-terminated\r
-  ASCII string FirstString to the Null-terminated ASCII string SecondString. If\r
-  FirstString is identical to SecondString, then 0 is returned. Otherwise, the\r
-  value returned is the first mismatched lower case ASCII character in\r
-  SecondString subtracted from the first mismatched lower case ASCII character\r
-  in FirstString.\r
-\r
-  If FirstString is NULL, then ASSERT().\r
-  If SecondString is NULL, then ASSERT().\r
-  If PcdMaximumAsciiStringLength is not zero and FirstString contains more than\r
-  PcdMaximumAsciiStringLength ASCII characters, then ASSERT().\r
-  If PcdMaximumAsciiStringLength is not zero and SecondString contains more\r
-  than PcdMaximumAsciiStringLength ASCII characters, then ASSERT().\r
-\r
-  @param  FirstString   Pointer to a Null-terminated ASCII string.\r
-  @param  SecondString  Pointer to a Null-terminated ASCII string.\r
-\r
-  @retval 0   FirstString is identical to SecondString using case insensitive\r
-              comparisons.\r
-  @retval !=0 FirstString is not identical to SecondString using case\r
-              insensitive comparisons.\r
-\r
-**/\r
-INTN\r
-EFIAPI\r
-AsciiStriCmp (\r
-  IN      CONST CHAR8               *FirstString,\r
-  IN      CONST CHAR8               *SecondString\r
-  );\r
-\r
-/**\r
-  Compares two Null-terminated ASCII strings with maximum lengths, and returns\r
-  the difference between the first mismatched ASCII characters.\r
-\r
-  This function compares the Null-terminated ASCII string FirstString to the\r
-  Null-terminated ASCII  string SecondString. At most, Length ASCII characters\r
-  will be compared. If Length is 0, then 0 is returned. If FirstString is\r
-  identical to SecondString, then 0 is returned. Otherwise, the value returned\r
-  is the first mismatched ASCII character in SecondString subtracted from the\r
-  first mismatched ASCII character in FirstString.\r
-\r
-  If FirstString is NULL, then ASSERT().\r
-  If SecondString is NULL, then ASSERT().\r
-  If PcdMaximumAsciiStringLength is not zero and FirstString contains more than\r
-  PcdMaximumAsciiStringLength ASCII characters, then ASSERT().\r
-  If PcdMaximumAsciiStringLength is not zero and SecondString contains more\r
-  than PcdMaximumAsciiStringLength ASCII characters, then ASSERT().\r
-\r
-  @param  FirstString   Pointer to a Null-terminated ASCII string.\r
-  @param  SecondString  Pointer to a Null-terminated ASCII string.\r
-\r
-  @retval 0   FirstString is identical to SecondString.\r
-  @retval !=0 FirstString is not identical to SecondString.\r
-\r
-**/\r
-INTN\r
-EFIAPI\r
-AsciiStrnCmp (\r
-  IN      CONST CHAR8               *FirstString,\r
-  IN      CONST CHAR8               *SecondString,\r
-  IN      UINTN                     Length\r
-  );\r
-\r
-/**\r
-  Concatenates one Null-terminated ASCII string to another Null-terminated\r
-  ASCII string, and returns the concatenated ASCII string.\r
-\r
-  This function concatenates two Null-terminated ASCII strings. The contents of\r
-  Null-terminated ASCII string Source are concatenated to the end of Null-\r
-  terminated ASCII string Destination. The Null-terminated concatenated ASCII\r
-  String is returned.\r
-\r
-  If Destination is NULL, then ASSERT().\r
-  If Source is NULL, then ASSERT().\r
-  If PcdMaximumAsciiStringLength is not zero and Destination contains more than\r
-  PcdMaximumAsciiStringLength ASCII characters, then ASSERT().\r
-  If PcdMaximumAsciiStringLength is not zero and Source contains more than\r
-  PcdMaximumAsciiStringLength ASCII characters, then ASSERT().\r
-  If PcdMaximumAsciiStringLength is not zero and concatenating Destination and\r
-  Source results in a ASCII string with more than PcdMaximumAsciiStringLength\r
-  ASCII characters, then ASSERT().\r
-\r
-  @param  Destination Pointer to a Null-terminated ASCII string.\r
-  @param  Source      Pointer to a Null-terminated ASCII string.\r
-\r
-  @return Destination\r
-\r
-**/\r
-CHAR8 *\r
-EFIAPI\r
-AsciiStrCat (\r
-  IN OUT  CHAR8                     *Destination,\r
-  IN      CONST CHAR8               *Source\r
-  );\r
-\r
-/**\r
-  Concatenates one Null-terminated ASCII string with a maximum length to the\r
-  end of another Null-terminated ASCII string, and returns the concatenated\r
-  ASCII string.\r
-\r
-  This function concatenates two Null-terminated ASCII strings. The contents\r
-  of Null-terminated ASCII string Source are concatenated to the end of Null-\r
-  terminated ASCII string Destination, and Destination is returned. At most,\r
-  Length ASCII characters are concatenated from Source to the end of\r
-  Destination, and Destination is always Null-terminated. If Length is 0, then\r
-  Destination is returned unmodified. If Source and Destination overlap, then\r
-  the results are undefined.\r
-\r
-  If Destination is NULL, then ASSERT().\r
-  If Source is NULL, then ASSERT().\r
-  If Source and Destination overlap, then ASSERT().\r
-  If PcdMaximumAsciiStringLength is not zero, and Destination contains more\r
-  than PcdMaximumAsciiStringLength ASCII characters, then ASSERT().\r
-  If PcdMaximumAsciiStringLength is not zero, and Source contains more than\r
-  PcdMaximumAsciiStringLength ASCII characters, then ASSERT().\r
-  If PcdMaximumAsciiStringLength is not zero, and concatenating Destination and\r
-  Source results in a ASCII string with more than PcdMaximumAsciiStringLength\r
-  ASCII characters, then ASSERT().\r
-\r
-  @param  Destination Pointer to a Null-terminated ASCII string.\r
-  @param  Source      Pointer to a Null-terminated ASCII string.\r
-  @param  Length      Maximum number of ASCII characters to concatenate from\r
-                      Source.\r
-\r
-  @return Destination\r
-\r
-**/\r
-CHAR8 *\r
-EFIAPI\r
-AsciiStrnCat (\r
-  IN OUT  CHAR8                     *Destination,\r
-  IN      CONST CHAR8               *Source,\r
-  IN      UINTN                     Length\r
-  );\r
-\r
-//\r
-// LIST_ENTRY definition\r
-//\r
-typedef struct _LIST_ENTRY LIST_ENTRY;\r
-\r
-struct _LIST_ENTRY {\r
-  LIST_ENTRY  *ForwardLink;\r
-  LIST_ENTRY  *BackLink;\r
-};\r
-\r
-//\r
-// Linked List Functions and Macros\r
-//\r
-\r
-/**\r
-  Initializes the head node of a doubly linked list that is declared as a\r
-  global variable in a module.\r
-\r
-  Initializes the forward and backward links of a new linked list. After\r
-  initializing a linked list with this macro, the other linked list functions\r
-  may be used to add and remove nodes from the linked list. This macro results\r
-  in smaller executables by initializing the linked list in the data section,\r
-  instead if calling the InitializeListHead() function to perform the\r
-  equivalent operation.\r
-\r
-  @param  ListHead  The head note of a list to initiailize.\r
-\r
-**/\r
-#define INITIALIZE_LIST_HEAD_VARIABLE(ListHead)  {&ListHead, &ListHead}\r
-\r
-/**\r
-  Initializes the head node of a doubly linked list, and returns the pointer to\r
-  the head node of the doubly linked list.\r
-\r
-  Initializes the forward and backward links of a new linked list. After\r
-  initializing a linked list with this function, the other linked list\r
-  functions may be used to add and remove nodes from the linked list. It is up\r
-  to the caller of this function to allocate the memory for ListHead.\r
-\r
-  If ListHead is NULL, then ASSERT().\r
-\r
-  @param  ListHead  A pointer to the head node of a new doubly linked list.\r
-\r
-  @return ListHead\r
-\r
-**/\r
-LIST_ENTRY *\r
-EFIAPI\r
-InitializeListHead (\r
-  IN      LIST_ENTRY                *ListHead\r
-  );\r
-\r
-/**\r
-  Adds a node to the beginning of a doubly linked list, and returns the pointer\r
-  to the head node of the doubly linked list.\r
-\r
-  Adds the node Entry at the beginning of the doubly linked list denoted by\r
-  ListHead, and returns ListHead.\r
-\r
-  If ListHead is NULL, then ASSERT().\r
-  If Entry is NULL, then ASSERT().\r
-  If ListHead was not initialized with InitializeListHead(), then ASSERT().\r
-  If PcdMaximumLinkedListLenth is not zero, and ListHead contains more than\r
-  PcdMaximumLinkedListLenth nodes, then ASSERT().\r
-\r
-  @param  ListHead  A pointer to the head node of a doubly linked list.\r
-  @param  Entry     A pointer to a node that is to be inserted at the beginning\r
-                    of a doubly linked list.\r
-\r
-  @return ListHead\r
-\r
-**/\r
-LIST_ENTRY *\r
-EFIAPI\r
-InsertHeadList (\r
-  IN      LIST_ENTRY                *ListHead,\r
-  IN      LIST_ENTRY                *Entry\r
-  );\r
-\r
-/**\r
-  Adds a node to the end of a doubly linked list, and returns the pointer to\r
-  the head node of the doubly linked list.\r
-\r
-  Adds the node Entry to the end of the doubly linked list denoted by ListHead,\r
-  and returns ListHead.\r
-\r
-  If ListHead is NULL, then ASSERT().\r
-  If Entry is NULL, then ASSERT().\r
-  If ListHead was not initialized with InitializeListHead(), then ASSERT().\r
-  If PcdMaximumLinkedListLenth is not zero, and ListHead contains more than\r
-  PcdMaximumLinkedListLenth nodes, then ASSERT().\r
-\r
-  @param  ListHead  A pointer to the head node of a doubly linked list.\r
-  @param  Entry     A pointer to a node that is to be added at the end of the\r
-                    doubly linked list.\r
-\r
-  @return ListHead\r
-\r
-**/\r
-LIST_ENTRY *\r
-EFIAPI\r
-InsertTailList (\r
-  IN      LIST_ENTRY                *ListHead,\r
-  IN      LIST_ENTRY                *Entry\r
-  );\r
-\r
-/**\r
-  Retrieves the first node of a doubly linked list.\r
-\r
-  Returns the first node of a doubly linked list. List must have been\r
-  initialized with InitializeListHead(). If List is empty, then NULL is\r
-  returned.\r
-\r
-  If List is NULL, then ASSERT().\r
-  If List was not initialized with InitializeListHead(), then ASSERT().\r
-  If PcdMaximumLinkedListLenth is not zero, and List contains more than\r
-  PcdMaximumLinkedListLenth nodes, then ASSERT().\r
-\r
-  @param  List  A pointer to the head node of a doubly linked list.\r
-\r
-  @return The first node of a doubly linked list.\r
-  @retval NULL  The list is empty.\r
-\r
-**/\r
-LIST_ENTRY *\r
-EFIAPI\r
-GetFirstNode (\r
-  IN      CONST LIST_ENTRY          *List\r
-  );\r
-\r
-/**\r
-  Retrieves the next node of a doubly linked list.\r
-\r
-  Returns the node of a doubly linked list that follows Node. List must have\r
-  been initialized with InitializeListHead(). If List is empty, then List is\r
-  returned.\r
-\r
-  If List is NULL, then ASSERT().\r
-  If Node is NULL, then ASSERT().\r
-  If List was not initialized with InitializeListHead(), then ASSERT().\r
-  If PcdMaximumLinkedListLenth is not zero, and List contains more than\r
-  PcdMaximumLinkedListLenth nodes, then ASSERT().\r
-  If Node is not a node in List, then ASSERT().\r
-\r
-  @param  List  A pointer to the head node of a doubly linked list.\r
-  @param  Node  A pointer to a node in the doubly linked list.\r
-\r
-  @return Pointer to the next node if one exists. Otherwise a null value which\r
-          is actually List is returned.\r
-\r
-**/\r
-LIST_ENTRY *\r
-EFIAPI\r
-GetNextNode (\r
-  IN      CONST LIST_ENTRY          *List,\r
-  IN      CONST LIST_ENTRY          *Node\r
-  );\r
-\r
-/**\r
-  Checks to see if a doubly linked list is empty or not.\r
-\r
-  Checks to see if the doubly linked list is empty. If the linked list contains\r
-  zero nodes, this function returns TRUE. Otherwise, it returns FALSE.\r
-\r
-  If ListHead is NULL, then ASSERT().\r
-  If ListHead was not initialized with InitializeListHead(), then ASSERT().\r
-  If PcdMaximumLinkedListLenth is not zero, and List contains more than\r
-  PcdMaximumLinkedListLenth nodes, then ASSERT().\r
-\r
-  @param  ListHead  A pointer to the head node of a doubly linked list.\r
-\r
-  @retval TRUE  The linked list is empty.\r
-  @retval FALSE The linked