From owner-freebsd-hackers@FreeBSD.ORG Mon Mar 22 15:20:15 2010 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 24B31106566B; Mon, 22 Mar 2010 15:20:15 +0000 (UTC) (envelope-from a_best01@uni-muenster.de) Received: from zivm-relay2.uni-muenster.de (ZIVM-RELAY2.UNI-MUENSTER.DE [128.176.192.13]) by mx1.freebsd.org (Postfix) with ESMTP id 7EDD28FC1F; Mon, 22 Mar 2010 15:20:13 +0000 (UTC) X-IronPort-AV: E=Sophos;i="4.51,287,1267398000"; d="scan'208";a="239767348" Received: from zivmaildisp1.uni-muenster.de (HELO ZIVMAILUSER04.UNI-MUENSTER.DE) ([128.176.188.85]) by zivm-relay2.uni-muenster.de with ESMTP; 22 Mar 2010 16:20:12 +0100 Received: by ZIVMAILUSER04.UNI-MUENSTER.DE (Postfix, from userid 149459) id 488371B07C1; Mon, 22 Mar 2010 16:20:12 +0100 (CET) Date: Mon, 22 Mar 2010 16:20:10 +0100 (CET) From: Alexander Best Sender: Organization: Westfaelische Wilhelms-Universitaet Muenster To: John Baldwin , Message-ID: In-Reply-To: <201003221050.32722.jhb@freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: Subject: Re: [patch] teach the bootloader minor amd64 knowledge X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 Mar 2010 15:20:15 -0000 John Baldwin schrieb am 2010-03-22: > On Monday 22 March 2010 9:50:05 am Alexander Best wrote: > > hi there, > > since i386 and amd64 are sharing the same bootcode the bootloader > > gets named > > "FreeBSD/i386" on amd64 too. the following patch is a cosmetic > > change to > have > > the bootloader identify itself as "FreeBSD/amd64" on amd64. > > any thoughts on this one? > I would not do this. They really are the same binary. You can take > a > /boot/loader built under FreeBSD/i386 and use it to load an amd64 > kernel and > vice versa. The one change I looked at doing a while back was > renaming the > i386/amd64 boot bits to identify themselves as 'FreeBSD/x86' rather > than > 'FreeBSD/i386'. sounds nice. however that would introduce some severe inconsistency, because the term 'i386' is used in many places to define the x86 architecture (uname -p/-m e.g.). also 'x86' related files/directories are called 'i386'. personally i'd like to see the term 'i386' completely replaced by 'x86' throughout the whole freebsd code. if i'm not mistaken 80386 has been dropped in GENERIC in freebsd4 and entirely in freebsd5. -- Alexander Best