]> git.proxmox.com Git - mirror_edk2.git/blame - MdeModulePkg/Include/Guid/PeiPerformanceHob.h
add in ShellFile.h
[mirror_edk2.git] / MdeModulePkg / Include / Guid / PeiPerformanceHob.h
CommitLineData
88f20127 1/*++\r
2\r
3Copyright (c) 2006, Intel Corporation \r
4All rights reserved. This program and the accompanying materials \r
5are licensed and made available under the terms and conditions of the BSD License \r
6which accompanies this distribution. The full text of the license may be found at \r
7http://opensource.org/licenses/bsd-license.php \r
8 \r
9THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, \r
10WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. \r
11\r
12Module Name:\r
13\r
14 PeiPerformanceHob.h\r
15 \r
16Abstract:\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
37typedef 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
48typedef struct {\r
49 UINT32 NumberOfEntries;\r
50 UINT32 Reserved;\r
51} PEI_PERFORMANCE_LOG_HEADER;\r
52\r
53\r
54extern EFI_GUID gPeiPerformanceHobGuid;\r
55\r
56#endif\r