]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdeModulePkg/Include/Guid/FirmwarePerformance.h
MdeModulePkg/S3SmmInitDone.h: Fix copyright coding style error.
[mirror_edk2.git] / MdeModulePkg / Include / Guid / FirmwarePerformance.h
index a4aeda275986c7e28bf5ad9956a9b74f4753b49e..1495a466da4ffac119277bc05b78baad92408982 100644 (file)
@@ -1,7 +1,7 @@
 /** @file\r
   ACPI Firmware Performance Data Table (FPDT) implementation specific definitions.\r
 \r
-  Copyright (c) 2011 - 2013, Intel Corporation. All rights reserved.<BR>\r
+  Copyright (c) 2011 - 2018, 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
@@ -94,6 +94,17 @@ typedef struct {
   //\r
 } BOOT_PERFORMANCE_TABLE;\r
 \r
+///\r
+/// Boot performance table for the performance record in SMM phase.\r
+///\r
+///\r
+typedef struct {\r
+  EFI_ACPI_5_0_FPDT_PERFORMANCE_TABLE_HEADER   Header;     ///< Common ACPI table header.\r
+  //\r
+  // one or more boot performance records.\r
+  //\r
+} SMM_BOOT_PERFORMANCE_TABLE;\r
+\r
 ///\r
 /// Performance data pointed by Performance Pointer Record.\r
 ///\r
@@ -116,14 +127,16 @@ 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