Functions | |
L4_CV l4_threadid_t | l4util_create_thread (int thread_no, void(*function)(void), void *stack) |
Create an L4 thread. | |
L4_CV l4_threadid_t | l4util_attach_interrupt (int irq) |
Attach to hardware interrupt. | |
L4_CV void | l4util_detach_interrupt (void) |
Detach from hardware interrupt. |
L4_CV l4_threadid_t l4util_create_thread | ( | int | thread_no, | |
void(*)(void) | function, | |||
void * | stack | |||
) |
Create an L4 thread.
thread_no | number of thread to create | |
function | thread code | |
stack | initial value of stack pointer |
L4_CV l4_threadid_t l4util_attach_interrupt | ( | int | irq | ) |
Attach to hardware interrupt.
irq | number of IRQ to attach to |