VirtualBox

Changeset 59110 in vbox for trunk/src/VBox/VMM/VMMR0


Ignore:
Timestamp:
Dec 14, 2015 10:14:27 AM (9 years ago)
Author:
vboxsync
Message:

VMM/HMVMXR0: nits.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMR0/HMVMXR0.cpp

    r59073 r59110  
    86568656 * @param   rcVMRun         Return code of VMLAUNCH/VMRESUME.
    86578657 *
    8658  * @remarks Called with interrupts disabled, and returns with interrups enabled!
     8658 * @remarks Called with interrupts disabled, and returns with interrupts enabled!
    86598659 *
    86608660 * @remarks No-long-jump zone!!! This function will however re-enable longjmps
     
    88418841 * to their core operation.
    88428842 *
    8843  * The goal is to keep the "parent" code lean and mean, so as not to acrifice
     8843 * The goal is to keep the "parent" code lean and mean, so as not to sacrifice
    88448844 * any performance for debug and analysis features.
    88458845 *
     
    88518851    /** The RIP we started executing at.  This is for detecting that we stepped.  */
    88528852    uint64_t    uRipStart;
    8853     /** The CS we started exectuing with.  */
     8853    /** The CS we started executing with.  */
    88548854    uint16_t    uCsStart;
    88558855
     
    91039103     * Process events and probes for VM exits, making sure we get the wanted exits.
    91049104     *
    9105      * Note! This is the reverse of waht hmR0VmxHandleExitDtraceEvents does.
     9105     * Note! This is the reverse of waft hmR0VmxHandleExitDtraceEvents does.
    91069106     *       So, when adding/changing/removing please don't forget to update it.
    91079107     *
     
    92329232    SET_CPEU_XBM_IF_EITHER_EN(INSTR_WRMSR,               VMX_EXIT_WRMSR,     VMX_VMCS_CTRL_PROC_EXEC_USE_MSR_BITMAPS);
    92339233    SET_ONLY_XBM_IF_EITHER_EN( EXIT_WRMSR,               VMX_EXIT_WRMSR);
    9234     SET_CPE1_XBM_IF_EITHER_EN(INSTR_MWAIT,               VMX_EXIT_MWAIT,     VMX_VMCS_CTRL_PROC_EXEC_MWAIT_EXIT);   /* parnoia */
     9234    SET_CPE1_XBM_IF_EITHER_EN(INSTR_MWAIT,               VMX_EXIT_MWAIT,     VMX_VMCS_CTRL_PROC_EXEC_MWAIT_EXIT);   /* paranoia */
    92359235    SET_ONLY_XBM_IF_EITHER_EN( EXIT_MWAIT,               VMX_EXIT_MWAIT);
    9236     SET_CPE1_XBM_IF_EITHER_EN(INSTR_MONITOR,             VMX_EXIT_MONITOR,   VMX_VMCS_CTRL_PROC_EXEC_MONITOR_EXIT); /* parnoia */
     9236    SET_CPE1_XBM_IF_EITHER_EN(INSTR_MONITOR,             VMX_EXIT_MONITOR,   VMX_VMCS_CTRL_PROC_EXEC_MONITOR_EXIT); /* paranoia */
    92379237    SET_ONLY_XBM_IF_EITHER_EN( EXIT_MONITOR,             VMX_EXIT_MONITOR);
    92389238#if 0 /** @todo too slow, fix handler. */
     
    1313713137                uint16_t uVector = pDis->Param1.uValue & 0xff;
    1313813138                hmR0VmxSetPendingIntN(pVCpu, pMixedCtx, uVector, pDis->cbInstr);
    13139                 /* INT clears EFLAGS.TF, we mustn't set any pending debug exceptions here. */
     13139                /* INT clears EFLAGS.TF, we must not set any pending debug exceptions here. */
    1314013140                STAM_COUNTER_INC(&pVCpu->hm.s.StatExitInt);
    1314113141                break;
     
    1314713147                {
    1314813148                    hmR0VmxSetPendingXcptOF(pVCpu, pMixedCtx, pDis->cbInstr);
    13149                     /* INTO clears EFLAGS.TF, we mustn't set any pending debug exceptions here. */
     13149                    /* INTO clears EFLAGS.TF, we must not set any pending debug exceptions here. */
    1315013150                    STAM_COUNTER_INC(&pVCpu->hm.s.StatExitInt);
    1315113151                }
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