jump from kernel to loader

Ryan Sommers ryans at gamersimpact.com
Wed Sep 22 06:25:51 PDT 2004


vijay singh said:
> hello, i have some exposure to the freebsd code, but not extensive. i am
> reading the sys/boot code, and saw that the 3 stage boot process involves
> a
> jump from the loader to the kernel in the last phase. i was wondering if
> it
> is possible to engineer the kernel to jump back to the loader in some
> special cases?
>
> kindly cc me as i am not on the list.
>
> br
> vijay
>

It is my understanding that after jumping to the kernel the kernel assumes
control of all of memory, including where the loader is currently loaded.
In that case it would be impossible to jump back to the loader without
first being sure to reload it into memory.

I could be wrong on this however.

-- 
Ryan Sommers
ryans at gamersimpact.com




More information about the freebsd-hackers mailing list