VirtualBox

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


Ignore:
Timestamp:
Aug 21, 2012 8:00:10 AM (13 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
80184
Message:

VMM: nits.

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

Legend:

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

    r42840 r42894  
    891891        /* Sync the hypervisor debug state now if any breakpoint is armed. */
    892892        if (    CPUMGetHyperDR7(pVCpu) & (X86_DR7_ENABLED_MASK|X86_DR7_GD)
    893             &&  !CPUMIsHyperDebugStateActive(pVCpu)
    894             &&  !DBGFIsStepping(pVCpu))
     893            && !CPUMIsHyperDebugStateActive(pVCpu)
     894            && !DBGFIsStepping(pVCpu))
    895895        {
    896896            /* Save the host and load the hypervisor debug state. */
     
    907907#endif
    908908        /* Sync the debug state now if any breakpoint is armed. */
    909         if (    (pCtx->dr[7] & (X86_DR7_ENABLED_MASK|X86_DR7_GD))
    910             &&  !CPUMIsGuestDebugStateActive(pVCpu)
    911             &&  !DBGFIsStepping(pVCpu))
     909        if (   (pCtx->dr[7] & (X86_DR7_ENABLED_MASK|X86_DR7_GD))
     910            && !CPUMIsGuestDebugStateActive(pVCpu)
     911            && !DBGFIsStepping(pVCpu))
    912912        {
    913913            STAM_COUNTER_INC(&pVCpu->hwaccm.s.StatDRxArmed);
     
    28222822            break;
    28232823
    2824         switch(pPatch->enmType)
     2824        switch (pPatch->enmType)
    28252825        {
    28262826            case HWACCMTPRINSTR_READ:
     
    28562856                break;
    28572857
    2858         default:
    2859                 AssertMsgFailedReturn(("Unexpected type %d\n", pPatch->enmType), VERR_HMSVM_UNEXPECTED_PATCH_TYPE);
     2858            default:
     2859                    AssertMsgFailedReturn(("Unexpected type %d\n", pPatch->enmType), VERR_HMSVM_UNEXPECTED_PATCH_TYPE);
    28602860        }
    28612861    }
  • trunk/src/VBox/VMM/VMMR0/HWVMXR0.cpp

    r42857 r42894  
    19241924        if (!pVM->hwaccm.s.fNestedPaging)
    19251925        {
    1926             switch(pVCpu->hwaccm.s.enmShadowMode)
     1926            switch (pVCpu->hwaccm.s.enmShadowMode)
    19271927            {
    19281928                case PGMMODE_REAL:          /* Real mode                 -> emulated using v86 mode */
     
    46024602        unsigned uAccessType = VMX_EXIT_QUALIFICATION_APIC_ACCESS_TYPE(exitQualification);
    46034603
    4604         switch(uAccessType)
     4604        switch (uAccessType)
    46054605        {
    46064606            case VMX_APIC_ACCESS_TYPE_LINEAR_READ:
Note: See TracChangeset for help on using the changeset viewer.

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