VirtualBox

Changeset 55436 in vbox for trunk/src/VBox/VMM


Ignore:
Timestamp:
Apr 27, 2015 9:13:02 AM (10 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
99782
Message:

Reverted bad commit r99781.

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

Legend:

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

    r55435 r55436  
    11161116
    11171117#ifdef LOG_ENABLED
    1118     SUPR0Printf("hmR0PowerCallback %s\n", RTPowerGetEventName(enmEvent));
     1118    if (enmEvent == RTPOWEREVENT_SUSPEND)
     1119        SUPR0Printf("hmR0PowerCallback RTPOWEREVENT_SUSPEND\n");
     1120    else
     1121        SUPR0Printf("hmR0PowerCallback RTPOWEREVENT_RESUME\n");
    11191122#endif
    11201123
     
    11381141            /* else nothing to do here for the local init case */
    11391142        }
    1140         else if (enmEvent == RTPOWEREVENT_RESUME)
     1143        else
    11411144        {
    11421145            /* Reinit the CPUs from scratch as the suspend state might have
  • trunk/src/VBox/VMM/VMMR0/VMMR0.cpp

    r55435 r55436  
    458458    VMCPU_ASSERT_EMT(pVCpu);
    459459    Assert(pVCpu->vmm.s.hR0ThreadCtx == NIL_RTTHREADCTX);
    460 #if 0 /* defined(RT_OS_LINUX) || defined(RT_OS_SOLARIS) */
     460#if defined(RT_OS_LINUX) || defined(RT_OS_SOLARIS)
    461461    int rc = RTThreadCtxHooksCreate(&pVCpu->vmm.s.hR0ThreadCtx);
    462462    if (   RT_FAILURE(rc)
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