amiga_boottest

view src/intr.h @ 1:48093e4bd99a

stuff
author John Tsiombikas <nuclear@member.fsf.org>
date Wed, 21 Feb 2018 18:00:45 +0200
parents
children
line source
1 #ifndef INTR_H_
2 #define INTR_H_
4 #define enable_intr() asm volatile ("andi.w #0xf8ff, %sr")
5 #define disable_intr() asm volatile ("ori.w #0x0300, %sr")
7 #endif /* INTR_H_ */