VirtualBox

Changeset 74055 in vbox for trunk/src/VBox/VMM


Ignore:
Timestamp:
Sep 4, 2018 5:39:04 AM (6 years ago)
Author:
vboxsync
Message:

VMM/IEM: Nested VMX: bugref:9180 force inline tiny helper functions.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMAll/IEMAllCImplVmxInstr.cpp.h

    r74054 r74055  
    10381038 * @param   pVCpu       The cross context virtual CPU structure.
    10391039 */
    1040 DECLINLINE(void) iemVmxVmSucceed(PVMCPU pVCpu)
     1040DECL_FORCE_INLINE(void) iemVmxVmSucceed(PVMCPU pVCpu)
    10411041{
    10421042    pVCpu->cpum.GstCtx.eflags.u32 &= ~(X86_EFL_CF | X86_EFL_PF | X86_EFL_AF | X86_EFL_ZF | X86_EFL_SF | X86_EFL_OF);
     
    10491049 * @param   pVCpu       The cross context virtual CPU structure.
    10501050 */
    1051 DECLINLINE(void) iemVmxVmFailInvalid(PVMCPU pVCpu)
     1051DECL_FORCE_INLINE(void) iemVmxVmFailInvalid(PVMCPU pVCpu)
    10521052{
    10531053    pVCpu->cpum.GstCtx.eflags.u32 &= ~(X86_EFL_PF | X86_EFL_AF | X86_EFL_ZF | X86_EFL_SF | X86_EFL_OF);
     
    10621062 * @param   enmInsErr   The VM instruction error.
    10631063 */
    1064 DECLINLINE(void) iemVmxVmFailValid(PVMCPU pVCpu, VMXINSTRERR enmInsErr)
     1064DECL_FORCE_INLINE(void) iemVmxVmFailValid(PVMCPU pVCpu, VMXINSTRERR enmInsErr)
    10651065{
    10661066    if (IEM_VMX_HAS_CURRENT_VMCS(pVCpu))
     
    10801080 * @param   enmInsErr   The VM instruction error.
    10811081 */
    1082 DECLINLINE(void) iemVmxVmFail(PVMCPU pVCpu, VMXINSTRERR enmInsErr)
     1082DECL_FORCE_INLINE(void) iemVmxVmFail(PVMCPU pVCpu, VMXINSTRERR enmInsErr)
    10831083{
    10841084    if (IEM_VMX_HAS_CURRENT_VMCS(pVCpu))
     
    10981098 * @param   pVCpu           The cross context virtual CPU structure.
    10991099 */
    1100 DECLINLINE(int) iemVmxCommitCurrentVmcsToMemory(PVMCPU pVCpu)
     1100DECL_FORCE_INLINE(int) iemVmxCommitCurrentVmcsToMemory(PVMCPU pVCpu)
    11011101{
    11021102    Assert(IEM_VMX_HAS_CURRENT_VMCS(pVCpu));
     
    11131113 * @param   pVCpu           The cross context virtual CPU structure.
    11141114 */
    1115 DECLINLINE(void) iemVmxVmreadSuccess(PVMCPU pVCpu, uint8_t cbInstr)
     1115DECL_FORCE_INLINE(void) iemVmxVmreadSuccess(PVMCPU pVCpu, uint8_t cbInstr)
    11161116{
    11171117    pVCpu->cpum.GstCtx.hwvirt.vmx.enmInstrDiag = kVmxVInstrDiag_Vmread_Success;
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette