Searched refs:handler (Results 1 - 25 of 36) sorted by relevance

12

/macosx-10.5.8/xnu-1228.15.4/pexpert/i386/
H A Dpe_interrupt.c43 IOInterruptHandler handler; member in struct:i386_interrupt_handler
88 void *, vector->target, IOInterruptHandler, vector->handler,
93 vector->handler(vector->target, NULL, vector->nub, interrupt);
98 void *, vector->target, IOInterruptHandler, vector->handler,
110 IOInterruptHandler handler,
118 vector->handler = handler;
107 PE_install_interrupt_handler(void *nub, __unused int source, void *target, IOInterruptHandler handler, void *refCon) argument
/macosx-10.5.8/xnu-1228.15.4/iokit/Examples/drvGenericInterruptController/
H A DGenericInterruptController.cpp51 IOInterruptAction handler; local
87 // register the interrupt handler so it can receive interrupts.
88 handler = getInterruptHandlerAddress();
89 provider->registerInterrupt(0, this, handler, 0);
150 // Call the handler if it exists.
152 vector->handler(vector->target, vector->refCon,
/macosx-10.5.8/xnu-1228.15.4/iokit/IOKit/
H A DIOInterruptController.h55 IOInterruptHandler handler; member in struct:IOInterruptVector
77 IOInterruptHandler handler,
130 IOInterruptHandler handler,
H A DIOCPU.h138 IOInterruptHandler handler,
H A DIOService.h146 @param newService The IOService object the notification is delivering. It is retained for the duration of the handler's invocation and doesn't need to be released by the handler. */
155 @param provider The IOService object who is delivering the notification. It is retained for the duration of the handler's invocation and doesn't need to be released by the handler.
647 @abstract Adds a persistant notification handler to be notified of IOService events.
648 @discussion IOService will deliver notifications of changes in state of an IOService object to registered clients. The type of notification is specified by a symbol, for example <code>gIOMatchedNotification</code> or <code>gIOTerminatedNotification</code>, and notifications will only include IOService objects that match the supplied matching dictionary. Notifications are ordered by a priority set with <code>addNotification</code>. When the notification is installed, its handler will be called with each of any currently existing IOService objects that are in the correct state (eg. registered) and match the supplied matching dictionary, avoiding races between finding preexisting and new IOService events. The notification request is identified by an instance of an IONotifier object, through which it can be enabled, disabled, or removed. <code>addNotification</code> consumes a retain count on the matching dictionary when the notification is removed.
656 @param handler A C function callback to deliver notifications.
664 IOServiceNotificationHandler handler,
687 @abstract Adds a persistant notification handler to be notified of IOService events.
688 @discussion A lower level interface to @link addNotification addNotification@/link that installs a handler an
[all...]
/macosx-10.5.8/xnu-1228.15.4/iokit/Drivers/platform/drvAppleNMI/
H A DAppleNMI.cpp76 IOInterruptAction handler = OSMemberFunctionCast(IOInterruptAction, local
78 provider->registerInterrupt(0, this, handler, 0);
/macosx-10.5.8/xnu-1228.15.4/bsd/kern/
H A Dmach_fat.c203 int handler = (exec_archhandler_ppc.path[0] != 0); local
206 if (handler && affinity) {
219 if ((lret != 0) && handler) {
H A Dkern_sysctl.c533 char handler[sizeof(exec_archhandler_ppc.path)]; local
553 error = copyin(newBuf, handler, newSize);
556 handler[newSize] = 0;
557 strlcpy(exec_archhandler_ppc.path, handler, MAXPATHLEN);
/macosx-10.5.8/xnu-1228.15.4/iokit/Kernel/
H A DIOInterruptController.cpp65 IOInterruptHandler handler,
150 vector->handler,
175 vector->handler = (IOInterruptHandler)vector->sharedController->getInterruptHandlerAddress();
199 handler, refCon);
205 vector->handler = handler;
257 vector->handler = 0;
493 IOInterruptHandler handler,
539 vector->handler = handler;
63 registerInterrupt(IOService *nub, int source, void *target, IOInterruptHandler handler, void *refCon) argument
490 registerInterrupt(IOService *nub, int source, void *target, IOInterruptHandler handler, void *refCon) argument
[all...]
H A DIOServicePrivate.h87 IOServiceNotificationHandler handler; member in class:_IOServiceNotifier
110 IOServiceInterestHandler handler; member in class:_IOServiceInterestNotifier
H A DIOCPU.cpp654 IOInterruptHandler handler = OSMemberFunctionCast( local
657 ml_install_interrupt_handler(cpu, cpu->getCPUNumber(), this, handler, 0);
667 IOInterruptHandler handler,
686 vector->handler = handler;
749 vector->handler(vector->target, vector->refCon,
664 registerInterrupt(IOService *nub, int source, void *target, IOInterruptHandler handler, void *refCon) argument
H A DIOService.cpp1338 ret = (*notify->handler)( notify->target, notify->ref,
1448 IOServiceInterestHandler handler, void * target, void * ref )
1468 notify->handler = handler;
1533 // to exit the handler
2372 ret = (*notify->handler)( notify->target, notify->ref, this );
3331 IOServiceNotificationHandler handler, void * target, void * ref,
3348 notify->handler = handler;
3376 IOServiceNotificationHandler handler,
1447 registerInterest( const OSSymbol * typeOfInterest, IOServiceInterestHandler handler, void * target, void * ref ) argument
3329 setNotification( const OSSymbol * type, OSDictionary * matching, IOServiceNotificationHandler handler, void * target, void * ref, SInt32 priority ) argument
3374 doInstallNotification( const OSSymbol * type, OSDictionary * matching, IOServiceNotificationHandler handler, void * target, void * ref, SInt32 priority, OSIterator ** existing ) argument
3415 installNotification( const OSSymbol * type, OSDictionary * matching, IOServiceNotificationHandler handler, void * target, void * ref, SInt32 priority, OSIterator ** existing ) argument
3433 addNotification( const OSSymbol * type, OSDictionary * matching, IOServiceNotificationHandler handler, void * target, void * ref, SInt32 priority ) argument
4718 registerInterrupt(int source, OSObject *target, IOInterruptAction handler, void *refCon) argument
[all...]
H A DIOPMrootDomain.cpp194 IONotifier * registerSleepWakeInterest(IOServiceInterestHandler handler, void * self, void * ref) argument
196 return gRootDomain->registerInterest( gIOGeneralInterest, handler, self, ref );
199 IONotifier * registerPrioritySleepWakeInterest(IOServiceInterestHandler handler, void * self, void * ref) argument
201 return gRootDomain->registerInterest( gIOPriorityPowerStateInterest, handler, self, ref );
448 // install power change handler
2181 HaltRestartLog("%s handler %p took %lu ms\n",
2184 notifier->handler, deltaTime );
2616 // When it's published we install a power state change handler.
2634 // we found the display wrangler, now install a handler
/macosx-10.5.8/xnu-1228.15.4/bsd/sys/
H A Dsysctl.h213 * be hidden behind it, expanded by the handler.
267 #define SYSCTL_OID(parent, nbr, name, kind, a1, a2, handler, fmt, descr) \
270 nbr, kind, a1, a2, #name, handler, fmt }; \
274 #define SYSCTL_NODE(parent, nbr, name, access, handler, descr) \
277 (void*)&sysctl_##parent##_##name##_children, 0, handler, \
317 #define SYSCTL_PROC(parent, nbr, name, access, ptr, arg, handler, fmt, descr) \
319 ptr, arg, handler, fmt, descr)
/macosx-10.5.8/xnu-1228.15.4/osfmk/i386/
H A Dmachine_routines.h115 IOInterruptHandler handler,
H A Dmachine_routines.c279 IOInterruptHandler handler,
287 (IOInterruptHandler) handler, refCon);
275 ml_install_interrupt_handler( void *nub, int source, void *target, IOInterruptHandler handler, void *refCon) argument
/macosx-10.5.8/xnu-1228.15.4/osfmk/ppc/
H A Dmachine_routines.h89 IOInterruptHandler handler,
H A DAltiAssist.s55 ; upon the stage detected) and redriven through the exception handler.
H A Dmachine_routines.c232 IOInterruptHandler handler,
244 proc_info->interrupt_handler = handler;
228 ml_install_interrupt_handler( void *nub, int source, void *target, IOInterruptHandler handler, void *refCon) argument
H A DPseudoKernel.c66 ** ppcInterrupHandler - interrupt handler to execute
132 if(!(bbr = (bbRupt *)kalloc(sizeof(bbRupt)))) { /* Get a return handler control block */
139 bbr->rh.handler = bbSetRupt; /* Set interruption routine */
H A Dvmachmon_asm.s191 b EXT(ppcscret) ; Go back to handler...
200 b EXT(ppcscret) ; Go back to handler...
238 b EXT(ppcscret) ; Go back to handler...
447 ; handler to deal with unstacking saveareas and ASTs, etc.
496 ; the redrive bit, the exception handler will redrive the exception as
680 b EXT(ppcscret) ; Go back to handler...
689 b EXT(ppcscret) ; Go back to handler...
697 b EXT(ppcscret) ; Go back to handler...
706 b EXT(ppcscret) ; Go back to handler...
715 b EXT(ppcscret) ; Go back to handler
[all...]
/macosx-10.5.8/xnu-1228.15.4/pexpert/pexpert/
H A Dpexpert.h126 void *target, IOInterruptHandler handler, void *refCon);
/macosx-10.5.8/xnu-1228.15.4/bsd/dev/dtrace/
H A Ddtrace_glue.c347 timer_call_add_cyclic(wrap_timer_call_t *wrapTC, cyc_handler_t *handler, cyc_time_t *when) argument
352 wrapTC->hdlr = *handler;
391 cyclic_timer_add(cyc_handler_t *handler, cyc_time_t *when) argument
397 return timer_call_add_cyclic( wrapTC, handler, when );
503 cyclic_add(cyc_handler_t *handler, cyc_time_t *when) argument
512 wrapTC->hdlr = *handler;
/macosx-10.5.8/xnu-1228.15.4/iokit/IOKit/pwr_mgt/
H A DRootDomain.h88 IOServiceInterestHandler handler,
/macosx-10.5.8/xnu-1228.15.4/osfmk/kern/
H A Dthread.h338 void (*handler)( member in struct:thread::ReturnHandler

Completed in 118 milliseconds

12