## @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
+# Copyright (c) 2014 - 2020, Intel Corporation. All rights reserved.<BR>\r
# SPDX-License-Identifier: BSD-2-Clause-Patent\r
#\r
##\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
## @file\r
# Provides drivers and definitions to support fsp in EDKII bios.\r
#\r
-# Copyright (c) 2014 - 2016, Intel Corporation. All rights reserved.<BR>\r
+# Copyright (c) 2014 - 2020, Intel Corporation. All rights reserved.<BR>\r
# SPDX-License-Identifier: BSD-2-Clause-Patent\r
#\r
##\r
# FSP Wrapper Lib\r
FspWrapperApiLib|IntelFsp2WrapperPkg/Library/BaseFspWrapperApiLib/BaseFspWrapperApiLib.inf\r
FspWrapperApiTestLib|IntelFsp2WrapperPkg/Library/BaseFspWrapperApiTestLibNull/BaseFspWrapperApiTestLibNull.inf\r
+ FspMeasurementLib|IntelFsp2WrapperPkg/Library/BaseFspMeasurementLib/BaseFspMeasurementLib.inf\r
\r
# FSP platform sample\r
FspWrapperPlatformLib|IntelFsp2WrapperPkg/Library/BaseFspWrapperPlatformLibSample/BaseFspWrapperPlatformLibSample.inf\r
PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf\r
MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf\r
HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf\r
+ TpmMeasurementLib|SecurityPkg/Library/PeiTpmMeasurementLib/PeiTpmMeasurementLib.inf\r
+ TcgEventLogRecordLib|SecurityPkg/Library/TcgEventLogRecordLib/TcgEventLogRecordLib.inf\r
\r
[LibraryClasses.common.DXE_DRIVER]\r
UefiDriverEntryPoint|MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntryPoint.inf\r
IntelFsp2WrapperPkg/Library/SecFspWrapperPlatformSecLibSample/SecFspWrapperPlatformSecLibSample.inf\r
IntelFsp2WrapperPkg/Library/PeiFspWrapperHobProcessLibSample/PeiFspWrapperHobProcessLibSample.inf\r
IntelFsp2WrapperPkg/Library/PeiFspWrapperApiTestLib/PeiFspWrapperApiTestLib.inf\r
+ IntelFsp2WrapperPkg/Library/BaseFspMeasurementLib/BaseFspMeasurementLib.inf\r
\r
IntelFsp2WrapperPkg/FspmWrapperPeim/FspmWrapperPeim.inf\r
IntelFsp2WrapperPkg/FspsWrapperPeim/FspsWrapperPeim.inf\r