Date: Wed, 22 Sep 2004 07:32:31 -0600 (MDT) From: "Ryan Sommers" <ryans@gamersimpact.com> To: "vijay singh" <vijju_s@hotmail.com> Cc: freebsd-hackers@freebsd.org Subject: Re: jump from kernel to loader Message-ID: <1115.216.160.49.134.1095859951.squirrel@www2.neuroflux.com> In-Reply-To: <BAY13-F6iw5Y5z4IssC000569cd@hotmail.com> References: <BAY13-F6iw5Y5z4IssC000569cd@hotmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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@gamersimpact.com
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1115.216.160.49.134.1095859951.squirrel>