3 Copyright (c) 2006, Intel Corporation
4 All rights reserved. This program and the accompanying materials
5 are licensed and made available under the terms and conditions of the BSD License
6 which accompanies this distribution. The full text of the license may be found at
7 http://opensource.org/licenses/bsd-license.php
9 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
10 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
18 GUIDs used for PEI Performance HOB data structures
22 #ifndef __PEI_PERFORMANCE_HOB_H__
23 #define __PEI_PERFORMANCE_HOB_H__
26 // This is the GUID of PEI performance HOB
28 #define PEI_PERFORMANCE_HOB_GUID \
29 { 0xec4df5af, 0x4395, 0x4cc9, { 0x94, 0xde, 0x77, 0x50, 0x6d, 0x12, 0xc7, 0xb8 } }
32 // PEI_PERFORMANCE_STRING_SIZE must be a multiple of 8.
34 #define PEI_PERFORMANCE_STRING_SIZE 8
35 #define PEI_PERFORMANCE_STRING_LENGTH (PEI_PERFORMANCE_STRING_SIZE - 1)
37 // Bugbug: This macro will be replaced by a binary patchable PCD entry in EdkModulePkg
39 #define MAX_PEI_PERFORMANCE_LOG_ENTRIES 28
42 EFI_PHYSICAL_ADDRESS Handle
;
43 CHAR8 Token
[PEI_PERFORMANCE_STRING_SIZE
];
44 CHAR8 Module
[PEI_PERFORMANCE_STRING_SIZE
];
45 UINT64 StartTimeStamp
;
47 } PEI_PERFORMANCE_LOG_ENTRY
;
50 // The header must be aligned at 8 bytes.
53 UINT32 NumberOfEntries
;
55 } PEI_PERFORMANCE_LOG_HEADER
;
58 extern EFI_GUID gPeiPerformanceHobGuid
;