29typedef struct l4irq_t l4irq_t;
167 int irq_thread_prio,
unsigned mode);
267 void (*isr_handler)(
void *),
void *isr_data,
268 int irq_thread_prio,
unsigned mode);
L4 compiler related defines.
unsigned long l4_cap_idx_t
Capability selector type.
l4irq_t * l4irq_request_cap(l4_cap_idx_t irqcap, void(*isr_handler)(void *), void *isr_data, int irq_thread_prio, unsigned mode)
Attach asychronous ISR handler to IRQ.
l4irq_t * l4irq_request(int irqnum, void(*isr_handler)(void *), void *isr_data, int irq_thread_prio, unsigned mode)
Attach asychronous ISR handler to IRQ.
long l4irq_release(l4irq_t *irq)
Release asynchronous ISR handler and free resources.
l4irq_t * l4irq_attach_cap(l4_cap_idx_t irqcap)
Attach/connect to IRQ.
l4irq_t * l4irq_attach_thread_cap(l4_cap_idx_t irqcap, l4_cap_idx_t to_thread)
Attach/connect to IRQ.
l4irq_t * l4irq_attach_thread_cap_ft(l4_cap_idx_t irqcap, l4_cap_idx_t to_thread, unsigned mode)
Attach/connect to IRQ using given type.
l4irq_t * l4irq_attach_cap_ft(l4_cap_idx_t irqcap, unsigned mode)
Attach/connect to IRQ using given type.
l4irq_t * l4irq_attach_thread_ft(int irqnum, l4_cap_idx_t to_thread, unsigned mode)
Attach/connect to IRQ using given type.
long l4irq_wait_any(l4irq_t **irq)
Wait for any attached IRQ.
l4irq_t * l4irq_attach_thread(int irqnum, l4_cap_idx_t to_thread)
Attach/connect to IRQ.
long l4irq_unmask_and_wait_any(l4irq_t *unmask_irq, l4irq_t **ret_irq)
Unmask a specific IRQ and wait for any attached IRQ.
l4irq_t * l4irq_attach(int irqnum)
Attach/connect to IRQ.
long l4irq_detach(l4irq_t *irq)
Detach from IRQ.
long l4irq_wait(l4irq_t *irq)
Wait for specified IRQ.
l4irq_t * l4irq_attach_ft(int irqnum, unsigned mode)
Attach/connect to IRQ using given type.
long l4irq_unmask(l4irq_t *irq)
Unmask a specific IRQ.
#define __END_DECLS
End section with C types and functions.
#define L4_CV
Define calling convention.
#define __BEGIN_DECLS
Start section with C types and functions.
Common L4 ABI Data Types.