freebsd-skq/sys/boot/i386
Warner Losh 2db4f48c6a Make both UFS1 and UFS2 fit on the same boot blocks. These are a
subset of Peter's patchs that are believed to be safe.

Makefile tweaks:
o -fomit-frame-pointer
o Change default to building both UFS1 and UFS2 bootblocks.

Lots of boot2 tweaks:
o lookup is only ever called with kname, so use it directly.
o inline memsize
o getstr are only ever called with cmd, so hardware that.
o tweaks to the parsing code to test after the conversion rather than
  before since we tested after anyways.
o eliminate support for %x in printf.
o eliminate a few bytes in printfs.
o Tweak the boot banner.
o eliminate support for wd and "  " devices (I might add wd back to
  keep bde happy).
o eliminate support for a few arguments.

This takes us from -162 bytes free to 67 bytes free.

I've tested this only on a few systems, so be careful when updating to
this change.

Submitted by: peter, imp, ian
2002-12-17 21:10:34 +00:00
..
boot0 Initiate deorbit burn for the i386-only a.out related support. Moves are 2002-09-17 01:49:00 +00:00
boot2 Make both UFS1 and UFS2 fit on the same boot blocks. These are a 2002-12-17 21:10:34 +00:00
btx Revert MEM_USR back to 0xa000 for BTX clients. Instead, adjust boot2 2002-10-08 18:19:02 +00:00
cdboot Initiate deorbit burn for the i386-only a.out related support. Moves are 2002-09-17 01:49:00 +00:00
gptboot Make both UFS1 and UFS2 fit on the same boot blocks. These are a 2002-12-17 21:10:34 +00:00
kgzldr Use as's --defsym switch to compensate for the loss of the M4 substitution 2002-09-30 20:37:58 +00:00
libi386 Correctly recognize both bogus and genuine BSD disklabels. 2002-11-03 21:47:55 +00:00
liloldr Initiate deorbit burn for the i386-only a.out related support. Moves are 2002-09-17 01:49:00 +00:00
loader Don't call INT 12H anymore in boot program. 2002-10-01 19:31:09 +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 Uniformly refer to a file system as "file system". 2002-12-12 17:26:04 +00:00
Makefile Revert the part of Kirks UFS2 commit which added divdi3.c and moddi3.c 2002-06-21 11:00:00 +00:00
Makefile.inc -ffreestanding is the word for /sys. 2002-05-10 00:53:45 +00:00