From owner-freebsd-current@FreeBSD.ORG Wed Sep 8 12:58:19 2010 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0F30910656CD for ; Wed, 8 Sep 2010 12:58:19 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from cyrus.watson.org (cyrus.watson.org [65.122.17.42]) by mx1.freebsd.org (Postfix) with ESMTP id D27128FC16 for ; Wed, 8 Sep 2010 12:58:18 +0000 (UTC) Received: from bigwig.baldwin.cx (66.111.2.69.static.nyinternet.net [66.111.2.69]) by cyrus.watson.org (Postfix) with ESMTPSA id 7577846BA9; Wed, 8 Sep 2010 08:58:18 -0400 (EDT) Received: from jhbbsd.localnet (smtp.hudson-trading.com [209.249.190.9]) by bigwig.baldwin.cx (Postfix) with ESMTPSA id 78BB48A03C; Wed, 8 Sep 2010 08:58:14 -0400 (EDT) From: John Baldwin To: freebsd-current@freebsd.org Date: Wed, 8 Sep 2010 08:55:09 -0400 User-Agent: KMail/1.13.5 (FreeBSD/7.3-CBSD-20100819; KDE/4.4.5; amd64; ; ) References: <4C770BB9.2070900@delphij.net> <201008270934.56323.jhb@freebsd.org> In-Reply-To: MIME-Version: 1.0 Content-Type: Text/Plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <201009080855.09578.jhb@freebsd.org> X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.0.1 (bigwig.baldwin.cx); Wed, 08 Sep 2010 08:58:14 -0400 (EDT) X-Virus-Scanned: clamav-milter 0.95.1 at bigwig.baldwin.cx X-Virus-Status: Clean X-Spam-Status: No, score=-2.6 required=4.2 tests=AWL,BAYES_00 autolearn=ham version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on bigwig.baldwin.cx Cc: Marcin Cieslak Subject: Re: [PATCH] Use MACHINE_ARCH for boot loader X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 08 Sep 2010 12:58:19 -0000 On Tuesday, September 07, 2010 11:52:36 am Marcin Cieslak wrote: > Dnia 27.08.2010 John Baldwin napisa=C5=82/a: > > On Thursday, August 26, 2010 8:50:01 pm Xin LI wrote: > >> Hi, > >>=20 > >> The attached patch changes FreeBSD/x86 back to FreeBSD/i386 on i386 and > >> FreeBSD/amd64 on amd64. > >>=20 > >> 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 co= ntinue=20 > > to do that rather than this change. >=20 > 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). >=20 > 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. =2D-=20 John Baldwin