freebsd-skq/sys/boot/i386
jhb 288d581e55 Fix boot2 to handle boot config files that only contain a custom path to
a loader or kernel.  Specifically, kname cannot be pointed at cmd[] since
it's value is change to be an empty string after the initial call to
parse, and cmd[]'s value can be changed (thus losing a prior setting for
kname) due to user input at the boot prompt.  While here, ensure that that
initial boot config file text is nul-terminated, that ops is initialized
to zero, and that kname is always initialized to a valid string.

Tested by:	Domagoj Smolcic  rank1seeker of gmail
MFC after:	1 week
2012-03-05 19:53:17 +00:00
..
boot0 Define several extra macros in bsd.sys.mk and sys/conf/kern.pre.mk, to 2012-02-28 18:30:18 +00:00
boot0ext
boot0sio
boot2 Fix boot2 to handle boot config files that only contain a custom path to 2012-03-05 19:53:17 +00:00
btx Define several extra macros in bsd.sys.mk and sys/conf/kern.pre.mk, to 2012-02-28 18:30:18 +00:00
cdboot Remove duplicate "in". 2011-03-01 11:47:51 +00:00
common - Add a new header for the x86 boot code that defines various structures 2011-10-25 19:54:06 +00:00
efi
gptboot Define several extra macros in bsd.sys.mk and sys/conf/kern.pre.mk, to 2012-02-28 18:30:18 +00:00
gptzfsboot Define several extra macros in bsd.sys.mk and sys/conf/kern.pre.mk, to 2012-02-28 18:30:18 +00:00
kgzldr
libfirewire
libi386 Fix a long standing bug. The caller expects a non-zero value for success. 2012-02-29 18:11:33 +00:00
loader - Whitespaces fixed only 2011-11-19 14:42:06 +00:00
mbr
pmbr
pxeldr Define several extra macros in bsd.sys.mk and sys/conf/kern.pre.mk, to 2012-02-28 18:30:18 +00:00
zfsboot Define several extra macros in bsd.sys.mk and sys/conf/kern.pre.mk, to 2012-02-28 18:30:18 +00:00
zfsloader
Makefile
Makefile.inc When building some of the boot loaders with clang, and DEBUG_FLAGS or 2011-07-17 13:50:21 +00:00