fix compilation with no vmx enabled
This commit is contained in:
parent
c2b57c5a56
commit
a0c9522fef
@ -2881,6 +2881,8 @@ BX_INSF_TYPE BX_CPP_AttrRegparmN(1) BX_CPU_C::VMPTRST(bxInstruction_c *i)
|
||||
BX_NEXT_INSTR(i);
|
||||
}
|
||||
|
||||
#if BX_SUPPORT_VMX
|
||||
|
||||
Bit64u BX_CPP_AttrRegparmN(1) BX_CPU_C::vmread(unsigned encoding)
|
||||
{
|
||||
unsigned width = VMCS_FIELD_WIDTH(encoding);
|
||||
@ -2991,6 +2993,8 @@ void BX_CPP_AttrRegparmN(2) BX_CPU_C::vmwrite_shadow(unsigned encoding, Bit64u v
|
||||
}
|
||||
}
|
||||
|
||||
#endif // BX_SUPPORT_VMX >= 2
|
||||
|
||||
#endif
|
||||
|
||||
BX_INSF_TYPE BX_CPP_AttrRegparmN(1) BX_CPU_C::VMREAD_EdGd(bxInstruction_c *i)
|
||||
|
Loading…
Reference in New Issue
Block a user