Subject: Re: illegal instruction trap booting -current kernel
To: Frederick Bruckman <fredb@immanent.net>
From: John Klos <john@sixgirls.org>
List: port-mac68k
Date: 03/05/2003 01:00:29
Hi,

> > 0x37ac seems to be the "fnop" after the "fmovecrx #15,%fp0" in
> > sys/arch/m68k/m68k/switch_subr.s. (maybe the fmovecrx is the problem?)
>
> I bet! fmovecrx is emulated on the 68040. Not good.
>
> > With the following change the kernel boots.
>
> Taking a hint from fpsp, I tried this, instead...

> +	/* Loading '0.0' will change FPU to "idle". */
> +	fmove.x	#0,%fp0

As we all like bootable and working source trees, I've committed this.
How'd it get broken in the first place is what I'd like to know...

Thanks,
John Klos
Sixgirls Computing Labs