Subject: Re: Cause of fpu trap with current, was Re: fpu trap with current from 2 Jan
To: John Klos <john@ziaspace.com>
From: David Rogers <davidrogers23@earthlink.net>
List: port-mac68k
Date: 01/13/2004 13:01:19
I guess my last messages didn't make it through.

Since 12/30, significant changes were made to 
sys/arch/mac68k/mac68k/machdep.c and sys/arch/m68k/m68k/switch_subr.s.  
Those are the only changes made since 12/28 which is the latest kernel 
that I can boot.  These could be a good place to look.

dave

On Jan 13, 2004, at 12:55 PM, John Klos wrote:

> 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
>