]> git.proxmox.com Git - mirror_edk2.git/blobdiff - IntelFsp2WrapperPkg/IntelFsp2WrapperPkg.dec
OvmfPkg: raise PcdShellFileOperationSize to 128KB
[mirror_edk2.git] / IntelFsp2WrapperPkg / IntelFsp2WrapperPkg.dec
index 96f2858fb4b779a3888e1dfde24afa94c7247a01..6852bf1271792e9c7a6e0d1a83be3aa51f4cd8f5 100644 (file)
@@ -1,14 +1,8 @@
 ## @file\r
 # Provides drivers and definitions to support fsp in EDKII bios.\r
 #\r
-# Copyright (c) 2014 - 2018, Intel Corporation. All rights reserved.<BR>\r
-# This program and the accompanying materials are licensed and made available under\r
-# the terms and conditions of the BSD License that accompanies this distribution.\r
-# The full text of the license may be found at\r
-# http://opensource.org/licenses/bsd-license.php.\r
-#\r
-# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
-# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
+# Copyright (c) 2014 - 2020, Intel Corporation. All rights reserved.<BR>\r
+# SPDX-License-Identifier: BSD-2-Clause-Patent\r
 #\r
 ##\r
 \r
@@ -32,6 +26,8 @@
   ##  @libraryclass  Provide FSP platform related function.\r
   FspWrapperPlatformLib|Include/Library/FspWrapperPlatformLib.h\r
 \r
+  ##  @libraryclass  Provide FSP TPM measurement related function.\r
+  FspMeasurementLib|Include/Library/FspMeasurementLib.h\r
 [Guids]\r
   #\r
   # GUID defined in package\r
   #\r
   gIntelFsp2WrapperTokenSpaceGuid.PcdFspModeSelection|0x00000001|UINT8|0x4000000A\r
 \r
+  ## This PCD decides how FSP is measured\r
+  # 1) The BootGuard ACM may already measured the FSP component, such as FSPT/FSPM.\r
+  # We need a flag (PCD) to indicate if there is need to do such FSP measurement or NOT.\r
+  # 2) The FSP binary includes FSP code and FSP UPD region. The UPD region is considered\r
+  # as configuration block, and it may be updated by OEM by design.\r
+  # This flag (PCD) is to indicate if we need isolate the the UPD region from the FSP code region.\r
+  # BIT0: Need measure FSP. (for FSP1.x) - reserved in FSP2.\r
+  # BIT1: Need measure FSPT. (for FSP 2.x)\r
+  # BIT2: Need measure FSPM. (for FSP 2.x)\r
+  # BIT3: Need measure FSPS. (for FSP 2.x)\r
+  # BIT4~30: reserved.\r
+  # BIT31: Need isolate UPD region measurement.\r
+    #0: measure FSP[T|M|S] as one binary in one record (PCR0).\r
+    #1: measure FSP UPD region in one record (PCR1), the FSP code without UPD in another record (PCR0).\r
+  #\r
+  gIntelFsp2WrapperTokenSpaceGuid.PcdFspMeasurementConfig|0x00000000|UINT32|0x4000000B\r
+\r
 [PcdsFixedAtBuild, PcdsPatchableInModule,PcdsDynamic,PcdsDynamicEx]\r
   #\r
   ## These are the base address of FSP-M/S\r