TianoCore EDK2 master
Loading...
Searching...
No Matches
FirmwarePerformance.h
Go to the documentation of this file.
1
9#ifndef _FIRMWARE_PERFORMANCE_GUID_H_
10#define _FIRMWARE_PERFORMANCE_GUID_H_
11
12#include <PiPei.h>
14#include <Ppi/SecPerformance.h>
15
40#define EFI_FIRMWARE_PERFORMANCE_GUID \
41 { \
42 0xc095791a, 0x3001, 0x47b2, {0x80, 0xc9, 0xea, 0xc7, 0x31, 0x9f, 0x2f, 0xa4 } \
43 }
44
45#define EFI_FIRMWARE_PERFORMANCE_VARIABLE_NAME L"FirmwarePerformance"
46
51#define FIRMWARE_PERFORMANCE_S3_POINTER_GUID \
52 { \
53 0xdc65adc, 0xa973, 0x4130, { 0x8d, 0xf0, 0x2a, 0xdb, 0xeb, 0x9e, 0x4a, 0x31 } \
54 }
55
56#pragma pack(1)
57
62typedef struct {
67
73typedef struct {
78
83typedef struct {
86 //
87 // one or more boot performance records.
88 //
90
95typedef struct {
97 //
98 // one or more boot performance records.
99 //
101
105typedef struct {
109
114typedef struct {
118
119#pragma pack()
120
121//
122// Log BOOT RECORD from SMM driver on boot time.
123//
124#define SMM_FPDT_FUNCTION_GET_BOOT_RECORD_SIZE 1
125#define SMM_FPDT_FUNCTION_GET_BOOT_RECORD_DATA 2
126#define SMM_FPDT_FUNCTION_GET_BOOT_RECORD_DATA_BY_OFFSET 3
127
128typedef struct {
129 UINTN Function;
130 EFI_STATUS ReturnStatus;
131 UINTN BootRecordSize;
132 VOID *BootRecordData;
133 UINTN BootRecordOffset;
135
136extern EFI_GUID gEfiFirmwarePerformanceGuid;
137extern EFI_GUID gFirmwarePerformanceS3PointerGuid;
138
139#endif
UINT64 UINTN
UINT64 EFI_PHYSICAL_ADDRESS
Definition: UefiBaseType.h:50
RETURN_STATUS EFI_STATUS
Definition: UefiBaseType.h:29
EFI_ACPI_5_0_FPDT_PERFORMANCE_TABLE_HEADER Header
Common ACPI table header.
EFI_ACPI_5_0_FPDT_FIRMWARE_BASIC_BOOT_RECORD BasicBoot
Basic Boot Resume performance record.
S3_PERFORMANCE_TABLE S3Performance
S3 performance.
BOOT_PERFORMANCE_TABLE BootPerformance
Basic Boot Performance.
EFI_ACPI_DESCRIPTION_HEADER Header
Common ACPI description table header.
EFI_ACPI_5_0_FPDT_S3_PERFORMANCE_TABLE_POINTER_RECORD S3PointerRecord
S3 Performance Table Pointer record.
EFI_ACPI_5_0_FPDT_BOOT_PERFORMANCE_TABLE_POINTER_RECORD BootPointerRecord
Basic Boot Performance Table Pointer record.
EFI_PHYSICAL_ADDRESS S3PerformanceTablePointer
Pointer to S3 Performance Table.
EFI_PHYSICAL_ADDRESS BootPerformanceTablePointer
Pointer to Boot Performance Table.
Definition: Base.h:213
EFI_ACPI_5_0_FPDT_S3_SUSPEND_RECORD S3Suspend
Basic S3 Suspend performance record.
EFI_ACPI_5_0_FPDT_PERFORMANCE_TABLE_HEADER Header
Common ACPI table header.
EFI_ACPI_5_0_FPDT_S3_RESUME_RECORD S3Resume
Basic S3 Resume performance record.
EFI_ACPI_5_0_FPDT_PERFORMANCE_TABLE_HEADER Header
Common ACPI table header.