22#include <l4/util/port_io.h>
37 __asm__ __volatile__ (
"cli" : : :
"memory");
45 __asm__ __volatile__ (
"sti" : : :
"memory");
54 __asm__ __volatile__ (
"pushfl ; popl %0 " :
"=g" (*flags) : :
"memory");
62 __asm__ __volatile__ (
"pushl %0 ; popfl" : :
"g" (*flags) :
"memory");
void l4util_irq_acknowledge(unsigned int irq)
Acknowledge IRQ at PIC in fully special nested mode.
L4 compiler related defines.
unsigned long l4_umword_t
Unsigned machine word.
#define L4_INLINE
L4 Inline function attribute.
#define EXTERN_C_BEGIN
Start section with C types and functions.
#define EXTERN_C_END
End section with C types and functions.
void l4util_out8(l4_uint8_t value, l4_uint16_t port)
Write byte to I/O port.
l4_uint8_t l4util_in8(l4_uint16_t port)
Read byte from I/O port.