]>
Commit | Line | Data |
---|---|---|
1 | /*++\r | |
2 | \r | |
3 | Copyright (c) 2006, Intel Corporation \r | |
4 | All rights reserved. This program and the accompanying materials \r | |
5 | are licensed and made available under the terms and conditions of the BSD License \r | |
6 | which accompanies this distribution. The full text of the license may be found at \r | |
7 | http://opensource.org/licenses/bsd-license.php \r | |
8 | \r | |
9 | THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, \r | |
10 | WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. \r | |
11 | \r | |
12 | Module Name:\r | |
13 | \r | |
14 | PeiPerformanceHob.h\r | |
15 | \r | |
16 | Abstract:\r | |
17 | \r | |
18 | GUIDs used for PEI Performance HOB data structures\r | |
19 | \r | |
20 | --*/\r | |
21 | \r | |
22 | #ifndef __PEI_PERFORMANCE_HOB_H__\r | |
23 | #define __PEI_PERFORMANCE_HOB_H__\r | |
24 | \r | |
25 | //\r | |
26 | // This is the GUID of PEI performance HOB\r | |
27 | //\r | |
28 | #define PEI_PERFORMANCE_HOB_GUID \\r | |
29 | { 0xec4df5af, 0x4395, 0x4cc9, { 0x94, 0xde, 0x77, 0x50, 0x6d, 0x12, 0xc7, 0xb8 } }\r | |
30 | \r | |
31 | //\r | |
32 | // PEI_PERFORMANCE_STRING_SIZE must be a multiple of 8.\r | |
33 | //\r | |
34 | #define PEI_PERFORMANCE_STRING_SIZE 8\r | |
35 | #define PEI_PERFORMANCE_STRING_LENGTH (PEI_PERFORMANCE_STRING_SIZE - 1)\r | |
36 | \r | |
37 | typedef struct {\r | |
38 | EFI_PHYSICAL_ADDRESS Handle;\r | |
39 | CHAR8 Token[PEI_PERFORMANCE_STRING_SIZE];\r | |
40 | CHAR8 Module[PEI_PERFORMANCE_STRING_SIZE];\r | |
41 | UINT64 StartTimeStamp;\r | |
42 | UINT64 EndTimeStamp;\r | |
43 | } PEI_PERFORMANCE_LOG_ENTRY;\r | |
44 | \r | |
45 | //\r | |
46 | // The header must be aligned at 8 bytes.\r | |
47 | // \r | |
48 | typedef struct {\r | |
49 | UINT32 NumberOfEntries;\r | |
50 | UINT32 Reserved;\r | |
51 | } PEI_PERFORMANCE_LOG_HEADER;\r | |
52 | \r | |
53 | \r | |
54 | extern EFI_GUID gPeiPerformanceHobGuid;\r | |
55 | \r | |
56 | #endif\r |