Changeset 19271 in vbox
- Timestamp:
- Apr 30, 2009 10:13:02 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/HostDrivers/Support/solaris/SUPDrv-solaris.c
r16905 r19271 55 55 #include <iprt/spinlock.h> 56 56 #include <iprt/mp.h> 57 #include <iprt/power.h> 57 58 #include <iprt/process.h> 58 59 #include <iprt/thread.h> … … 320 321 321 322 /* 323 * Register for suspend/resume notifications 324 */ 325 rc = ddi_prop_update_string(DDI_DEV_T_ANY, pDip, "pm-hardware-state", "needs-suspend-resume"); 326 327 /* 322 328 * Register ourselves as a character device, pseudo-driver 323 329 */ … … 343 349 case DDI_RESUME: 344 350 { 351 #if 0 345 352 RTSemFastMutexRequest(g_DevExt.mtxGip); 346 353 if (g_DevExt.pGipTimer) … … 348 355 349 356 RTSemFastMutexRelease(g_DevExt.mtxGip); 357 #endif 358 RTPowerSignalEvent(RTPOWEREVENT_RESUME); 350 359 return DDI_SUCCESS; 351 360 } … … 389 398 case DDI_SUSPEND: 390 399 { 400 #if 0 391 401 RTSemFastMutexRequest(g_DevExt.mtxGip); 392 402 if (g_DevExt.pGipTimer && g_DevExt.cGipUsers > 0) … … 394 404 395 405 RTSemFastMutexRelease(g_DevExt.mtxGip); 406 #endif 407 RTPowerSignalEvent(RTPOWEREVENT_SUSPEND); 396 408 return DDI_SUCCESS; 409 397 410 } 398 411
Note:
See TracChangeset
for help on using the changeset viewer.