2010-03-03 15:27:30 +01:00
|
|
|
/* intr_disable(), intr_enable - Disable/Enable hardware interrupts. */
|
|
|
|
/* Author: Kees J. Bot */
|
|
|
|
/* 18 Mar 1996 */
|
|
|
|
/* void intr_disable(void); */
|
|
|
|
/* void intr_enable(void); */
|
2010-08-17 18:44:07 +02:00
|
|
|
#include <machine/asm.h>
|
2010-03-03 15:27:30 +01:00
|
|
|
|
2010-08-17 18:44:07 +02:00
|
|
|
ENTRY(intr_disable)
|
2010-03-03 15:27:30 +01:00
|
|
|
cli
|
|
|
|
ret
|
|
|
|
|
2010-08-17 18:44:07 +02:00
|
|
|
ENTRY(intr_enable)
|
2010-03-03 15:27:30 +01:00
|
|
|
sti
|
|
|
|
ret
|