On Wed, Sep 16, 2009 at 05:42:37PM +0100, Server wrote:
> Here is the Haret log for this version..
[...]
> Trampoline setup (tram=...@0x2bdfc/3202bdfc/00df4dfc)
> MMU setup: mmu=0xa0330000/00630000
> Go Go Go...
> Terminating haret due to unhandled exception (pc=00df4e58)

So, it crashed at:

1:      @ Code is running at a vm address that is the same as its
        @ physical address.  Now disable the MMU.
        nop

This means that haret was unable to map the "trampoline" code to the
same physical and virtual address.  This is done earlier in the
mmu_trampoline function:

        @ Turn off mapping for this code
        mov     r1, r4, lsr #20
        mov     r0, r1, asl #20         @ r0 = funcaddr & 0xfff00000
        orr     r0, r0, #0x00000C00
        orr     r0, r0, #0x00000002     @ r0 |= 0xC02
        str     r0, [r5, r1, asl #2]    @ mmu[funcaddr>>20] = r0

I'm not sure why it didn't work.  Maybe the output of "dump mmu 1"
will indicate something.

-Kevin
_______________________________________________
Haret mailing list
[email protected]
https://handhelds.org/mailman/listinfo/haret

Reply via email to