opnsense-src/sys/boot/i386
Robert Noland 262b2ce076 MFC 198420
Correct some issues with zfs boot.

   - Teach it to read gang blocks. (essentially untested)
     If you see "ZFS: gang block detected!", please let
     me know, so we can either remove the printf if it
     works, or fix it if it doesn't.

   - If multiple partitions exist on a disk, probe them all.
     We also need to reset dsk->start to 0 to read the right
     sector here.

   - With GPT, we can have 128 partitions.

   - If the bootfs property has ever been set on a pool
     it seems that it never goes away.  zpool won't allow
     you to add to the pool with the bootfs property set.
     However, if you clear the property back to default
     we end up getting 0 for the object number and read
     a bogus block pointer and fail to boot.

   - Fix some error printfs. The printf in the loader is
     only capable of c,s and u formats.

   - Teach printf how to display %llu
2009-11-21 15:02:35 +00:00
..
boot0 A number of small changes to make the 'save choice to disk' safer, 2008-12-30 09:40:50 +00:00
boot0ext
boot0sio
boot2 Revert the part of change 107879 that employs the unused bytes after 2009-03-07 22:05:58 +00:00
btx Fix some more issues with the real mode BTX. 2009-02-24 23:11:15 +00:00
cdboot Fix some "in in" typos in comments. 2008-03-26 07:32:08 +00:00
gptboot MFC: 196326 2009-08-17 15:39:47 +00:00
gptzfsboot Use full 64bit arithmetic when converting file offsets to block numbers - fixes 2008-12-17 18:12:01 +00:00
kgzldr NOSHARED -> NO_SHARED 2004-12-21 09:59:45 +00:00
libfirewire MFp4: add FireWire/dcons support in loader for i386/amd64. 2007-05-29 14:35:57 +00:00
libi386 MFC r197082: 2009-11-02 16:46:06 +00:00
loader - Make it possible to disable GPT support by setting LOADER_NO_GPT_SUPPORT 2009-03-09 17:16:29 +00:00
mbr Start the dreaded NOFOO -> NO_FOO conversion. 2004-12-21 08:47:35 +00:00
pmbr Add a note to indicate that these files do borrow in part from mbr.s and 2007-11-26 21:29:59 +00:00
pxeldr - Remove superfluous comment 2009-01-30 15:27:04 +00:00
zfsboot MFC 198420 2009-11-21 15:02:35 +00:00
Makefile Fix amd64 build and re-enable gptzfsboot. 2008-11-22 14:24:55 +00:00
Makefile.inc Enable GCC stack protection (aka Propolice) for userland: 2008-06-25 21:33:28 +00:00