5d5fc406d7
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 |
||
---|---|---|
.. | ||
boot0 | ||
boot2 | ||
btx | ||
cdboot | ||
cdldr | ||
gptboot | ||
kgzldr | ||
libi386 | ||
liloldr | ||
loader | ||
mbr | ||
pxeldr | ||
Makefile | ||
Makefile.inc |