2 GUID and related data structures used with the Debug Image Info Table.
4 Copyright (c) 2006 - 2008, Intel Corporation. All rights reserved.<BR>
5 This program and the accompanying materials
6 are licensed and made available under the terms and conditions of the BSD License
7 which accompanies this distribution. The full text of the license may be found at
8 http://opensource.org/licenses/bsd-license.php
10 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
11 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
13 @par Revision Reference:
14 GUID defined in UEFI 2.0 spec.
18 #ifndef __DEBUG_IMAGE_INFO_GUID_H__
19 #define __DEBUG_IMAGE_INFO_GUID_H__
21 #include <Protocol/LoadedImage.h>
24 /// EFI_DEBUG_IMAGE_INFO_TABLE configuration table GUID declaration.
26 #define EFI_DEBUG_IMAGE_INFO_TABLE_GUID \
28 0x49152e77, 0x1ada, 0x4764, {0xb7, 0xa2, 0x7a, 0xfe, 0xfe, 0xd9, 0x5e, 0x8b } \
31 #define EFI_DEBUG_IMAGE_INFO_UPDATE_IN_PROGRESS 0x01
32 #define EFI_DEBUG_IMAGE_INFO_TABLE_MODIFIED 0x02
34 #define EFI_DEBUG_IMAGE_INFO_TYPE_NORMAL 0x01
37 UINT64 Signature
; ///< A constant UINT64 that has the value EFI_SYSTEM_TABLE_SIGNATURE
38 EFI_PHYSICAL_ADDRESS EfiSystemTableBase
; ///< The physical address of the EFI system table.
39 UINT32 Crc32
; ///< A 32-bit CRC value that is used to verify the EFI_SYSTEM_TABLE_POINTER structure is valid.
40 } EFI_SYSTEM_TABLE_POINTER
;
44 /// Indicates the type of image info structure. For PE32 EFI images,
45 /// this is set to EFI_DEBUG_IMAGE_INFO_TYPE_NORMAL.
49 /// A pointer to an instance of the loaded image protocol for the associated image.
51 EFI_LOADED_IMAGE_PROTOCOL
*LoadedImageProtocolInstance
;
53 /// Indicates the image handle of the associated image.
55 EFI_HANDLE ImageHandle
;
56 } EFI_DEBUG_IMAGE_INFO_NORMAL
;
59 UINT32
*ImageInfoType
;
60 EFI_DEBUG_IMAGE_INFO_NORMAL
*NormalImage
;
61 } EFI_DEBUG_IMAGE_INFO
;
65 /// UpdateStatus is used by the system to indicate the state of the debug image info table.
67 volatile UINT32 UpdateStatus
;
69 /// The number of EFI_DEBUG_IMAGE_INFO elements in the array pointed to by EfiDebugImageInfoTable.
73 /// A pointer to the first element of an array of EFI_DEBUG_IMAGE_INFO structures.
75 EFI_DEBUG_IMAGE_INFO
*EfiDebugImageInfoTable
;
76 } EFI_DEBUG_IMAGE_INFO_TABLE_HEADER
;
78 extern EFI_GUID gEfiDebugImageInfoTableGuid
;