Re: boot0 code mystery

2007-12-17 Thread Jeremy Chadwick
On Mon, Dec 17, 2007 at 07:16:02PM +0530, M.Girish Rao wrote: > Whats the memory location of start? I'm going off of memory of my old x86 days, so be kind to me. :-) By the look of it, it's BOOT_BOOT0_ORG, which is 0x600. I'm basing this on the flags passed to cc (actually ld) during linktime.

boot0 code mystery

2007-12-17 Thread M.Girish Rao
Hi, I am reading the code for boot0 (/usr/src/sys/boot/i386/boot0/boot0.S). This is the part i am trying to understand: /* * Initialise segments and registers to known values. * segments star