freebsd-dev/sys/boot/i386/boot2
John Baldwin ea6ed0ba9f 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
..
boot1.S Fix the jump location. 2010-11-14 08:31:02 +00:00
boot2.c Fix boot2 to handle boot config files that only contain a custom path to 2012-03-05 19:53:17 +00:00
lib.h Build boot2 with -mregparm=3, ie. pass upto 3 arguments via registers. 2011-04-04 18:23:55 +00:00
Makefile Define several extra macros in bsd.sys.mk and sys/conf/kern.pre.mk, to 2012-02-28 18:30:18 +00:00
sio.S Build boot2 with -mregparm=3, ie. pass upto 3 arguments via registers. 2011-04-04 18:23:55 +00:00