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