]>
Commit | Line | Data |
---|---|---|
3eb9473e | 1 | /*++\r |
2 | \r | |
3 | Copyright (c) 2004, 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 | The PEI performance HOB definition.\r | |
18 | \r | |
19 | --*/\r | |
20 | \r | |
21 | #ifndef _PEI_PERFORMANCE_HOB_GUID_H_\r | |
22 | #define _PEI_PERFORMANCE_HOB_GUID_H_\r | |
23 | \r | |
24 | \r | |
25 | #define EFI_PEI_PERFORMANCE_HOB_GUID \\r | |
7ccf38a3 | 26 | {0x10f432de, 0xdeec, 0x4631, {0x80, 0xcd, 0x47, 0xf6, 0x5d, 0x8f, 0x80, 0xbb}}\r |
3eb9473e | 27 | \r |
28 | #define PEI_PERF_MAX_DESC_STRING 8\r | |
29 | \r | |
30 | typedef struct {\r | |
31 | UINT64 StartTimeCount;\r | |
32 | UINT64 StopTimeCount;\r | |
33 | EFI_GUID Name;\r | |
34 | UINT16 DescriptionString[PEI_PERF_MAX_DESC_STRING];\r | |
35 | } PEI_PERFORMANCE_MEASURE_LOG_ENTRY;\r | |
36 | \r | |
37 | typedef struct {\r | |
38 | UINT32 NumberOfEntries;\r | |
39 | UINT32 Reserved;\r | |
40 | PEI_PERFORMANCE_MEASURE_LOG_ENTRY Log[1];\r | |
41 | } EFI_HOB_GUID_DATA_PERFORMANCE_LOG;\r | |
42 | \r | |
43 | extern EFI_GUID gEfiPeiPerformanceHobGuid;\r | |
44 | \r | |
45 | #endif\r |