[haiku-bugs] Re: [Haiku] #4028: Hybrid GPT/MBR Initial Program Loader

#4028: Hybrid GPT/MBR Initial Program Loader
----------------------------+---------------------------
   Reporter:  meianoite     |      Owner:  axeld
       Type:  enhancement   |     Status:  new
   Priority:  normal        |  Milestone:  R1
  Component:  File Systems  |    Version:  R1/pre-alpha1
 Resolution:                |   Keywords:
 Blocked By:                |   Blocking:
Has a Patch:  1             |   Platform:  All
----------------------------+---------------------------

Comment (by bonefish):

 Replying to [comment:10 meianoite]:
 > Here it is. One thing, however: writembr hasn't been ''written'' yet
 (see #5595). Moreover, I have no idea where the shared header should
 reside. I suppose the header would contain just the kBootCode array, so
 it's probably just a matter of excising it from PartitionMapWriter.cpp.

 If the assembly code can be munged by one of the assemblers the build
 system already uses (gcc/gas and, for x86, yasm), please do not add the
 compiled code in any form. There's the jam rule `DataFileToSourceFile` to
 create a source file defining an array from a binary file. It is already
 used in a similar case in `src/apps/bootmanager/Jamfile`.

-- 
Ticket URL: <http://dev.haiku-os.org/ticket/4028#comment:11>
Haiku <http://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: