[haiku-bugs] Re: [Haiku] #6710: Large sized boot logos can prevent booting.

  • From: "bonefish" <trac@xxxxxxxxxxxx>
  • Date: Mon, 11 Oct 2010 20:08:27 -0000

#6710: Large sized boot logos can prevent booting.
---------------------------------+------------------------------------------
  Reporter:  idefix              |         Owner:  phoudoin      
      Type:  bug                 |        Status:  assigned      
  Priority:  normal              |     Milestone:  R1            
 Component:  System/Boot Loader  |       Version:  R1/Development
Resolution:                      |      Keywords:                
Blocked By:                      |   Has a Patch:  0             
  Platform:  x86                 |      Blocking:                
---------------------------------+------------------------------------------

Comment (by bonefish):

 Replying to [comment:11 phoudoin]:
 > A smart solution will be to *compute* at build time this offset.
 > But I'm not Jam fluent enough to see how to do that in correct order:
 both boot loader and tarfs add-on needs this info at build time, way
 before haik_loader is built and BuildFloppyBootImage1 called... Or at
 least that what I understood so far.

 It seems the linker script for the boot loader already defines a symbol
 `_end` (should really have a better name and definitely two underscores)
 for the aligned end of the code, so it should be rather simple to get the
 code size from within the boot loader. No jam/build magic needed.

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

Other related posts: