diff options
author | Rodrigo Gonzalez del Cueto <rodrigo.gonzalez.del.cueto@intel.com> | 2020-07-20 14:26:37 -0700 |
---|---|---|
committer | mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> | 2021-08-09 03:32:24 +0000 |
commit | 3c6107758baf2f5923b9d1a5a3f64b8296881be1 (patch) | |
tree | 1bb6de464b7701ed8e0beb62f1695ff77e749aef /ArmVirtPkg | |
parent | 4de77ae9890d241271f543e9195ab3516f3abec6 (diff) | |
download | edk2-3c6107758baf2f5923b9d1a5a3f64b8296881be1.zip edk2-3c6107758baf2f5923b9d1a5a3f64b8296881be1.tar.gz edk2-3c6107758baf2f5923b9d1a5a3f64b8296881be1.tar.bz2 |
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 'ArmVirtPkg')
0 files changed, 0 insertions, 0 deletions