freebsd-dev/sys/boot/i386
John Baldwin 4939882522 If a transfer to or from a floppy disk crosses a 64k boundary, we have to
use a bounce buffer for the actual transfer to avoid crossing a 64k
boundary.  To do this, we malloc a buffer twice as big as we need and then
find an aligned block within that buffer to do the transfer.  The check
to see which part of the block we use used the wrong variable for part of
the condition meaning that in certain edge cases we would ask the BIOS to
cross a 64k boundary.  The BIOS request would then fail resulting in file
transfers that just magically fail in the middle without any apparent
reason.  Specifically, my tests for the splitfs boot floppies managed to
trigger this edge case.

MFC after:	1 week
X-MFC-info:	along with fixes to libstand filesystems
2004-01-21 23:22:29 +00:00
..
boot0 Allow one to specify the com port settings for boot0sio. 2004-01-06 18:46:35 +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 - Use constant for shift when converting file length in bytes to a sector 2004-01-12 20:34:42 +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
libi386 If a transfer to or from a floppy disk crosses a 64k boundary, we have to 2004-01-21 23:22:29 +00:00
loader With the beastie menu a problem was introduced in which selecting a 2003-11-21 19:01:02 +00:00
mbr
pxeldr
Makefile Hook boot0sio to the build. Use 'boot0cfg -b /boot/boot0sio' to use. 2003-12-08 19:02:06 +00:00
Makefile.inc