Port-amd64 archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: help needed for creating a patch for NetBSD-4
On Thu, Jun 14, 2012 at 09:49:47PM +0000, S.P.Zeidler wrote:
> Hi,
>
> I've been trying to create a patch for NetBSD-4 from the patch in here:
> http://releng.netbsd.org/cgi-bin/req-5.cgi?show=1772
>
> I got something that compiles (which is better than I expected), but
> panics when booting:
...
> gs 0
I'd guess an extra 'swapgs' has been done.
The code changes aren't that simple.
IIRC the order the registers got saved and restored changed, possibly
the entire stack frame layout.
I had to change -5 to load the segment registers just before the iret,
-4 probably contains the even earlier version of those structure.
(cvsweb@ is down - can't check sources).
David
--
David Laight: david%l8s.co.uk@localhost
Home |
Main Index |
Thread Index |
Old Index