Re: [PATCH] Use MACHINE_ARCH for boot loader

From: John Baldwin <jhb_at_freebsd.org>
Date: Wed, 8 Sep 2010 08:55:09 -0400
On Tuesday, September 07, 2010 11:52:36 am Marcin Cieslak wrote:
> Dnia 27.08.2010 John Baldwin <jhb_at_freebsd.org> napisaƂ/a:
> > On Thursday, August 26, 2010 8:50:01 pm Xin LI wrote:
> >> Hi,
> >> 
> >> The attached patch changes FreeBSD/x86 back to FreeBSD/i386 on i386 and
> >> FreeBSD/amd64 on amd64.
> >> 
> >> Comments welcome!  I'll commit it in by the weekend if there is no
> >> objection on this.
> >
> > As others have noted, the 'x86' is on purpose, and I would rather it continue 
> > to do that rather than this change.
> 
> Not sure about it, the loader and boot block are 32-bit code, aren't they?
> (That actually made me to hack some patches to make ficl 64-bit, but that's
> another story).
> 
> So I think i386 is better designation for pure 32-bit code I think.

It actually is not pure 32-bit as there is a small bit of 64-bit code to
transfer from the loader to the kernel in the loader.

-- 
John Baldwin
Received on Wed Sep 08 2010 - 10:58:19 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:07 UTC