Hi Geert, Thanks for that info, I didn't know about that Amiga port. I've looked into that implementation and it's similar to what I've done. But as far as I can tell the code is also incomplete (the trap_c function doesn't distinguish who caused the trap because pt_regs->format and pt_regs->vector are pointing to some random values).
Is the Amiga development active? I can see that the last commit was about 1 year ago. Thanks and regards, Luis Alves On Fri, May 4, 2012 at 11:58 AM, Geert Uytterhoeven <ge...@linux-m68k.org> wrote: > On Fri, May 4, 2012 at 11:48 AM, Luis Alves <lja...@gmail.com> wrote: >> Also, the existing trap exception code doesn't work with 68000 cpu's >> since they don't provide the vector in the stack. > > arch/m68k/kernel/entry_mm.S (yes, _mm, as Amiga platform code is based > on the m68k "mm" framework) from > http://git.kernel.org/?p=linux/kernel/git/geert/linux-m68k.git;a=shortlog;h=refs/heads/uamiga-untested > should have trap support for 68000. > Never tested on real hardware, though. > > Gr{oetje,eeting}s, > > Geert > > -- > Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- > ge...@linux-m68k.org > > In personal conversations with technical people, I call myself a hacker. But > when I'm talking to journalists I just say "programmer" or something like > that. > -- Linus Torvalds _______________________________________________ uClinux-dev mailing list uClinux-dev@uclinux.org http://mailman.uclinux.org/mailman/listinfo/uclinux-dev This message was resent by uclinux-dev@uclinux.org To unsubscribe see: http://mailman.uclinux.org/mailman/options/uclinux-dev