]> git.proxmox.com Git - mirror_edk2.git/commit
OvmfPkg: Add INVD case in #VE handler
authorRyan Afranji <afranji@google.com>
Thu, 8 Dec 2022 00:51:15 +0000 (08:51 +0800)
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Fri, 9 Dec 2022 07:08:50 +0000 (07:08 +0000)
commit127e2c531556b968a51e8e2191d6e4580281856a
treed8dfa71a7ebb640cdb98f8d923de42e5c336c7ed
parent54d81d06fc165fcb8eb832acd6a7cf644b029549
OvmfPkg: Add INVD case in #VE handler

According to the Intel GHCI specification document section 2.4.1, the
goal for instructions that do not have a corresponding TDCALL is for the
handler to treat the instruction as a NOP.

INVD does not have a corresponding TDCALL. This patch makes the #VE
handler treat INVD as a NOP.

Signed-off-by: Ryan Afranji <afranji@google.com>
Reviewed-by: Jiewen Yao <jiewen.yao@intel.com>
OvmfPkg/Library/CcExitLib/CcExitVeHandler.c