Date: Thu, 30 Jun 2005 00:26:54 +0000 (UTC) From: Peter Wemm <peter@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/amd64/amd64 exception.S Message-ID: <200506300026.j5U0QsjW055338@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
peter 2005-06-30 00:26:54 UTC FreeBSD src repository Modified files: sys/amd64/amd64 exception.S Log: Add a special-case handler for general protection faults. It appears to be possible to get the swapgs state reversed if doreti traps during the iretq. Attempt to handle this. load_gs() might need special handling too. Running the kernel with the user's TLS and the kernel's PCPU space interchanged would be bad(TM). Discovered as a result of a conversation with: bde Approved by: re Revision Changes Path 1.125 +26 -3 src/sys/amd64/amd64/exception.S
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200506300026.j5U0QsjW055338>