freebsd-skq/sys/boot/i386
jhb 05ac7ac6bf This patch to BTX fixes several small things:
1) Fix a bug in the int15 function 87 emulation where we only copied half
   of what the BIOS asked for.  This caused the Mylex RAID adapter to go
   haywire and start trashing memory when you tried to boot from it.
2) Don't use interrupt 19 to reboot.  Instead, set the reboot flag to a warm
   boot and jump to the BIOS's reboot handler.  int 19 doesn't clear memory
   or restore the interrupt vector table, and thus really isn't safe.  For
   example, when booting off of PXE, the PXE BIOS eats up a chunk of memory
   for its internal data and structures.  Since we rebooted via int 19,
   using the 'reboot' command in the loader resulted in that memory not
   being reclaimed by the BIOS.  Thus, after a few PXE boots, the system
   was out of lower memory.
3) Catch any int 19 calls made by a BTX client or a user pressing
   Ctrl-Alt-Delete and shutdown BTX and reboot the machine cleanly.  This
   fixes Ctrl-Alt-Delete in the loader and in boot2 instead of presenting
   the user with a BTX fault.

Approved by:	jkh
Found by:	1) by msmith
2000-02-16 07:00:16 +00:00
..
boot0 Remove accidental cut&paste garbage in a comment. 1999-09-03 01:38:29 +00:00
boot2 Support the new ata(4) syntax, while providing backward compatibility for wd(4). 2000-02-09 19:23:46 +00:00
btx This patch to BTX fixes several small things: 2000-02-16 07:00:16 +00:00
cdboot Add the new cdldr CD bootstrap loader. This patch includes the following: 2000-01-27 21:21:01 +00:00
cdldr Add the new cdldr CD bootstrap loader. This patch includes the following: 2000-01-27 21:21:01 +00:00
gptboot Support the new ata(4) syntax, while providing backward compatibility for wd(4). 2000-02-09 19:23:46 +00:00
kgzldr $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
libi386 Substantially revamp the way that we determine the amount of memory available 1999-12-29 09:54:46 +00:00
loader Add a NOFORTH variable so we can build a smaller loader without 2000-02-04 20:57:09 +00:00
mbr $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
Makefile Add the new cdldr CD bootstrap loader. This patch includes the following: 2000-01-27 21:21:01 +00:00