--- /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
+#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
+ 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
+#endif\r