[PATCH] Use MACHINE_ARCH for boot loader

Marcin Cieslak saper at saper.info
Tue Sep 7 15:52:51 UTC 2010


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.

-- 
              << Marcin Cieslak // saper at saper.info >>



More information about the freebsd-current mailing list