00001 #include <l4/omega0/client.h> 00002 #include <omega0_proto.h> 00003 #include "internal.h" 00004 #include "config.h" 00005 00006 /* pass the right to attach to a certain irq line to another thread. */ 00007 int omega0_pass(omega0_irqdesc_t desc, l4_threadid_t new_driver){ 00008 if(!omega0_initalized && omega0_init()) return -1; 00009 00010 return omega0_call_long(0, OMEGA0_PASS, 00011 desc.i, new_driver); 00012 }