Date: Fri, 29 Mar 2002 23:32:08 -0800 (PST) From: Marcel Moolenaar <marcel@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/boot/efi/loader main.c Message-ID: <200203300732.g2U7W8153912@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
marcel 2002/03/29 23:32:08 PST
Modified files:
sys/boot/efi/loader main.c
Log:
Add a quick and dirty way to determine where we're loaded from. We
only care if it's network or not at this time. If we're loaded from
the network, we set currdev (=loaddev) so that the kernel is loaded
from the network as well. In all other cases we initialize to disk.
This makes netbooting more convenient and can easily be enhanced to
do more elaborate checking.
Revision Changes Path
1.10 +29 -9 src/sys/boot/efi/loader/main.c
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200203300732.g2U7W8153912>
