freebsd-src/sys/boot/i386
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
..
boot0 Fix column alignment (whitespace-only change). 2000-12-19 00:17:36 +00:00
boot2 Set MAINTAINER. 2000-10-02 17:23:16 +00:00
btx Always disable paging when exiting back to real mode after receiving a 2001-03-21 20:08:07 +00:00
cdboot Grrr, fix a silly 'movl' -> 'movw' typo in both pxeldr and cdldr. Also, 2000-05-23 12:31:32 +00:00
cdldr Grrr, fix a silly 'movl' -> 'movw' typo in both pxeldr and cdldr. Also, 2000-05-23 12:31:32 +00:00
gptboot Set MAINTAINER. 2000-10-02 17:23:16 +00:00
kgzldr Support a.out: avoid (%dx) in in/out instructions, and use an m4 2000-11-04 13:03:52 +00:00
libi386 Don't set the gateway address if the netmask is zero or we're on 2001-03-14 23:53:25 +00:00
liloldr Fix a bug which prevents parsing this Makefile without having a 2000-09-05 22:33:07 +00:00
loader Strip the .comment and .note sections when stripping. There's no 2000-12-13 17:10:38 +00:00
mbr Set MAINTAINER. 2000-10-02 17:23:16 +00:00
pxeldr Fix typo: seperate -> separate. 2001-02-06 11:21:58 +00:00
Makefile Hook up liloldr 2000-07-17 17:06:27 +00:00
Makefile.inc Add -mpreferred-stack-boundary=2 to CFLAGS for i386. This and libstand 2000-08-11 23:23:20 +00:00