From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1FV9Br-0007h2-IS for qemu-devel@nongnu.org; Sun, 16 Apr 2006 11:29:31 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1FV9Bq-0007fZ-0t for qemu-devel@nongnu.org; Sun, 16 Apr 2006 11:29:31 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FV9Bp-0007fA-Pi for qemu-devel@nongnu.org; Sun, 16 Apr 2006 11:29:29 -0400 Received: from [64.233.182.190] (helo=nproxy.gmail.com) by monty-python.gnu.org with esmtp (Exim 4.52) id 1FV9CH-0004E8-PV for qemu-devel@nongnu.org; Sun, 16 Apr 2006 11:29:57 -0400 Received: by nproxy.gmail.com with SMTP id p48so301383nfa for ; Sun, 16 Apr 2006 08:29:28 -0700 (PDT) From: Milan Plzik Content-Type: text/plain Message-Id: <1145201362.27237.11.camel@localhost> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [Qemu-devel] Checking of segment registers when switching to pmode Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Date: Sun, 16 Apr 2006 15:29:31 -0000 To: qemu-devel@nongnu.org Hello, I played a bit with switching to pmode with both qemu and real hardware, I've found one difference - real hardware (a Pentium machine) does some checking of segment registers when switching to pmode (enabling just PE bit); if contents is invalid, it probably raises some exception (I have not had any interrupt handlers installed, so at me it just probably triple-faulted). Qemu allowed me to continue even with incorrect content of segment registers. Milan Plzik