From owner-cvs-all Thu Jan 27 13: 6:29 2000 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 07A05158AF; Thu, 27 Jan 2000 13:06:15 -0800 (PST) (envelope-from jhb@FreeBSD.org) Received: (from jhb@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id NAA69503; Thu, 27 Jan 2000 13:06:15 -0800 (PST) (envelope-from jhb@FreeBSD.org) Message-Id: <200001272106.NAA69503@freefall.freebsd.org> From: John Baldwin Date: Thu, 27 Jan 2000 13:06:15 -0800 (PST) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/boot/i386/btx/btx btx.s Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk 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