minix/kernel/arch/i386/io_intr.S
Arun Thomas 9a21d1a2fd Macros for symbols used in both ASM and C
-The macros take care of prepending the leading underscore when
 necessary.
2010-08-17 16:44:07 +00:00

14 lines
276 B
ArmAsm

/* intr_disable(), intr_enable - Disable/Enable hardware interrupts. */
/* Author: Kees J. Bot */
/* 18 Mar 1996 */
/* void intr_disable(void); */
/* void intr_enable(void); */
#include <machine/asm.h>
ENTRY(intr_disable)
cli
ret
ENTRY(intr_enable)
sti
ret