17 lines
276 B
ArmAsm
17 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);
|
||
|
|
||
|
.sect .text
|
||
|
.define _intr_disable
|
||
|
_intr_disable:
|
||
|
cli
|
||
|
ret
|
||
|
|
||
|
.define _intr_enable
|
||
|
_intr_enable:
|
||
|
sti
|
||
|
ret
|