From mboxrd@z Thu Jan 1 00:00:00 1970 From: jmk@plan9.bell-labs.com To: 9fans@cse.psu.edu Subject: Re: [9fans] calculating the gdt pointer in 32 bit (protected) mode MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="upas-yzoitdzggjtdnmlhsvjcbcmdvi" Message-Id: <20020124004209.23AFA19A2A@mail.cse.psu.edu> Date: Wed, 23 Jan 2002 19:42:06 -0500 Topicbox-Message-UUID: 42ca64b6-eaca-11e9-9e20-41e7f4b1d025 This is a multi-part message in MIME format. --upas-yzoitdzggjtdnmlhsvjcbcmdvi Content-Disposition: inline Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit perhaps LONG $tgdtptr-KZERO(SB) ? --upas-yzoitdzggjtdnmlhsvjcbcmdvi Content-Type: message/rfc822 Content-Disposition: inline Received: from plan9.cs.bell-labs.com ([135.104.9.2]) by plan9; Wed Jan 23 19:22:37 EST 2002 Received: from mail.cse.psu.edu ([130.203.4.6]) by plan9; Wed Jan 23 19:22:36 EST 2002 Received: from psuvax1.cse.psu.edu (psuvax1.cse.psu.edu [130.203.16.6]) by mail.cse.psu.edu (CSE Mail Server) with ESMTP id 913B519A56; Wed, 23 Jan 2002 19:22:07 -0500 (EST) Delivered-To: 9fans@cse.psu.edu Received: from acl.lanl.gov (plan9.acl.lanl.gov [128.165.147.177]) by mail.cse.psu.edu (CSE Mail Server) with SMTP id 1192719A02 for <9fans@cse.psu.edu>; Wed, 23 Jan 2002 19:21:27 -0500 (EST) To: 9fans@cse.psu.edu Subject: Re: [9fans] calculating the gdt pointer in 32 bit (protected) mode From: andrey mirtchovski MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Message-Id: <20020124002127.1192719A02@mail.cse.psu.edu> Sender: 9fans-admin@cse.psu.edu Errors-To: 9fans-admin@cse.psu.edu X-BeenThere: 9fans@cse.psu.edu X-Mailman-Version: 2.0.8 Precedence: bulk Reply-To: 9fans@cse.psu.edu List-Help: List-Id: Fans of the OS Plan 9 from Bell Labs <9fans.cse.psu.edu> List-Archive: Date: Wed, 23 Jan 2002 17:21:02 -0700 unfortunately that still crashes the machine.. the code as i have written it is in 'mode32bit' (l.s): //.... mode32bit entry and some testing outputs BYTE $0x0f BYTE $0x01 BYTE $0x16 LONG $tgdtptr(SB) // ..... real mode32bit continues... anything obvious i'm missing? andrey --upas-yzoitdzggjtdnmlhsvjcbcmdvi--