amiga_boottest

annotate src/intr.h @ 1:48093e4bd99a

stuff
author John Tsiombikas <nuclear@member.fsf.org>
date Wed, 21 Feb 2018 18:00:45 +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_ */