L4Re - L4 Runtime Environment
Interface using direct functionality.
+ Collaboration diagram for Interface using direct functionality.:

Functions

l4irq_t * l4irq_attach_cap (l4_cap_idx_t irqcap)
 Attach/connect to IRQ. More...
 
l4irq_t * l4irq_attach_cap_ft (l4_cap_idx_t irqcap, unsigned mode)
 Attach/connect to IRQ using given type. More...
 
l4irq_t * l4irq_attach_thread_cap (l4_cap_idx_t irqcap, l4_cap_idx_t to_thread)
 Attach/connect to IRQ. More...
 
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. More...
 

Detailed Description

Function Documentation

◆ l4irq_attach_cap()

l4irq_t* l4irq_attach_cap ( l4_cap_idx_t  irqcap)

Attach/connect to IRQ.

Parameters
irqcapIRQ capability
Returns
Pointer to l4irq_t structure, 0 on error

This l4irq_attach has to be called in the same thread as l4irq_wait and caller has to be a pthread thread.

◆ l4irq_attach_cap_ft()

l4irq_t* l4irq_attach_cap_ft ( l4_cap_idx_t  irqcap,
unsigned  mode 
)

Attach/connect to IRQ using given type.

Parameters
irqcapIRQ capability
modeInterrupt type,
See also
L4_irq_mode
Returns
Pointer to l4irq_t structure, 0 on error

This l4irq_attach has to be called in the same thread as l4irq_wait and caller has to be a pthread thread.

◆ l4irq_attach_thread_cap()

l4irq_t* l4irq_attach_thread_cap ( l4_cap_idx_t  irqcap,
l4_cap_idx_t  to_thread 
)

Attach/connect to IRQ.

Parameters
irqcapIRQ capability
to_threadAttach IRQ to this thread.
Returns
Pointer to l4irq_t structure, 0 on error

The pointer to the IRQ structure is used as a label in the IRQ object.

◆ l4irq_attach_thread_cap_ft()

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.

Parameters
irqcapIRQ capability
to_threadAttach IRQ to this thread.
modeInterrupt type,
See also
L4_irq_mode
Returns
Pointer to l4irq_t structure, 0 on error

The pointer to the IRQ structure is used as a label in the IRQ object.