Module Name: src Committed By: drochner Date: Thu Jan 14 17:49:32 UTC 2010
Modified Files: src/sys/arch/i386/stand/boot: boot2.c src/sys/arch/i386/stand/lib: boot_params.S src/sys/arch/i386/stand/pxeboot: Makefile main.c src/sys/sys: bootblock.h src/usr.sbin/installboot: installboot.8 installboot.c installboot.h src/usr.sbin/installboot/arch: i386.c Log Message: On i386/amd64, define two flag bits in the boot parameters which control whether modules are loaded and whether boot.cfg is evaluated, and set both to "off" per default in the PXE bootloader. Extend "installboot" to toggle the bits. This way, pxeboot works with existing dhcp server setups (and as described in the manpage) out of the box. Also, boot.cfg reading involves a stat() call which is horribly inefficient with the TFTP pseudo file system. To generate a diff of this commit: cvs rdiff -u -r1.45 -r1.46 src/sys/arch/i386/stand/boot/boot2.c cvs rdiff -u -r1.4 -r1.5 src/sys/arch/i386/stand/lib/boot_params.S cvs rdiff -u -r1.17 -r1.18 src/sys/arch/i386/stand/pxeboot/Makefile cvs rdiff -u -r1.22 -r1.23 src/sys/arch/i386/stand/pxeboot/main.c cvs rdiff -u -r1.48 -r1.49 src/sys/sys/bootblock.h cvs rdiff -u -r1.73 -r1.74 src/usr.sbin/installboot/installboot.8 cvs rdiff -u -r1.33 -r1.34 src/usr.sbin/installboot/installboot.c cvs rdiff -u -r1.36 -r1.37 src/usr.sbin/installboot/installboot.h cvs rdiff -u -r1.34 -r1.35 src/usr.sbin/installboot/arch/i386.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.