20#include <l4/util/port_io.h>
35 __asm__ __volatile__ (
"cli" : : :
"memory");
43 __asm__ __volatile__ (
"sti" : : :
"memory");
52 __asm__ __volatile__ (
"pushfl ; popl %0 " :
"=g" (*flags) : :
"memory");
60 __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 __END_DECLS
End section with C types and functions.
#define L4_INLINE
L4 Inline function attribute.
#define __BEGIN_DECLS
Start 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.