Date: Thu, 27 Jan 2000 13:06:15 -0800 (PST) From: John Baldwin <jhb@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/boot/i386/btx/btx btx.s Message-ID: <200001272106.NAA69503@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
jhb 2000/01/27 13:06:15 PST
Modified files:
sys/boot/i386/btx/btx btx.s
Log:
Fix brokenness introduced with the PAGING conditional variable. The value
of %cr0 wasn't reloaded into %eax before being modified to turn protected
mode off if PAGING was not defined. The result was that the processor did
not exit protected mode, so when it tried to jump to segment 0x0 in the
next instruction to clear the prefetch cache like one should when leaving
protected mode, it actually tried to jump to a null selector, causing a
GPF.
Revision Changes Path
1.14 +4 -2 src/sys/boot/i386/btx/btx/btx.s
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200001272106.NAA69503>
