b1c4ba4ab6
Due to the ABI we are using we have to use the earm architecture moniker for the build system to behave correctly. This involves then some headers to move around. There is also a few related Makefile updates as well as minor source code corrections.
14 lines
241 B
ArmAsm
14 lines
241 B
ArmAsm
/* intr_disable(), intr_enable - Disable/Enable hardware interrupts. */
|
|
/* void intr_disable(void); */
|
|
/* void intr_enable(void); */
|
|
#include <machine/asm.h>
|
|
|
|
ENTRY(intr_disable)
|
|
dsb
|
|
cpsid i
|
|
bx lr
|
|
|
|
ENTRY(intr_enable)
|
|
dsb
|
|
cpsie i
|
|
bx lr
|