Hello,
I am writing an article about FreeBSD's startup
and kernel init
(it is at http://oasis.uptsoft.com/~devnull/dh/boot.html
for whom it may be interesting)
I am stucked at two lines in locore.s (IA 32 arch)

/usr/src/sys/i386/i386/locore.s:

        pushl   $begin                          /* jump to high virtualized address */
        ret

/* now running relocated at KERNBASE where the system is linked to run */
begin:
        /* set up bootstrap stack */

My question is:
why this is done. My understanding was that the loader
loaded the kernel at high virtual address already,
so there's no need to jump.

Thanks,
-sergey

-- 
Sergey Lyubka
Asita Technologies Int, Galway, Ireland

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message

Reply via email to