From owner-cvs-all Mon Aug 10 12:41:11 1998 Return-Path: Received: (from daemon@localhost) by hub.freebsd.org (8.8.8/8.8.8) id MAA22051 for cvs-all-outgoing; Mon, 10 Aug 1998 12:41:11 -0700 (PDT) (envelope-from owner-cvs-all) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id MAA22045; Mon, 10 Aug 1998 12:41:10 -0700 (PDT) (envelope-from bde@FreeBSD.org) From: Bruce Evans Received: (from bde@localhost) by freefall.freebsd.org (8.8.8/8.8.5) id MAA14714; Mon, 10 Aug 1998 12:41:08 -0700 (PDT) Date: Mon, 10 Aug 1998 12:41:08 -0700 (PDT) Message-Id: <199808101941.MAA14714@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG Subject: cvs commit: src/sys/i386/i386 exception.s Sender: owner-cvs-all@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk bde 1998/08/10 12:41:08 PDT Modified files: sys/i386/i386 exception.s Log: Fixed restoring of cpl after trap handling. The wrong cpl (SWI_AST_MASK instead of 0) was "restored" after handling a trap that occurred while returning to user mode. This bug was most noticeable for VM86 and is still detected and fixed up (on return from the next exception) in doreti if VM86 is configured. Revision Changes Path 1.55 +10 -41 src/sys/i386/i386/exception.s