summaryrefslogtreecommitdiffstats
path: root/UefiPayloadPkg
diff options
context:
space:
mode:
authorRodrigo Gonzalez del Cueto <rodrigo.gonzalez.del.cueto@intel.com>2020-07-20 14:26:37 -0700
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2021-08-09 03:32:24 +0000
commit3c6107758baf2f5923b9d1a5a3f64b8296881be1 (patch)
tree1bb6de464b7701ed8e0beb62f1695ff77e749aef /UefiPayloadPkg
parent4de77ae9890d241271f543e9195ab3516f3abec6 (diff)
downloadedk2-3c6107758baf2f5923b9d1a5a3f64b8296881be1.tar.gz
edk2-3c6107758baf2f5923b9d1a5a3f64b8296881be1.tar.bz2
edk2-3c6107758baf2f5923b9d1a5a3f64b8296881be1.zip
SecurityPkg: Fix GetSupportedAndActivePcrs counter calculation
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=2855 The Tpm2GetCapabilitySupportedAndActivePcrs function prints a count number that should reflect the *supported and currently active* PCR banks, but the implementation in place displays instead the count of the *supported PCR banks* retrieved directly from the Tpm2GetCapabilityPcrs() TPML_PCR_SELECTION output. The counter should only take into account those PCRs banks which are active. Replaced usage of EFI_D_* for DEBUG_* definitions in debug messages. Cc: Jiewen Yao <jiewen.yao@intel.com> Cc: Jian J Wang <jian.j.wang@intel.com> Cc: Qi Zhang <qi1.zhang@intel.com> Signed-off-by: Rodrigo Gonzalez del Cueto <rodrigo.gonzalez.del.cueto@intel.com> Reviewed-by: Jiewen Yao <Jiewen.yao@intel.com>
Diffstat (limited to 'UefiPayloadPkg')
0 files changed, 0 insertions, 0 deletions