fixed irq macro definition

This commit is contained in:
Markus Fröschle
2012-11-04 16:18:14 +00:00
parent f0e53a7f94
commit 43d20c0e14

View File

@@ -140,10 +140,10 @@
btst #7,d0 btst #7,d0
bne irq_protect // ja-> bne irq_protect // ja->
// ------------------------------------------- // -------------------------------------------
movem.l (a7),d0/a5 // register zur<EFBFBD>ck movem.l (a7),d0/a5 // register zurück
addq.l #8,a7 addq.l #8,a7
move.l \vector,-(a7) move.l \vector,-(a7)
move #0x2200,sr move #0x2\int_mask\()00,sr
rts rts
irq_protect: irq_protect:
move.l usp,a5 // usp holen move.l usp,a5 // usp holen