OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [gdb-7.1/] [sim/] [testsuite/] [sim/] [cris/] [hw/] [rv-n-cris/] [irq3.ms] - Blame information for rev 856

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 227 jeremybenn
#mach: crisv10 crisv32
2
#sim(crisv10): --hw-device "/rv/trace? true" --hw-device "/rv/intmultiple 0xaa"
3
#sim(crisv32): --hw-device "/rv/trace? true" --hw-device "/rv/intmultiple 0xaa"
4
#output: /rv: WD\n
5
#output: /rv: REG R 0xd0000032\n
6
#output: /rv: := 0xabcdef01\n
7
#output: /rv: IRQ 0xaa\n
8
#output: /rv: IRQ 0xaa\n
9
#output: /rv: REG R 0xd0000036\n
10
#output: /rv: := 0x76543210\n
11
#output: /rv: REG R 0xd0000030\n
12
#output: /rv: IRQ 0x0\n
13
#output: /rv: := 0xeeff4455\n
14
#output: pass\n
15
 
16
# Much like irq2.ms, but modified to check same-int-port-value-twice.
17
 
18
#r W,
19
#r r,a8832,abcdef01
20
#r I,6
21
#r I,6
22
#r r,a8836,76543210
23
#r I,0
24
#r r,a8830,eeff4455
25
 
26
 .lcomm dummy,4
27
 
28
 .include "testutils.inc"
29
 start
30
 test_h_mem 0xabcdef01 0xd0000032
31
 .if ..asm.arch.cris.v32
32
 move irqvec1,$ebp
33
 .else
34
 move irqvec1,$ibr
35
 .endif
36
 ei
37
 test_h_mem 0,dummy
38
killme:
39
 fail
40
 
41
irq0xea:
42
 test_h_mem 0x76543210 0xd0000036
43
 test_h_mem 0xeeff4455 0xd0000030
44
 pass
45
 
46
 singlevec irqvec1,0xea,irq0xea

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.