VirtualBox

Changeset 47670 in vbox


Ignore:
Timestamp:
Aug 12, 2013 11:12:40 AM (11 years ago)
Author:
vboxsync
Message:

VMM/HMVMXR0, HMSVMR0: Fix typo in checking invalid guest state, nits.

Location:
trunk/src/VBox/VMM/VMMR0
Files:
2 edited

Legend:

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

    r47660 r47670  
    45754575    STAM_COUNTER_INC(&pVCpu->hm.s.StatExitGuestDB);
    45764576
    4577     /* If we sat the trap flag above, we have to clear it. */ /** @todo HM should remember what it does and possibly do this elsewhere! */
     4577    /* If we set the trap flag above, we have to clear it. */
     4578    /** @todo HM should remember what it does and possibly do this elsewhere! */
    45784579    if (pVCpu->hm.s.fSingleInstruction || DBGFIsStepping(pVCpu))
    45794580        pCtx->eflags.Bits.u1TF = 0;
  • trunk/src/VBox/VMM/VMMR0/HMVMXR0.cpp

    r47662 r47670  
    60486048    Assert(!CPUMIsGuestDebugStateActive(pVCpu));
    60496049    Assert(!CPUMIsHyperDebugStateActive(pVCpu));
    6050 
    60516050
    60526051    STAM_PROFILE_ADV_SET_STOPPED(&pVCpu->hm.s.StatEntry);
     
    78827881                          VMX_IGS_INTERRUPTIBILITY_STATE_STI_MOVSS_INVALID);
    78837882        HMVMX_CHECK_BREAK(   (u32EFlags & X86_EFL_IF)
    7884                           || (u32IntrState & VMX_VMCS_GUEST_INTERRUPTIBILITY_STATE_BLOCK_STI),
     7883                          || !(u32IntrState & VMX_VMCS_GUEST_INTERRUPTIBILITY_STATE_BLOCK_STI),
    78857884                          VMX_IGS_INTERRUPTIBILITY_STATE_STI_EFL_INVALID);
    78867885        if (VMX_ENTRY_INTERRUPTION_INFO_VALID(u32EntryInfo))
     
    91149113        {
    91159114            /*
    9116              * If any I/O breakpoints are armed, then we should check if a
    9117              * debug trap needs to be generated.
     9115             * If any I/O breakpoints are armed, then we should check if a debug trap needs to be generated.
    91189116             * Note that the I/O breakpoint type is undefined if CR4.DE is 0.
    91199117             */
     
    91399137                 *        bootsector testcase for asserting the correct behavior (as well as
    91409138                 *        correctness of this code). */
    9141                 /** @todo r=bird: DR0-3 are normally in host registes when the guest is using
     9139                /** @todo r=bird: DR0-3 are normally in host registers when the guest is using
    91429140                 *        them, so we're testing against potentially stale values here! */
    91439141                STAM_COUNTER_INC(&pVCpu->hm.s.StatDRxIoCheck);
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