[haiku-development] Re: where is the kBootCode's source ?

  • From: Michael Pfeiffer <michael.w.pfeiffer@xxxxxxxxx>
  • To: haiku-development@xxxxxxxxxxxxx
  • Date: Sat, 14 May 2011 20:59:08 +0200

Am 14.05.2011 um 20:41 schrieb Jonas Sundström:

> Starsseed <starsseed@xxxxxxx> wrote:
> ...
>> Now, I'd like to add traces to the MBR boot code.
> ...
>> Is it in our repository ?
> I think it's here: src/apps/bootmanager/bootman.S
> (in glorious assembly)
> I guess this code is used not only by BootManager,
> but I'm not sure who/where else.

bootman.S is the code that shows the boot menu
and boots from the selected partition.

kBootCode must be something different. 
It probably just boots the active partition.
When boot manager is installed that code
is overwritten with bootman.S.


Other related posts: