]> git.proxmox.com Git - mirror_edk2.git/blob - MdePkg/Include/Guid/DebugImageInfoTable.h
Updated headers to follow coding standard
[mirror_edk2.git] / MdePkg / Include / Guid / DebugImageInfoTable.h
1 /** @file
2 GUID and related data structures used with the Debug Image Info Table.
3
4 Copyright (c) 2006, Intel Corporation
5 All rights reserved. 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
9
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.
12
13 @par Revision Reference:
14 GUID defined in UEFI 2.0 spec.
15
16 **/
17
18 #ifndef __DEBUG_IMAGE_INFO_GUID_H__
19 #define __DEBUG_IMAGE_INFO_GUID_H__
20
21 #include <Protocol/LoadedImage.h>
22
23 #define EFI_DEBUG_IMAGE_INFO_TABLE_GUID \
24 { \
25 0x49152e77, 0x1ada, 0x4764, {0xb7, 0xa2, 0x7a, 0xfe, 0xfe, 0xd9, 0x5e, 0x8b } \
26 }
27
28 #define EFI_DEBUG_IMAGE_INFO_UPDATE_IN_PROGRESS 0x01
29 #define EFI_DEBUG_IMAGE_INFO_TABLE_MODIFIED 0x02
30 #define EFI_DEBUG_IMAGE_INFO_INITIAL_SIZE (EFI_PAGE_SIZE / sizeof (UINTN))
31 #define EFI_DEBUG_IMAGE_INFO_TYPE_NORMAL 0x01
32
33 typedef struct {
34 UINT64 Signature;
35 EFI_PHYSICAL_ADDRESS EfiSystemTableBase;
36 UINT32 Crc32;
37 } EFI_SYSTEM_TABLE_POINTER;
38
39 typedef struct {
40 UINT32 ImageInfoType;
41 EFI_LOADED_IMAGE_PROTOCOL *LoadedImageProtocolInstance;
42 EFI_HANDLE ImageHandle;
43 } EFI_DEBUG_IMAGE_INFO_NORMAL;
44
45 typedef union {
46 UINT32 *ImageInfoType;
47 EFI_DEBUG_IMAGE_INFO_NORMAL *NormalImage;
48 } EFI_DEBUG_IMAGE_INFO;
49
50 typedef struct {
51 volatile UINT32 UpdateStatus;
52 UINT32 TableSize;
53 EFI_DEBUG_IMAGE_INFO *EfiDebugImageInfoTable;
54 } EFI_DEBUG_IMAGE_INFO_TABLE_HEADER;
55
56
57 extern EFI_GUID gEfiDebugImageInfoTableGuid;
58
59 #endif