-/*************************************************************************/
-bool IOPMWorkArbiter::driverAckedOccurred(IOService *inTarget)
-{
- PMEventEntry *new_one = NULL;
-
- new_one = (PMEventEntry *)IOMalloc(sizeof(PMEventEntry));
- if(!new_one) return false;
-
- new_one->actionType = IOPMWorkArbiter::kDriverAcked;
- new_one->target = inTarget;
-
- // Change to queue
- IOLockLock(tmpLock);
- _enqueue((void **)&events, (void *)new_one, 0);
- IOLockUnlock(tmpLock);
- signalWorkAvailable();
-
- return true;
-}
-
-/*************************************************************************/
-bool IOPMWorkArbiter::allAckedOccurred(IOService *inTarget)
-{
- PMEventEntry *new_one = NULL;
-
- new_one = (PMEventEntry *)IOMalloc(sizeof(PMEventEntry));
- if(!new_one) return false;
-
- new_one->actionType = IOPMWorkArbiter::kAllAcked;
- new_one->target = inTarget;
-
- // Change to queue
- IOLockLock(tmpLock);
- _enqueue((void **)&events, (void *)new_one, 0);
- IOLockUnlock(tmpLock);
- signalWorkAvailable();
-
- return true;
-}