summaryrefslogtreecommitdiffstats
path: root/MdePkg/Include/Register/Amd/Ghcb.h
diff options
context:
space:
mode:
authorTom Lendacky <thomas.lendacky@amd.com>2024-03-08 07:30:14 -0800
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2024-04-17 18:30:03 +0000
commitc212fec9cf086243a7fb01cea185e67c2bd8f72e (patch)
tree52527276f204d58e5dff01db902eea2221639363 /MdePkg/Include/Register/Amd/Ghcb.h
parent61185f1d501512f35621d0fdc5f17503c77bf449 (diff)
downloadedk2-c212fec9cf086243a7fb01cea185e67c2bd8f72e.tar.gz
edk2-c212fec9cf086243a7fb01cea185e67c2bd8f72e.tar.bz2
edk2-c212fec9cf086243a7fb01cea185e67c2bd8f72e.zip
OvmfPkg/BaseMemEncryptLib: Fix error check from AsmRmpAdjust()
BZ: https://bugzilla.tianocore.org/show_bug.cgi?id=4654 The AsmRmpAdjust() function returns a UINT32, however in SevSnpIsVmpl0() the return value is checked with EFI_ERROR() when it should just be compared to 0. Fix the error check. Cc: Ard Biesheuvel <ardb+tianocore@kernel.org> Cc: Erdem Aktas <erdemaktas@google.com> Cc: Gerd Hoffmann <kraxel@redhat.com> Cc: Jiewen Yao <jiewen.yao@intel.com> Cc: Laszlo Ersek <lersek@redhat.com> Cc: Michael Roth <michael.roth@amd.com> Cc: Min Xu <min.m.xu@intel.com> Reviewed-by: Gerd Hoffmann <kraxel@redhat.com> Signed-off-by: Tom Lendacky <thomas.lendacky@amd.com>
Diffstat (limited to 'MdePkg/Include/Register/Amd/Ghcb.h')
0 files changed, 0 insertions, 0 deletions