freebsd-skq/sys/boot/i386
jhb 79660d10e4 Optimize the int 15/87 handler for space to shave another 16 bytes off of
BTX (and thus boot2):
- Don't bother saving %eax, %ebx, or %ecx as it is not necessary.
- Use a more compact sequence to load the base value out of a GDT entry
  by loading the contiguous low 24 bits into the upper 24 bits of %eax,
  loading the high 8 bits into %al, and using a ror to rotate the bits
  (2 mov's and a ror) rather than loading the pieces in smaller chunks
  (3 mov's and a shl).
- Use movzwl + leal instead of movl + movw + shll + addl.
- Use 'xchgl %eax,%foo' rather than 'movl %eax,%foo' for cases where
  it's ok to trash %eax.  xchgl %eax, foo is a 1-byte opcode whereas the
  mov is a 2-byte opcode.
- Use movzwl rather than xorl + movw.

MFC after:	1 week
2006-09-28 19:38:02 +00:00
..
boot0 Restore the pre-5.x behavior of only beeping if the user makes a bad 2006-05-03 13:43:46 +00:00
boot0ext Thanks to David's patches, we can now simplify these makefiles 2004-04-28 21:31:21 +00:00
boot0sio Thanks to David's patches, we can now simplify these makefiles 2004-04-28 21:31:21 +00:00
boot2 Minor whitespace tweak. 2006-04-11 20:09:42 +00:00
btx Optimize the int 15/87 handler for space to shave another 16 bytes off of 2006-09-28 19:38:02 +00:00
cdboot Tweak comment. 2006-04-11 17:36:08 +00:00
gptboot Consistently use OPT_* macros to test/set boot options. 2005-11-03 07:35:36 +00:00
kgzldr NOSHARED -> NO_SHARED 2004-12-21 09:59:45 +00:00
libi386 Add an 'smap' command that dumps out the BIOS SMAP. 2006-09-28 19:07:13 +00:00
loader Add an 'smap' command that dumps out the BIOS SMAP. 2006-09-28 19:07:13 +00:00
mbr Start the dreaded NOFOO -> NO_FOO conversion. 2004-12-21 08:47:35 +00:00
pxeldr - Include <sys/reboot.h> to get the RB_* defines. 2006-09-05 19:28:03 +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 Add -march=i386 to fix amd64 build by generating the same code 2006-09-28 10:02:04 +00:00