Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 22 Mar 2010 10:50:32 -0400
From:      John Baldwin <jhb@freebsd.org>
To:        freebsd-hackers@freebsd.org
Cc:        Alexander Best <alexbestms@wwu.de>
Subject:   Re: [patch] teach the bootloader minor amd64 knowledge
Message-ID:  <201003221050.32722.jhb@freebsd.org>
In-Reply-To: <permail-20100322135005f7e55a9d000043cf-a_best01@message-id.uni-muenster.de>
References:  <permail-20100322135005f7e55a9d000043cf-a_best01@message-id.uni-muenster.de>

next in thread | previous in thread | raw e-mail | index | archive | help
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'.

-- 
John Baldwin



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201003221050.32722.jhb>