minix/kernel/arch/i386/io_intr.S

15 lines
276 B
ArmAsm
Raw Normal View History

/* 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