Re: dc(4) related misalignment trap

From: John Baldwin <jhb_at_freebsd.org>
Date: Mon, 21 Nov 2005 16:14:14 -0500
On Monday 21 November 2005 09:49 am, John Baldwin wrote:
> > Register s3 holds the sp variable ($2 in kgdb)
> > Register t0 holds the result the left-hand side of the statement, which
> > is not properly aligned for a 16-bit load ($7 = register t0 + 8).
> >
> > Rough patch to fix the problem attached:
>
> I think de(4) would need the same fix as well at least.

Once I fixed another bug with de(4) due to ru_at_'s recent changes I wasn't able 
to reproduce an alignment trap with de(4) on my alpha, so although I have a 
patch for de(4) I can't test it.  How are you triggering the alignment fault?  
Do you have something other than 'ifconfig_dc0="DHCP"' in /etc/rc.conf?

-- 
John Baldwin <jhb_at_FreeBSD.org>  <><  http://www.FreeBSD.org/~jhb/
"Power Users Use the Power to Serve"  =  http://www.FreeBSD.org
Received on Mon Nov 21 2005 - 20:15:05 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:48 UTC