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