From owner-cvs-all Thu Jan 27 13:21: 5 2000 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id A610F15728; Thu, 27 Jan 2000 13:21:02 -0800 (PST) (envelope-from jhb@FreeBSD.org) Received: (from jhb@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id NAA71655; Thu, 27 Jan 2000 13:21:02 -0800 (PST) (envelope-from jhb@FreeBSD.org) Message-Id: <200001272121.NAA71655@freefall.freebsd.org> From: John Baldwin Date: Thu, 27 Jan 2000 13:21:02 -0800 (PST) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/boot/i386 Makefile src/sys/boot/i386/btx/btxldr btxldr.s src/sys/boot/i386/cdldr Makefile cdldr.s src/sys/boot/i386/loader Makefile main.c Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk jhb 2000/01/27 13:21:02 PST Modified files: sys/boot/i386 Makefile sys/boot/i386/btx/btxldr btxldr.s sys/boot/i386/loader Makefile main.c Added files: sys/boot/i386/cdldr Makefile cdldr.s Log: Add the new cdldr CD bootstrap loader. This patch includes the following: - Fix btxldr to preserve a NULL bootinfo pointer when it copies the kernel arguments. - Add the cdldr bootstrap program. This program is tacked onto the beginning of the standard 3rd stage boot loader (/boot/loader) to form the CD boot loader (/boot/cdboot). When a CD is booted, the cdboot file is copied into memory instead and executed. The cdldr stub emulates the environment normally provided by boot2 and then starts the loader. This booting method does not emulate a floppy drive, but boots directly off of the CD. This should fix the problems some BIOS's have with emulating a 2.88 MB floppy image. - Add support to the loader to recognize that it has been booted by cdldr instead of boot2 and use a simpler method of extracting the BIOS boot device. Revision Changes Path 1.11 +2 -2 src/sys/boot/i386/Makefile 1.8 +5 -3 src/sys/boot/i386/btx/btxldr/btxldr.s 1.38 +8 -2 src/sys/boot/i386/loader/Makefile 1.17 +10 -3 src/sys/boot/i386/loader/main.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message