filename | test/interrupt.s |
changeset | 815:866c103d72cd |
prev | 233:f8333b94f503 |
author | nkeynes |
date | Fri May 29 18:47:05 2015 +1000 (8 years ago) |
permissions | -rw-r--r-- |
last change | Fix test case |
file | annotate | diff | log | raw |
1.1 --- a/test/interrupt.s Wed Sep 27 10:21:34 2006 +00001.2 +++ b/test/interrupt.s Fri May 29 18:47:05 2015 +10001.3 @@ -265,3 +265,35 @@1.4 handler_stack:1.5 .skip 0x2001.6 handler_stack_end:1.7 +1.8 +1.9 +.globl _irq_disable1.10 +_irq_disable:1.11 + mov.l _irqd_and,r11.12 + mov.l _irqd_or,r21.13 + stc sr,r01.14 + and r0,r11.15 + or r2,r11.16 + ldc r1,sr1.17 + rts1.18 + nop1.19 +1.20 + .align 21.21 +_irqd_and:1.22 + .long 0xefffff0f1.23 +_irqd_or:1.24 + .long 0x000000f01.25 +1.26 +1.27 +.globl _irq_enable1.28 +_irq_enable:1.29 + mov.l _irqe_and,r11.30 + stc sr,r01.31 + and r0,r11.32 + ldc r1,sr1.33 + rts1.34 + nop1.35 +1.36 + .align 21.37 +_irqe_and:1.38 + .long 0xefffff0f
.