Fix Secureboot status in PSD
CFL, CML, EHL, TGL platforms are using PSD version 0.3. as per PSD Spec v0.3 secureboot status indication as ber below, 000 – Secure boot is Disabled 001 – UEFI Secure boot is enabled 010 – Boot Guard is Enabled 100 – Bootloader Verified boot is Enabled Signed-off-by: Praveen Hp <praveen.hodagatta.pranesh@intel.com>
This commit is contained in:
parent
5d573cf55e
commit
eeb5e1ac10
|
@ -338,8 +338,8 @@ UpdateAcpiPsdTable (
|
|||
return EFI_UNSUPPORTED;
|
||||
}
|
||||
|
||||
//00 - Secure boot is Disabled; 01 - Verified boot is enabled; 11 - Secure boot (verified + PcdVerifiedBootEnabled) enabled.
|
||||
mPsdt->SecureBoot = (UINT8)(((PlatformData->BtGuardInfo.VerifiedBoot) << 1)| FeaturePcdGet (PcdVerifiedBootEnabled));
|
||||
//000 - Secure boot is Disabled; 010 - Boot Guard Enabled; 100 - Bootloader Verified boot Enabled.
|
||||
mPsdt->SecureBoot = (UINT8)(((PlatformData->BtGuardInfo.VerifiedBoot) << 1)| (FeaturePcdGet (PcdVerifiedBootEnabled)) << 2);
|
||||
//Measured boot enabled.
|
||||
mPsdt->MeasuredBoot = (UINT8)((PlatformData->BtGuardInfo.MeasuredBoot));
|
||||
|
||||
|
|
|
@ -338,8 +338,8 @@ UpdateAcpiPsdTable (
|
|||
return EFI_UNSUPPORTED;
|
||||
}
|
||||
|
||||
//00 - Secure boot is Disabled; 01 - Verified boot is enabled; 11 - Secure boot (verified + PcdVerifiedBootEnabled) enabled.
|
||||
mPsdt->SecureBoot = (UINT8)(((PlatformData->BtGuardInfo.VerifiedBoot) << 1)| FeaturePcdGet (PcdVerifiedBootEnabled));
|
||||
//000 - Secure boot is Disabled; 010 - Boot Guard Enabled; 100 - Bootloader Verified boot Enabled.
|
||||
mPsdt->SecureBoot = (UINT8)(((PlatformData->BtGuardInfo.VerifiedBoot) << 1)| (FeaturePcdGet (PcdVerifiedBootEnabled)) << 2);
|
||||
//Measured boot enabled.
|
||||
mPsdt->MeasuredBoot = (UINT8)((PlatformData->BtGuardInfo.MeasuredBoot));
|
||||
|
||||
|
|
|
@ -339,8 +339,8 @@ UpdateAcpiPsdTable (
|
|||
return EFI_UNSUPPORTED;
|
||||
}
|
||||
|
||||
//00 - Secure boot is Disabled; 01 - Verified boot is enabled; 11 - Secure boot (verified + PcdVerifiedBootEnabled) enabled.
|
||||
mPsdt->SecureBoot = (UINT8)(((PlatformData->BtGuardInfo.VerifiedBoot) << 1)| FeaturePcdGet (PcdVerifiedBootEnabled));
|
||||
//000 - Secure boot is Disabled; 010 - Boot Guard Enabled; 100 - Bootloader Verified boot Enabled.
|
||||
mPsdt->SecureBoot = (UINT8)(((PlatformData->BtGuardInfo.VerifiedBoot) << 1)| (FeaturePcdGet (PcdVerifiedBootEnabled)) << 2);
|
||||
//Measured boot enabled.
|
||||
mPsdt->MeasuredBoot = (UINT8)((PlatformData->BtGuardInfo.MeasuredBoot));
|
||||
|
||||
|
|
|
@ -204,8 +204,8 @@ UpdateAcpiPsdTable (
|
|||
return EFI_UNSUPPORTED;
|
||||
}
|
||||
|
||||
//00 - Secure boot is Disabled; 01 - Verified boot is enabled; 11 - Secure boot (verified + PcdVerifiedBootEnabled) enabled.
|
||||
mPsdt->SecureBoot = (UINT8)(((PlatformData->BtGuardInfo.VerifiedBoot) << 1)| FeaturePcdGet (PcdVerifiedBootEnabled));
|
||||
//000 - Secure boot is Disabled; 010 - Boot Guard Enabled; 100 - Bootloader Verified boot Enabled.
|
||||
mPsdt->SecureBoot = (UINT8)(((PlatformData->BtGuardInfo.VerifiedBoot) << 1)| (FeaturePcdGet (PcdVerifiedBootEnabled)) << 2);
|
||||
//Measured boot enabled.
|
||||
mPsdt->MeasuredBoot = (UINT8)((PlatformData->BtGuardInfo.MeasuredBoot));
|
||||
|
||||
|
|
|
@ -203,8 +203,8 @@ UpdateAcpiPsdTable (
|
|||
return EFI_UNSUPPORTED;
|
||||
}
|
||||
|
||||
//00 - Secure boot is Disabled; 01 - Verified boot is enabled; 11 - Secure boot (verified + PcdVerifiedBootEnabled) enabled.
|
||||
mPsdt->SecureBoot = (UINT8)(((PlatformData->BtGuardInfo.VerifiedBoot) << 1)| FeaturePcdGet (PcdVerifiedBootEnabled));
|
||||
//000 - Secure boot is Disabled; 010 - Boot Guard Enabled; 100 - Bootloader Verified boot Enabled.
|
||||
mPsdt->SecureBoot = (UINT8)(((PlatformData->BtGuardInfo.VerifiedBoot) << 1)| (FeaturePcdGet (PcdVerifiedBootEnabled)) << 2);
|
||||
//Measured boot enabled.
|
||||
mPsdt->MeasuredBoot = (UINT8)((PlatformData->BtGuardInfo.MeasuredBoot));
|
||||
|
||||
|
|
Loading…
Reference in New Issue