minix/kernel/arch/arm/io_intr.S
2012-10-07 21:38:03 -04:00

14 lines
241 B
ArmAsm

/* intr_disable(), intr_enable - Disable/Enable hardware interrupts. */
/* void intr_disable(void); */
/* void intr_enable(void); */
#include <machine/asm.h>
ENTRY(intr_disable)
dsb
cpsid i
bx lr
ENTRY(intr_enable)
dsb
cpsie i
bx lr