X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=blobdiff_plain;f=MdeModulePkg%2FInclude%2FGuid%2FFirmwarePerformance.h;h=4697a2c41e53f2fa811da16575111950f03d9b8f;hp=7da07f9ea736a6abb93e853cc337c879ee5bb639;hb=7110e306faaf713ca644719685a7cb21f3c17d8b;hpb=96f0d1cab0f2f1d7f923cc11bc56c069c6e71854 diff --git a/MdeModulePkg/Include/Guid/FirmwarePerformance.h b/MdeModulePkg/Include/Guid/FirmwarePerformance.h index 7da07f9ea7..4697a2c41e 100644 --- a/MdeModulePkg/Include/Guid/FirmwarePerformance.h +++ b/MdeModulePkg/Include/Guid/FirmwarePerformance.h @@ -1,7 +1,7 @@ /** @file ACPI Firmware Performance Data Table (FPDT) implementation specific definitions. - Copyright (c) 2011 - 2012, Intel Corporation. All rights reserved.
+ Copyright (c) 2011 - 2016, Intel Corporation. All rights reserved.
This program and the accompanying materials are licensed and made available under the terms and conditions of the BSD License which accompanies this distribution. The full text of the license may be found at @@ -50,6 +50,15 @@ #define EFI_FIRMWARE_PERFORMANCE_VARIABLE_NAME L"FirmwarePerformance" +/// LockBox: +/// GUID - gFirmwarePerformanceS3PointerGuid +/// Data - S3 performance table pointer +/// +#define FIRMWARE_PERFORMANCE_S3_POINTER_GUID \ + { \ + 0xdc65adc, 0xa973, 0x4130, { 0x8d, 0xf0, 0x2a, 0xdb, 0xeb, 0x9e, 0x4a, 0x31 } \ + } + #pragma pack(1) /// @@ -95,7 +104,7 @@ typedef struct { /// /// Variable defined for FPDT implementation. -/// This Variable is produced by FPDT DXE module and consumed by FPDT PEIM. +/// This Variable is produced by FPDT DXE module. /// typedef struct { EFI_PHYSICAL_ADDRESS BootPerformanceTablePointer; ///< Pointer to Boot Performance Table. @@ -107,16 +116,19 @@ typedef struct { // // Log BOOT RECORD from SMM driver on boot time. // -#define SMM_FPDT_FUNCTION_GET_BOOT_RECORD_SIZE 1 -#define SMM_FPDT_FUNCTION_GET_BOOT_RECORD_DATA 2 +#define SMM_FPDT_FUNCTION_GET_BOOT_RECORD_SIZE 1 +#define SMM_FPDT_FUNCTION_GET_BOOT_RECORD_DATA 2 +#define SMM_FPDT_FUNCTION_GET_BOOT_RECORD_DATA_BY_OFFSET 3 typedef struct { UINTN Function; EFI_STATUS ReturnStatus; UINTN BootRecordSize; VOID *BootRecordData; + UINTN BootRecordOffset; } SMM_BOOT_RECORD_COMMUNICATE; extern EFI_GUID gEfiFirmwarePerformanceGuid; +extern EFI_GUID gFirmwarePerformanceS3PointerGuid; #endif