minix/kernel/arch/arm/io_intr.S

15 lines
241 B
ArmAsm
Raw Normal View History

2012-10-08 03:38:03 +02:00
/* 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