9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: F.J.Ballesteros <nemo@gsyc.escet.urjc.es>
To: 9fans@cse.psu.edu
Subject: Re: [9fans] 2 bitsy questions
Date: Fri,  8 Jun 2001 09:09:35 +0200	[thread overview]
Message-ID: <20010608070016.1A3E319A4C@mail.cse.psu.edu> (raw)

[-- Attachment #1: Type: text/plain, Size: 244 bytes --]

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.


[-- Attachment #2: Type: message/rfc822, Size: 1628 bytes --]

From: presotto@plan9.bell-labs.com
To: nemo@gsyc.escet.urjc.es, 9fans@cse.psu.edu
Subject: Re: [9fans] 2 bitsy questions
Date: Thu, 7 Jun 2001 17:14:25 -0400
Message-ID: <20010607211434.27241199F1@mail.cse.psu.edu>

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.

             reply	other threads:[~2001-06-08  7:09 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-06-08  7:09 F.J.Ballesteros [this message]
  -- strict thread matches above, loose matches on Subject: below --
2001-06-07 21:14 presotto
2001-06-07 18:38 F.J.Ballesteros

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20010608070016.1A3E319A4C@mail.cse.psu.edu \
    --to=nemo@gsyc.escet.urjc.es \
    --cc=9fans@cse.psu.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).