silly mistake.

However, I have generate binary file and vmem file. Now exceptions are in
correct place but processor hangs.

The last commands read from memory are:
84 c4 00 00
d7 e1 4f fc
a4 c6 00 01

and this commands are from die_if_kernel
c0004734 <die_if_kernel>:
c0004734:       84 c4 00 00     l.lwz r6,0x0(r4)
c0004738:       d7 e1 4f fc     l.sw 0xfffffffc(r1),r9
c000473c:       a4 c6 00 01     l.andi r6,r6,0x1
c0004740:       bc 06 00 00     l.sfeqi r6,0x0
c0004744:       0c 00 00 06     l.bnf c000475c <die_if_kernel+0x28>
c0004748:       9c 21 ff fc     l.addi r1,r1,0xfffffffc
c000474c:       9c 21 00 04     l.addi r1,r1,0x4
c0004750:       85 21 ff fc     l.lwz r9,0xfffffffc(r1)
c0004754:       44 00 48 00     l.jr r9
c0004758:       15 00 00 00     l.nop 0x0
c000475c:       9c 21 00 04     l.addi r1,r1,0x4
c0004760:       85 21 ff fc     l.lwz r9,0xfffffffc(r1)
c0004764:       03 ff ff d8     l.j c00046c4 <die>
c0004768:       15 00 00 00     l.nop 0x0

Piotr



--
View this message in context: 
http://openrisc.2316802.n4.nabble.com/Simple-linux-with-OR1200-tp4641978p4641983.html
Sent from the OpenRISC mailing list archive at Nabble.com.
_______________________________________________
OpenRISC mailing list
[email protected]
http://lists.openrisc.net/listinfo/openrisc

Reply via email to