VirtualBox

Changeset 62440 in vbox for trunk


Ignore:
Timestamp:
Jul 22, 2016 1:14:01 PM (8 years ago)
Author:
vboxsync
Message:

VMM: More MSC level 4 warning fixes.

Location:
trunk/src/VBox/VMM
Files:
4 edited

Legend:

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

    r62277 r62440  
    4646
    4747/** Disable stack frame pointer generation here. */
    48 #if defined(_MSC_VER) && !defined(DEBUG)
     48#if defined(_MSC_VER) && !defined(DEBUG) && defined(RT_ARCH_X86)
    4949# pragma optimize("y", off)
    5050#endif
  • trunk/src/VBox/VMM/VMMAll/CPUMStack.cpp

    r57358 r62440  
    2525#include <VBox/vmm/mm.h>
    2626
    27 /** Disable stack frame pointer generation here. */
    28 #if defined(_MSC_VER) && !defined(DEBUG)
    29 # pragma optimize("y", off)
    30 #endif
    31 
    3227
    3328VMMDECL(void) CPUMPushHyper(PVMCPU pVCpu, uint32_t u32)
  • trunk/src/VBox/VMM/VMMR0/HMVMXR0.cpp

    r62431 r62440  
    53155315    /** @todo replace with hmR0VmxEnterRootMode() and hmR0VmxLeaveRootMode(). */
    53165316    /* Make sure the VMX instructions don't cause #UD faults. */
    5317     SUPR0ChangeCR4(X86_CR4_VMXE, ~0);
     5317    SUPR0ChangeCR4(X86_CR4_VMXE, RTCCUINTREG_MAX);
    53185318
    53195319    /* Re-enter VMX Root Mode */
  • trunk/src/VBox/VMM/VMMRC/CPUMRC.cpp

    r61392 r62440  
    8888DECLASM(void) CPUMRCAssertPreExecutionSanity(PVM pVM)
    8989{
     90#ifdef VBOX_STRICT
    9091    /*
    9192     * Check some important assumptions before resuming guest execution.
     
    107108    AssertMsg(CPUMIsGuestInRawMode(pVCpu),           ("cs:eip=%04x:%08x ss:esp=%04x:%08x cpl=%u raw/efl=%#x/%#x%s\n", pCtx->cs.Sel, pCtx->eip, pCtx->ss.Sel, pCtx->esp, uRawCpl, u32EFlags, pCtx->eflags.u, fPatch ? " patch" : ""));
    108109    //Log2(("cs:eip=%04x:%08x ss:esp=%04x:%08x cpl=%u raw/efl=%#x/%#x%s\n", pCtx->cs.Sel, pCtx->eip, pCtx->ss.Sel, pCtx->esp, uRawCpl, u32EFlags, pCtx->eflags.u, fPatch ? " patch" : ""));
     110#endif
    109111}
    110112
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