Skip to content

Commit

Permalink
Modify X86_CR4_VMXE | X86_CR4_SMXE case
Browse files Browse the repository at this point in the history
Split into two cases to avoid parsing failure.

Signed-off-by: DCyan_Elite <[email protected]>
  • Loading branch information
CrescentLove authored and ysun committed Nov 9, 2023
1 parent 1052b61 commit a4de494
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tdx-compliance/tdx-compliance-cr.h
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,8 @@ struct test_cr cr_list[] = {
* TD attempts to modify them results in a #VE,
* bits VMXE(13) and SMXE(14) are fixed to 0.
*/
DEF_XCH_CR4(X86_CR4_VMXE | X86_CR4_SMXE, X86_TRAP_VE, NO_PRE_COND, VER1_0 | VER1_5),
DEF_XCH_CR4(X86_CR4_VMXE, X86_TRAP_VE, NO_PRE_COND, VER1_0 | VER1_5),
DEF_XCH_CR4(X86_CR4_SMXE, X86_TRAP_VE, NO_PRE_COND, VER1_0 | VER1_5),

/*
* TD attempts to modify bit MCE(6) results in a #VE,
Expand Down

0 comments on commit a4de494

Please sign in to comment.