4 * Copyright 2005 Develer S.r.l. (http://www.develer.com/)
5 * This file is part of DevLib - See README.devlib for information.
8 * \brief Events handling implementation
12 * \author Giovanni Bajo <rasky@develer.com>
17 *#* Revision 1.2 2006/02/10 12:24:42 bernie
18 *#* Fix standalone build.
20 *#* Revision 1.1 2005/11/27 01:39:48 bernie
21 *#* Move event.[ch] from kern/ to mware/.
23 *#* Revision 1.2 2005/11/04 16:20:02 bernie
24 *#* Fix reference to README.devlib in header.
26 *#* Revision 1.1 2005/01/24 04:19:06 bernie
27 *#* Function pointer based event dispatching.
29 *#* Revision 1.1 2005/01/18 19:39:42 rasky
30 *#* Cambiata la logica di dispatching degli eventi: si utilizza puntatori a funzione invece di inlinare i controlli
36 void event_hook_ignore(UNUSED_ARG(Event *, e))
40 #if defined(CONFIG_KERN_SIGNALS) && CONFIG_KERN_SIGNALS
41 void event_hook_signal(Event *e)
43 sig_signal((e)->Ev.Sig.sig_proc, (e)->Ev.Sig.sig_bit);
47 void event_hook_softint(Event *e)
49 e->Ev.Int.func(e->Ev.Int.user_data);