amiga_boottest

annotate src/intr.h @ 2:58ebd84822e7

it works
author John Tsiombikas <nuclear@member.fsf.org>
date Thu, 22 Feb 2018 12:44:20 +0200
parents
children
rev   line source
nuclear@1 1 #ifndef INTR_H_
nuclear@1 2 #define INTR_H_
nuclear@1 3
nuclear@1 4 #define enable_intr() asm volatile ("andi.w #0xf8ff, %sr")
nuclear@1 5 #define disable_intr() asm volatile ("ori.w #0x0300, %sr")
nuclear@1 6
nuclear@1 7 #endif /* INTR_H_ */