Subject: Re: Cause of fpu trap with current, was Re: fpu trap with current
To: Bruce ONeel <edoneel@sdf.lonestar.org>
From: John Klos <john@ziaspace.com>
List: port-mac68k
Date: 01/13/2004 13:55:01
Hi,

> Well, I've found the cause.
>
> In sys/arch/mac68k/mac68k/machdep.c in the routine
> cpu_startup(void) there is a call to
> m68k_make_fpu_idle_frame();
>
> which is fatal if you don't have a FPU.
>
> The code is:
>         if (fputype != FPU_NONE)
> 	        m68k_make_fpu_idle_frame();

When I have a few minutes, I'll look into this and try to figure out what
the RTTD is (kernel config option?) and fix this, unless someone beats me
to it.

John Klos