freebsd-dev/sys/boot/i386/boot2
Ian Dowse 870fb18bc1 Oops, the previous revision (1.35) broke booting from floppies
because the buffers we use could end up spanning a 64k boundary.
Unfortunately it causes too much bloat (228 -> 72 bytes free) to
just reinstate the old malloc() function.

Instead, define a structure that contains all 4 buffers which must
not cross 64k boundaries. We allocate a 64k-aligned instance in
main() using the magic that was in the old boot2 malloc() function.
This brings the free space down to 168 bytes, but that is still
better than it was before revision 1.35 (136 bytes).

Reported by:	Mike Brancato <funnyguy@digitalsmackdown.net>
Pointy-hat to:	iedowse
2002-01-17 22:39:19 +00:00
..
boot1.s Fix the ILLEGAL fdisk table that is there for supporting "dangerously 2001-11-01 06:19:32 +00:00
boot1.S Fix the ILLEGAL fdisk table that is there for supporting "dangerously 2001-11-01 06:19:32 +00:00
boot2.c Oops, the previous revision (1.35) broke booting from floppies 2002-01-17 22:39:19 +00:00
lib.h
Makefile Add in a hack to support IBM "El Torito" CD-ROM booting BIOS's which expect 2001-07-31 19:50:09 +00:00
sio.s
sio.S