]> git.proxmox.com Git - mirror_edk2.git/blob - EdkCompatibilityPkg/Foundation/Efi/Guid/DebugImageInfoTable/DebugImageInfoTable.h
Add in the 1st version of ECP.
[mirror_edk2.git] / EdkCompatibilityPkg / Foundation / Efi / Guid / DebugImageInfoTable / DebugImageInfoTable.h
1 /*++
2
3 Copyright (c) 2004 - 2007, Intel Corporation
4 All rights reserved. This program and the accompanying materials
5 are licensed and made available under the terms and conditions of the BSD License
6 which accompanies this distribution. The full text of the license may be found at
7 http://opensource.org/licenses/bsd-license.php
8
9 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
10 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
11
12 Module Name:
13
14 DebugImageInfoTable.h
15
16 Abstract:
17
18 GUID and related data structures used with the Debug Image Info Table.
19
20 --*/
21
22 #ifndef _DEBUG_IMAGE_INFO_GUID_H_
23 #define _DEBUG_IMAGE_INFO_GUID_H_
24
25 #include "EfiSpec.h"
26 #include EFI_PROTOCOL_DEFINITION (LoadedImage)
27
28 #define EFI_DEBUG_IMAGE_INFO_TABLE_GUID \
29 { \
30 0x49152e77, 0x1ada, 0x4764, 0xb7, 0xa2, 0x7a, 0xfe, 0xfe, 0xd9, 0x5e, 0x8b \
31 }
32
33 extern EFI_GUID gEfiDebugImageInfoTableGuid;
34
35 #define EFI_DEBUG_IMAGE_INFO_UPDATE_IN_PROGRESS 0x01
36 #define EFI_DEBUG_IMAGE_INFO_TABLE_MODIFIED 0x02
37 #define EFI_DEBUG_IMAGE_INFO_INITIAL_SIZE (EFI_PAGE_SIZE / sizeof (UINTN))
38 #define EFI_DEBUG_IMAGE_INFO_TYPE_NORMAL 0x01
39
40 typedef struct {
41 UINT64 Signature;
42 EFI_PHYSICAL_ADDRESS EfiSystemTableBase;
43 UINT32 Crc32;
44 } EFI_SYSTEM_TABLE_POINTER;
45
46 typedef struct {
47 UINT32 ImageInfoType;
48 EFI_LOADED_IMAGE_PROTOCOL *LoadedImageProtocolInstance;
49 EFI_HANDLE *ImageHandle;
50 } EFI_DEBUG_IMAGE_INFO_NORMAL;
51
52 typedef union {
53 UINT32 *ImageInfoType;
54 EFI_DEBUG_IMAGE_INFO_NORMAL *NormalImage;
55 } EFI_DEBUG_IMAGE_INFO;
56
57 typedef struct {
58 volatile UINT32 UpdateStatus;
59 UINT32 TableSize;
60 EFI_DEBUG_IMAGE_INFO *EfiDebugImageInfoTable;
61 } EFI_DEBUG_IMAGE_INFO_TABLE_HEADER;
62
63 #endif