예제 #1
0
파일: IOWorkLoop.cpp 프로젝트: Bitesher/xnu
void IOWorkLoop::enableAllEventSources() const
{
    IOEventSource *event;

    for (event = eventChain; event; event = event->getNext())
        event->enable();

    for (event = passiveEventChain; event; event = event->getNext())
        event->enable();
}
예제 #2
0
파일: IOWorkLoop.cpp 프로젝트: SbIm/xnu-env
void IOWorkLoop::enableAllInterrupts() const
{
    IOEventSource *event;

    for (event = eventChain; event; event = event->getNext())
        if (OSDynamicCast(IOInterruptEventSource, event))
            event->enable();
}