VirtualBox

Changeset 15043 in vbox for trunk/src


Ignore:
Timestamp:
Dec 5, 2008 1:40:13 PM (16 years ago)
Author:
vboxsync
Message:

SUPDrv-OSX: enable the ring 0 sleep/wakeup notification

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/HostDrivers/Support/darwin/SUPDrv-darwin.cpp

    r15041 r15043  
    258258                                VBOX_SVN_REV, SUPDRV_IOC_VERSION, SUPDRV_IDC_VERSION, g_iMajorDeviceNo));
    259259
    260 /* Bird: please acknowledge! */
    261 #if 0
    262260                        /* Register a sleep/wakeup notification callback */
    263                         void *pvData = NULL;
    264                         g_pSleepNotifier = registerPrioritySleepWakeInterest(&VBoxDrvDarwinSleepHandler, pvData, NULL);
     261                        g_pSleepNotifier = registerPrioritySleepWakeInterest(&VBoxDrvDarwinSleepHandler, &g_DevExt, NULL);
    265262                        if (g_pSleepNotifier == NULL)
    266263                            LogRel(("VBoxDrv: register for sleep/wakeup events failed\n"));
    267 #endif
    268264
    269265                        return KMOD_RETURN_SUCCESS;
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