From mboxrd@z Thu Jan 1 00:00:00 1970 To: 9fans@cse.psu.edu Subject: Re: [9fans] 2 bitsy questions From: F.J.Ballesteros MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="upas-zjkkjveisunyzvpvgiqpqboxbn" Message-Id: <20010608070016.1A3E319A4C@mail.cse.psu.edu> Date: Fri, 8 Jun 2001 09:09:35 +0200 Topicbox-Message-UUID: b10e8138-eac9-11e9-9e20-41e7f4b1d025 This is a multi-part message in MIME format. --upas-zjkkjveisunyzvpvgiqpqboxbn Content-Disposition: inline Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit So, you mean that just repeating setr13(PsrMfiq, m->sfiq); setr13(PsrMirq, m->sirq); setr13(PsrMabt, m->sabt); setr13(PsrMund, m->sund); could do the job, since they always point to the same place. I'll try that. thanks a lot. --upas-zjkkjveisunyzvpvgiqpqboxbn Content-Type: message/rfc822 Content-Disposition: inline Return-Path: <9fans-admin@cse.psu.edu> Received: from mail.cse.psu.edu (postfix@psuvax1.cse.psu.edu [130.203.4.6]) by gsyc.escet.urjc.es (8.9.3/8.9.3/Debian 8.9.3-21) with ESMTP id XAA08998; Thu, 7 Jun 2001 23:15:30 +0200 X-Authentication-Warning: gsyc.escet.urjc.es: Host postfix@psuvax1.cse.psu.edu [130.203.4.6] claimed to be mail.cse.psu.edu Received: from psuvax1.cse.psu.edu (psuvax1.cse.psu.edu [130.203.30.6]) by mail.cse.psu.edu (CSE Mail Server) with ESMTP id 359D319A45; Thu, 7 Jun 2001 17:15:10 -0400 (EDT) Received: from plan9.cs.bell-labs.com (plan9.bell-labs.com [204.178.31.2]) by mail.cse.psu.edu (CSE Mail Server) with SMTP id 27241199F1 for <9fans@cse.psu.edu>; Thu, 7 Jun 2001 17:14:34 -0400 (EDT) From: presotto@plan9.bell-labs.com To: nemo@gsyc.escet.urjc.es, 9fans@cse.psu.edu Subject: Re: [9fans] 2 bitsy questions MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Message-Id: <20010607211434.27241199F1@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.1 Precedence: bulk Reply-To: 9fans@cse.psu.edu List-Id: Fans of the OS Plan 9 from Bell Labs <9fans.cse.psu.edu> List-Archive: Date: Thu, 7 Jun 2001 17:14:25 -0400 There is an r13 for each mode. On traps, we always trampoline to svc mode so that the r13 registers are always pointing to the same place when we are interruptible. You will definitely lose this state in idle/sleep mode. I'll look at it a little more closely tonight. --upas-zjkkjveisunyzvpvgiqpqboxbn--