freebsd-dev/sys/boot/i386
jhb 37113d0b2c - Change the lookup() function to report success or failure using the carry
flag rather than explicitly halting if a lookup failed.
- Add a loop around the call to lookup() to traverse an array of
  nul-terminated strings for possible paths to the boot loader.  A double
  nul character denotes the end of the list.
- Add a new message to say that the boot failed if all of the path lookups
  for a boot loader file failed.
- Add '/boot/loader' as a second boot path.  If you build an ISO using
  risky options to mkisofs such as -U then the loader will be called
  '/boot/loader' rather than '/BOOT/LOADER;0'.  This allows cdboot to work
  with such risky ISO images.
- Bump version to 1.2 to denote added functionality.

The basic idea as well as some of the code were provided by the submitter,
but I added some extra code to use a loop rather than hard-code just 2
possible paths.

PR:		misc/43543
Submitted by:	kientzle
MFC after:	1 week
2003-12-11 22:42:50 +00:00
..
boot0 Properly fix a typo that the previous revision made even worse. 2003-12-11 20:40:12 +00:00
boot0sio Hook boot0sio to the build. Use 'boot0cfg -b /boot/boot0sio' to use. 2003-12-08 19:02:06 +00:00
boot2 Changed the RB_PAUSE flag from 0x40000 to 0x100000 and marked the old 2003-11-15 10:04:06 +00:00
btx When rebooting the machine jump to 0xf000:0xfff0 instead of 0xffff:0x0. 2003-11-16 18:24:23 +00:00
cdboot - Change the lookup() function to report success or failure using the carry 2003-12-11 22:42:50 +00:00
gptboot Changed the RB_PAUSE flag from 0x40000 to 0x100000 and marked the old 2003-11-15 10:04:06 +00:00
kgzldr Use __FBSDID(). 2003-08-25 23:28:32 +00:00
libi386 Don't repeat selected defines from ns16550.h or sioreg.h. Just 2003-09-16 11:24:23 +00:00
loader With the beastie menu a problem was introduced in which selecting a 2003-11-21 19:01:02 +00:00
mbr Initiate deorbit burn for the i386-only a.out related support. Moves are 2002-09-17 01:49:00 +00:00
pxeldr Add BOOT_PXELDR_ALWAYS_SERIAL option which forces serial console. 2003-09-03 08:12:20 +00:00
Makefile Hook boot0sio to the build. Use 'boot0cfg -b /boot/boot0sio' to use. 2003-12-08 19:02:06 +00:00
Makefile.inc Build on amd64. Yes, I know this isn't particularly nice. 2003-06-26 03:51:57 +00:00