VirtualBox

Changeset 62431 in vbox


Ignore:
Timestamp:
Jul 22, 2016 11:43:29 AM (8 years ago)
Author:
vboxsync
Message:

VMMR0: MSC level 4 warning fixes.

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

Legend:

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

    r62218 r62431  
    37543754        }
    37553755    }
    3756     return VERR_INTERNAL_ERROR_5;   /* Should never happen. */
     3756    /* not reached */
    37573757}
    37583758
  • trunk/src/VBox/VMM/VMMR0/HMVMXR0.cpp

    r62341 r62431  
    795795
    796796    /* Enable the VMX bit in CR4 if necessary. */
    797     RTCCUINTREG uOldCr4 = SUPR0ChangeCR4(X86_CR4_VMXE, ~0);
     797    RTCCUINTREG uOldCr4 = SUPR0ChangeCR4(X86_CR4_VMXE, RTCCUINTREG_MAX);
    798798
    799799    /* Enter VMX root mode. */
     
    1329813298                RTGCPTR   GCPtrStack = 0;
    1329913299                X86EFLAGS Eflags;
     13300                Eflags.u32 = 0;
    1330013301                rc = SELMToFlatEx(pVCpu, DISSELREG_SS, CPUMCTX2CORE(pMixedCtx), pMixedCtx->esp & uMask, SELMTOFLAT_FLAGS_CPL0,
    1330113302                                  &GCPtrStack);
     
    1330313304                {
    1330413305                    Assert(sizeof(Eflags.u32) >= cbParm);
    13305                     Eflags.u32 = 0;
    1330613306                    rc = VBOXSTRICTRC_TODO(PGMPhysRead(pVM, (RTGCPHYS)GCPtrStack, &Eflags.u32, cbParm, PGMACCESSORIGIN_HM));
    1330713307                    AssertMsg(rc == VINF_SUCCESS, ("%Rrc\n", rc)); /** @todo allow strict return codes here */
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