mirror of
https://github.com/acidanthera/audk.git
synced 2025-07-31 01:24:12 +02:00
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>
This commit is contained in:
parent
54d81d06fc
commit
127e2c5315
@ -545,6 +545,7 @@ CcExitHandleVe (
|
|||||||
case EXIT_REASON_MONITOR_INSTRUCTION:
|
case EXIT_REASON_MONITOR_INSTRUCTION:
|
||||||
case EXIT_REASON_WBINVD:
|
case EXIT_REASON_WBINVD:
|
||||||
case EXIT_REASON_RDPMC:
|
case EXIT_REASON_RDPMC:
|
||||||
|
case EXIT_REASON_INVD:
|
||||||
/* Handle as nops. */
|
/* Handle as nops. */
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user