Loading...
iokit/Kernel/IOEventSource.cpp xnu-124.13 xnu-792.10.96
--- xnu/xnu-124.13/iokit/Kernel/IOEventSource.cpp
+++ xnu/xnu-792.10.96/iokit/Kernel/IOEventSource.cpp
@@ -43,8 +43,18 @@
 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;