[haiku-commits] Re: haiku: hrev49240 - src/add-ons/kernel/partitioning_systems/intel

  • From: Jessica Hamilton <jessica.l.hamilton@xxxxxxxxx>
  • To: "haiku-commits@xxxxxxxxxxxxx" <haiku-commits@xxxxxxxxxxxxx>
  • Date: Thu, 4 Jun 2015 23:24:11 +1200

On 4 June 2015 at 22:17, Axel Dörfler <axeld@xxxxxxxxxxxxxxxx> wrote:

Am 04.06.2015 um 08:36 schrieb jessica.l.hamilton@xxxxxxxxx:

* There is no need for the Intel partitioning system to write MBR
bootcode on non-x86 systems


Why not?
Just because you do that work on a non-x86 machine, it doesn't mean you
don't want to boot that partition on an x86 machine.

Hmm, I suppose that's a possibility.

Unless I'm missing something when using gcc as, one can't compile x86
assembly with the ARM toolchain, etc.; so it'd require rewriting the
new mbr.S for NASM, or alternatively, perhaps going back to YASM which
I think can handle AT&T syntax? Which would mean requiring both NASM
and YASM IIRC.

Other related posts: