
5 Jul
2005
5 Jul
'05
4:34 p.m.
Richard Danter wrote:
fff036d8 mr r11,r31 fff036dc subi r31,r31,4 fff036e0 stw r25,__fixup_entries(r11) <== Crash here *((ulong *) addr_sp)-- = 0; debug ("Stack Pointer at: %08lx\n", addr_sp); fff036e4 lwz r3,-0x7FC0(r30) fff036e8 stw r25,__fixup_entries(r31) fff036ec subi r31,r31,4 fff036f0 mr r4,r31 fff036f4 crclr cr6 fff036f8 bl printf
When I step through the instruction at fff036e0 I end up at 700, which is the Program Exception vector (srr0 = 0x800, srr1 = 80000) which implies an illegal instruction?
The problem was a typo in my config file. Was loading DBAT0 with the values from IBAT1 instead of IBAT0.
Rich