amiga_boottest

view src/intr.h @ 4:995d42b33974

serial output
author John Tsiombikas <nuclear@member.fsf.org>
date Fri, 23 Feb 2018 13:29:37 +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_ */