Remove S3 resume condition on OsLoader TPM event logging
Since OsLoader will never be exercised on S3 resume, there is no need to check if boot mode is S3 resume before logging TPM events in OsLoader Signed-off-by: Sean McGinn <sean.mcginn@intel.com>
This commit is contained in:
parent
43e8103df3
commit
39403a81e7
|
@ -28,7 +28,7 @@ LoadComponentCallback (
|
|||
AddMeasurePoint (0x4080);
|
||||
}
|
||||
|
||||
if (MEASURED_BOOT_ENABLED() && GetBootMode() != BOOT_ON_S3_RESUME) {
|
||||
if (MEASURED_BOOT_ENABLED()) {
|
||||
// Extend the OS component hash
|
||||
ExtendStageHash (CbInfo);
|
||||
}
|
||||
|
@ -662,7 +662,7 @@ BeforeOSJump (
|
|||
if (LoaderPlatformInfo == NULL) {
|
||||
return ;
|
||||
}
|
||||
if (MEASURED_BOOT_ENABLED() && GetBootMode() != BOOT_ON_S3_RESUME) {
|
||||
if (MEASURED_BOOT_ENABLED()) {
|
||||
PlatformDebugEnabled = PlatformDebugStateEnabled (LoaderPlatformInfo->HwState);
|
||||
if(TpmIndicateReadyToBoot (PlatformDebugEnabled) != EFI_SUCCESS) {
|
||||
DEBUG ((DEBUG_ERROR, "FAILED to complete TPM ReadyToBoot actions. \n"));
|
||||
|
|
|
@ -86,7 +86,6 @@
|
|||
LocalApicLib
|
||||
SynchronizationLib
|
||||
MpServiceLib
|
||||
BootloaderCoreLib
|
||||
|
||||
[Guids]
|
||||
gOsConfigDataGuid
|
||||
|
|
Loading…
Reference in New Issue