--- /dev/null
+/** @file\r
+ GUIDs used for ACPI entries in the EFI 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
--- /dev/null
+/** @file\r
+ GUID used as an FV filename for A Priori file. The A Priori file contains a\r
+ list of FV filenames that the DXE dispatcher will schedule reguardless of\r
+ the dependency grammer.\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: Apriori.h\r
+\r
+ @par Revision Reference:\r
+ GUID defined in DXE CIS spec version 0.91B\r
+\r
+**/\r
+\r
+#ifndef __APRIORI_GUID_H__\r
+#define __APRIORI_GUID_H__\r
+\r
+#define EFI_APRIORI_GUID \\r
+ { \\r
+ 0xfc510ee7, 0xffdc, 0x11d4, {0xbd, 0x41, 0x0, 0x80, 0xc7, 0x3c, 0x88, 0x81 } \\r
+ }\r
+\r
+extern EFI_GUID gAprioriGuid;\r
+\r
+#endif\r
--- /dev/null
+/** @file\r
+\r
+ The GUID PEI_APRIORI_FILE_NAME_GUID definition is the file\r
+ name of the PEI a priori file that is stored in a firmware\r
+ volume.\r
+\r
+ Copyright (c) 2006 - 2007, 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: AprioriFileName.h\r
+\r
+ @par Revision Reference: PI\r
+ Version 1.00.\r
+\r
+**/\r
+\r
+#ifndef __PEI_APRIORI_FILE_NAME_H__\r
+#define __PEI_APRIORI_FILE_NAME_H__\r
+\r
+#define PEI_APRIORI_FILE_NAME_GUID \\r
+ { 0x1b45cc0a, 0x156a, 0x428a, { 0x62, 0XAF, 0x49, 0x86, 0x4d, 0xa0, 0xe6, 0xe6 } }\r
+\r
+\r
+/**\r
+ \r
+ This file must be of type EFI_FV_FILETYPE_FREEFORM and must\r
+ contain a single section of type EFI_SECTION_RAW. For details on\r
+ firmware volumes, firmware file types, and firmware file section\r
+ types.\r
+\r
+ @param FileNamesWithinVolume[] An array of zero or more\r
+ EFI_GUID type entries that\r
+ match the file names of PEIM\r
+ modules in the same Firmware\r
+ Volume. The maximum number of\r
+ entries.\r
+\r
+ @param NumberOfModulesInVolume Determined by the number of\r
+ modules in the FV.\r
+ \r
+**/\r
+typedef struct {\r
+ EFI_GUID FileNamesWithinVolume[1];\r
+// Optional list of file-names\r
+} PEI_APRIORI_FILE_CONTENTS;\r
+\r
+extern EFI_GUID gPeiAprioriFileNameGuid;\r
+\r
+#endif\r
+\r
--- /dev/null
+/** @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
+#include <Protocol/LoadedImage.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
+#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
+ UINT32 *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
+\r
+extern EFI_GUID gEfiDebugImageInfoTableGuid;\r
+\r
+#endif\r
--- /dev/null
+/** @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
--- /dev/null
+/** @file\r
+ GUIDs for gBS->CreateEventEx Event Groups. Defined in UEFI spec 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
--- /dev/null
+/** @file\r
+ GUID is the name of events used with CreateEventEx in order to be notified \r
+ when the EFI boot manager is about to boot a legacy boot option.\r
+ 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
--- /dev/null
+/** @file\r
+ SimpleFileSystem guid and data structure as defined in the EFI 1.0 specification.\r
+\r
+ The SimpleFileSystem protocol is the programatic access to the FAT (12,16,32) \r
+ file system specified in EFI 1.0. It can also be used to abstract any \r
+ file system other than FAT.\r
+\r
+ EFI 1.0 can boot from any valid EFI image contained in a SimpleFileSystem\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: FileInfo.c\r
+\r
+**/\r
+\r
+#ifndef __FILE_INFO_H__\r
+#define __FILE_INFO_H__\r
+\r
+#define EFI_FILE_INFO_ID \\r
+ { \\r
+ 0x9576e92, 0x6d3f, 0x11d2, {0x8e, 0x39, 0x0, 0xa0, 0xc9, 0x69, 0x72, 0x3b } \\r
+ }\r
+\r
+typedef struct {\r
+ UINT64 Size;\r
+ UINT64 FileSize;\r
+ UINT64 PhysicalSize;\r
+ EFI_TIME CreateTime;\r
+ EFI_TIME LastAccessTime;\r
+ EFI_TIME ModificationTime;\r
+ UINT64 Attribute;\r
+ CHAR16 FileName[1];\r
+} EFI_FILE_INFO;\r
+\r
+//\r
+// The FileName field of the EFI_FILE_INFO data structure is variable length.\r
+// Whenever code needs to know the size of the EFI_FILE_INFO data structure, it needs to\r
+// be the size of the data structure without the FileName field. The following macro\r
+// computes this size correctly no matter how big the FileName array is declared.\r
+// This is required to make the EFI_FILE_INFO data structure ANSI compilant.\r
+//\r
+#define SIZE_OF_EFI_FILE_INFO EFI_FIELD_OFFSET (EFI_FILE_INFO, FileName)\r
+\r
+extern EFI_GUID gEfiFileInfoGuid;\r
+\r
+#endif\r
--- /dev/null
+/** @file\r
+ FileSystemInfo guid and data structure as defined in the EFI 1.0 specification.\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: FileSystemInfo.h\r
+\r
+**/\r
+\r
+#ifndef __FILE_SYSTEM_INFO_H__\r
+#define __FILE_SYSTEM_INFO_H__\r
+\r
+#define EFI_FILE_SYSTEM_INFO_ID_GUID \\r
+ { \\r
+ 0x9576e93, 0x6d3f, 0x11d2, {0x8e, 0x39, 0x0, 0xa0, 0xc9, 0x69, 0x72, 0x3b } \\r
+ }\r
+\r
+typedef struct {\r
+ UINT64 Size;\r
+ BOOLEAN ReadOnly;\r
+ UINT64 VolumeSize;\r
+ UINT64 FreeSpace;\r
+ UINT32 BlockSize;\r
+ CHAR16 VolumeLabel[1];\r
+} EFI_FILE_SYSTEM_INFO;\r
+\r
+//\r
+// The VolumeLabel field of the EFI_FILE_SYSTEM_INFO data structure is variable length.\r
+// Whenever code needs to know the size of the EFI_FILE_SYSTEM_INFO data structure, it needs\r
+// to be the size of the data structure without the VolumeLable field. The following macro\r
+// computes this size correctly no matter how big the VolumeLable array is declared.\r
+// This is required to make the EFI_FILE_SYSTEM_INFO data structure ANSI compilant.\r
+//\r
+#define SIZE_OF_EFI_FILE_SYSTEM_INFO EFI_FIELD_OFFSET (EFI_FILE_SYSTEM_INFO, VolumeLabel)\r
+\r
+extern EFI_GUID gEfiFileSystemInfoGuid;\r
+\r
+#endif\r
--- /dev/null
+/** @file\r
+ FileSystemVolumeLabelInfo guid and data structure as defined in the EFI 1.0 specification.\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: FileSystemVolumeLabelInfo.h\r
+\r
+**/\r
+\r
+#ifndef __FILE_SYSTEM_VOLUME_LABEL_INFO_H__\r
+#define __FILE_SYSTEM_VOLUME_LABEL_INFO_H__\r
+\r
+#define EFI_FILE_SYSTEM_VOLUME_LABEL_INFO_ID_GUID \\r
+ { \\r
+ 0xDB47D7D3, 0xFE81, 0x11d3, {0x9A, 0x35, 0x00, 0x90, 0x27, 0x3F, 0xC1, 0x4D } \\r
+ }\r
+\r
+//\r
+// Protocol Name defined in spec.\r
+//\r
+#define EFI_FILE_SYSTEM_VOLUME_LABEL_ID \\r
+ EFI_FILE_SYSTEM_VOLUME_LABEL_INFO_ID_GUID\r
+\r
+typedef struct {\r
+ CHAR16 VolumeLabel[1];\r
+} EFI_FILE_SYSTEM_VOLUME_LABEL_INFO;\r
+\r
+typedef EFI_FILE_SYSTEM_VOLUME_LABEL_INFO EFI_FILE_SYSTEM_VOLUME_LABEL;\r
+\r
+#define SIZE_OF_EFI_FILE_SYSTEM_VOLUME_LABEL_INFO \\r
+ EFI_FIELD_OFFSET (EFI_FILE_SYSTEM_VOLUME_LABEL_INFO, VolumeLabel)\r
+\r
+extern EFI_GUID gEfiFileSystemVolumeLabelInfoIdGuid;\r
+\r
+#endif\r
--- /dev/null
+/** @file\r
+ Guid used to define the Firmware File System 2.\r
+\r
+ Copyright (c) 2006 - 2007, 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: FirmwareFileSystem2.h\r
+\r
+ @par Revision Reference:\r
+ Guids defined in PI 1.0\r
+\r
+**/\r
+\r
+#ifndef __FIRMWARE_FILE_SYSTEM2_GUID_H__\r
+#define __FIRMWARE_FILE_SYSTEM2_GUID_H__\r
+\r
+// \r
+// The firmware volume header contains a data field for \r
+// the file system GUID\r
+// \r
+#define EFI_FIRMWARE_FILE_SYSTEM2_GUID \\r
+ { 0x8c8ce578, 0x8a3d, 0x4f1c, { 0x99, 0x35, 0x89, 0x61, 0x85, 0xc3, 0x2d, 0xd3 } }\r
+\r
+//\r
+// A Volume Top File (VTF) is a file that must be \r
+// located such that the last byte of the file is \r
+// also the last byte of the firmware volume\r
+// \r
+#define EFI_FFS_VOLUME_TOP_FILE_GUID \\r
+ { 0x1BA0062E, 0xC779, 0x4582, { 0x85, 0x66, 0x33, 0x6A, 0xE8, 0xF7, 0x8F, 0x9 } }\r
+\r
+\r
+extern EFI_GUID gEfiFirmwareFileSystemGuid;\r
+extern EFI_GUID gEfiFirmwareVolumeTopFileGuid;\r
+\r
+#endif\r
--- /dev/null
+/** @file\r
+ GUID for EFI (NVRAM) Variables.\r
+\r
+ Copyright (c) 2006 - 2007, 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.1\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
--- /dev/null
+/** @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 - 2007, 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.1 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
--- /dev/null
+/** @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
--- /dev/null
+/** @file\r
+ GUIDs for HOBs used in memory allcation\r
+\r
+ Copyright (c) 2006 - 2007, 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 PI 1.0\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
--- /dev/null
+/** @file\r
+ GUIDs used for MPS entries in the EFI 1.0 system table\r
+ ACPI is the primary means of exporting MP information to the OS. MPS obly was\r
+ included to support Itanium-based platform power on. So don't use it if you don't have too.\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: Mps.h\r
+\r
+ @par Revision Reference:\r
+ GUIDs defined in UEFI 2.0 spec.\r
+\r
+**/\r
+\r
+#ifndef __MPS_GUID_H__\r
+#define __MPS_GUID_H__\r
+\r
+#define EFI_MPS_TABLE_GUID \\r
+ { \\r
+ 0xeb9d2d2f, 0x2d88, 0x11d3, {0x9a, 0x16, 0x0, 0x90, 0x27, 0x3f, 0xc1, 0x4d } \\r
+ }\r
+\r
+//\r
+// GUID name defined in spec.\r
+//\r
+#define MPS_TABLE_GUID EFI_MPS_TABLE_GUID\r
+\r
+extern EFI_GUID gEfiMpsTableGuid;\r
+\r
+#endif\r
--- /dev/null
+/** @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
+#define EFI_UART_DEVICE_PATH_GUID \\r
+ { \\r
+ 0x37499a9d, 0x542f, 0x4c89, {0xa0, 0x26, 0x35, 0xda, 0x14, 0x20, 0x94, 0xe4 } \\r
+ }\r
+ \r
+#define EFI_SAS_DEVICE_PATH_GUID \\r
+ { \\r
+ 0xd487ddb4, 0x008b, 0x11d9, {0xaf, 0xdc, 0x00, 0x10, 0x83, 0xff, 0xca, 0x4d } \\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
--- /dev/null
+/** @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
--- /dev/null
+/** @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
+extern EFI_GUID gEfiSmbiosTableGuid;\r
+\r
+#endif\r
--- /dev/null
+/** @file\r
+ EFI 1.0 Loaded image protocol definition.\r
+\r
+ Every EFI driver and application is passed an image handle when it is loaded.\r
+ This image handle will contain a Loaded Image Protocol.\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: LoadedImage.h\r
+\r
+**/\r
+\r
+#ifndef __LOADED_IMAGE_PROTOCOL_H__\r
+#define __LOADED_IMAGE_PROTOCOL_H__\r
+\r
+#include <Protocol/DevicePath.h>\r
+\r
+#define EFI_LOADED_IMAGE_PROTOCOL_GUID \\r
+ { \\r
+ 0x5B1B31A1, 0x9562, 0x11d2, {0x8E, 0x3F, 0x00, 0xA0, 0xC9, 0x69, 0x72, 0x3B } \\r
+ }\r
+\r
+//\r
+// EFI_SYSTEM_TABLE & EFI_IMAGE_UNLOAD are defined in EfiApi.h\r
+//\r
+#define EFI_LOADED_IMAGE_INFORMATION_REVISION 0x1000\r
+#define EFI_LOADED_IMAGE_PROTOCOL_REVISION EFI_LOADED_IMAGE_INFORMATION_REVISION\r
+\r
+typedef struct {\r
+ UINT32 Revision;\r
+ EFI_HANDLE ParentHandle;\r
+ EFI_SYSTEM_TABLE *SystemTable;\r
+\r
+ //\r
+ // Source location of image\r
+ //\r
+ EFI_HANDLE DeviceHandle;\r
+ EFI_DEVICE_PATH_PROTOCOL *FilePath;\r
+ VOID *Reserved;\r
+\r
+ //\r
+ // Images load options\r
+ //\r
+ UINT32 LoadOptionsSize;\r
+ VOID *LoadOptions;\r
+\r
+ //\r
+ // Location of where image was loaded\r
+ //\r
+ VOID *ImageBase;\r
+ UINT64 ImageSize;\r
+ EFI_MEMORY_TYPE ImageCodeType;\r
+ EFI_MEMORY_TYPE ImageDataType;\r
+\r
+ //\r
+ // If the driver image supports a dynamic unload request\r
+ //\r
+ EFI_IMAGE_UNLOAD Unload;\r
+\r
+} EFI_LOADED_IMAGE_PROTOCOL;\r
+\r
+extern EFI_GUID gEfiLoadedImageProtocolGuid;\r
+\r
+#endif\r