X-Git-Url: https://git.saurik.com/apple/xnu.git/blobdiff_plain/1c79356b52d46aa6b508fb032f5ae709b1f2897b..5eebf7385fedb1517b66b53c28e5aa6bb0a2be50:/iokit/Kernel/IOEventSource.cpp diff --git a/iokit/Kernel/IOEventSource.cpp b/iokit/Kernel/IOEventSource.cpp index d90fb2f62..8c469db09 100644 --- a/iokit/Kernel/IOEventSource.cpp +++ b/iokit/Kernel/IOEventSource.cpp @@ -43,8 +43,18 @@ OSMetaClassDefineReservedUnused(IOEventSource, 5); OSMetaClassDefineReservedUnused(IOEventSource, 6); OSMetaClassDefineReservedUnused(IOEventSource, 7); +/* inline function implementations */ +void IOEventSource::signalWorkAvailable() { workLoop->signalWorkAvailable(); } +void IOEventSource::openGate() { workLoop->openGate(); } +void IOEventSource::closeGate() { workLoop->closeGate(); } +bool IOEventSource::tryCloseGate() { return workLoop->tryCloseGate(); } +int IOEventSource::sleepGate(void *event, UInt32 type) + { return workLoop->sleepGate(event, type); } +void IOEventSource::wakeupGate(void *event, bool oneThread) + { workLoop->wakeupGate(event, oneThread); } + bool IOEventSource::init(OSObject *inOwner, - Action inAction = 0) + Action inAction) { if (!inOwner) return false;