freebsd-dev/sys/boot/i386/btx
John Baldwin b833d157c7 Always disable paging when exiting back to real mode after receiving a
fatal trap.  Also, reload the GDT register to point to BTX's GDT before
playing around with the segment registers to return to real mode.  This is
helpful if the kernel causes a fatal exception before it has setup its own
IDT and fault handlers.  For example, if one happens to break mtx_init().
Without these changes BTX would recursively page fault (if paging was not
disabled) or triple fault and reset the CPU (without the GDT reload)
instead of providing a potentially useful register dump.

Reviewed by:	rnordier
2001-03-21 20:08:07 +00:00
..
btx Always disable paging when exiting back to real mode after receiving a 2001-03-21 20:08:07 +00:00
btxldr Set MAINTAINER. 2000-10-02 17:23:16 +00:00
lib Set MAINTAINER. 2000-10-02 17:23:16 +00:00
Makefile $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00