Module Name: src Committed By: rtr Date: Sat Jun 28 09:16:18 UTC 2014
Modified Files: src/distrib/sparc64/bootfs: boot.cfg src/sys/arch/i386/stand/boot: boot2.c src/sys/arch/i386/stand/lib: bootmenu.c bootmenu.h src/sys/arch/i386/stand/pxeboot: main.c src/sys/arch/sparc/stand/ofwboot: boot.c src/sys/arch/zaurus/stand/zboot: boot.c boot.h bootmenu.c bootmenu.h pathnames.h src/sys/lib/libsa: Makefile Added Files: src/sys/lib/libsa: bootcfg.c bootcfg.h Log Message: patch posted to tech-kern@ 2014/06/25 for review with minor changes resulting from feedback. move multiple copies of code for parsing boot.cfg file from sparc, i386 and zaurus into libsa/bootcfg.{h,c}. largely retained i386 parsing logic in addition to keeping sparc dispatch function while remaining consistent with boot.cfg(5). previous sparc64 file format has been obsoleted but only used by boot CDs distrib/sparc64/bootfs/boot.cfg has been updated to compensate. exported names have been prefixed with either BOOTCFG_ or bootcfg_ as per feedback from christos@ tested on amd64 & sparc64 but not zaurus. To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2 src/distrib/sparc64/bootfs/boot.cfg cvs rdiff -u -r1.62 -r1.63 src/sys/arch/i386/stand/boot/boot2.c cvs rdiff -u -r1.12 -r1.13 src/sys/arch/i386/stand/lib/bootmenu.c cvs rdiff -u -r1.3 -r1.4 src/sys/arch/i386/stand/lib/bootmenu.h cvs rdiff -u -r1.30 -r1.31 src/sys/arch/i386/stand/pxeboot/main.c cvs rdiff -u -r1.30 -r1.31 src/sys/arch/sparc/stand/ofwboot/boot.c cvs rdiff -u -r1.5 -r1.6 src/sys/arch/zaurus/stand/zboot/boot.c cvs rdiff -u -r1.2 -r1.3 src/sys/arch/zaurus/stand/zboot/boot.h \ src/sys/arch/zaurus/stand/zboot/bootmenu.c cvs rdiff -u -r1.1 -r1.2 src/sys/arch/zaurus/stand/zboot/bootmenu.h cvs rdiff -u -r1.3 -r1.4 src/sys/arch/zaurus/stand/zboot/pathnames.h cvs rdiff -u -r1.82 -r1.83 src/sys/lib/libsa/Makefile cvs rdiff -u -r0 -r1.1 src/sys/lib/libsa/bootcfg.c \ src/sys/lib/libsa/bootcfg.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.