From owner-cvs-all Fri Mar 29 23:32:13 2002 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (unknown [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id CD4FD37B405; Fri, 29 Mar 2002 23:32:08 -0800 (PST) Received: (from marcel@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g2U7W8153912; Fri, 29 Mar 2002 23:32:08 -0800 (PST) (envelope-from marcel) Message-Id: <200203300732.g2U7W8153912@freefall.freebsd.org> From: Marcel Moolenaar Date: Fri, 29 Mar 2002 23:32:08 -0800 (PST) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/boot/efi/loader main.c X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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