9a21d1a2fd
-The macros take care of prepending the leading underscore when necessary.
14 lines
276 B
ArmAsm
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
|