Linux MIPS Architecture development
 help / color / mirror / Atom feed
From: Ralf Baechle <ralf@oss.sgi.com>
To: machael thailer <dony.he@huawei.com>
Cc: linux-mips@oss.sgi.com
Subject: Re: questions about eret....
Date: Tue, 21 Aug 2001 08:35:08 +0200	[thread overview]
Message-ID: <20010821083508.A13302@dea.linux-mips.net> (raw)
In-Reply-To: <001501c129dd$8acebb80$8021690a@huawei.com>; from dony.he@huawei.com on Tue, Aug 21, 2001 at 09:06:43AM +0800

On Tue, Aug 21, 2001 at 09:06:43AM +0800, machael thailer wrote:

> > >     I have a question to ask about eret.
> > >
> > >     In RC4xxx/RC32334, after eret finished, does it automatically enable
> IE
> > > bit of STATUS register?
> >
> > ERET does not influence the state of the IE bit.
> 
> I agree with you, but the RC32334 User manual (14-13 section) say  it does
> and say we must run a "CLI" just before eret to disable IE bit in Status
> register .

That has a different reason.  Eret takes the return address from the
EPC register and if you'd take an exception between restoring that and the
eret you'd loose it's content - crash boom bang.

  Ralf

  parent reply	other threads:[~2001-08-21  7:39 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-08-15  1:30 Virtual address to physical address mapping machael thailer
2001-08-15  1:30 ` machael thailer
2001-08-15  8:33 ` Ralf Baechle
2001-08-20  9:54   ` questions about eret machael thailer
2001-08-20  9:54     ` machael thailer
2001-08-20 21:07     ` Ralf Baechle
2001-08-21  1:06       ` machael thailer
2001-08-21  1:06         ` machael thailer
2001-08-21  6:35         ` Ralf Baechle [this message]
2001-08-21 10:09           ` machael thailer
2001-08-21 10:09             ` machael thailer
2001-08-21 11:17             ` Ralf Baechle
2001-08-21 15:17               ` Question on porting Linux Shuanglin Wang
2001-08-21 14:33                 ` jeff_lee
2001-08-21 14:33                   ` jeff_lee
2001-08-21 15:33                   ` Shuanglin Wang
2001-08-21 17:26                 ` Jun Sun
2001-08-21 20:26                 ` Carsten Langgaard
2001-08-21 21:36                   ` Shuanglin Wang
2001-08-22  9:58                     ` Carsten Langgaard
2001-08-21  1:34       ` questions about some bits of STATUS register and exception priority machael thailer
2001-08-21  1:34         ` machael thailer
2001-08-21  6:53         ` Ralf Baechle
2001-08-21 10:53           ` machael thailer
2001-08-21 10:53             ` machael thailer
2001-08-21 11:14             ` Ralf Baechle

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=20010821083508.A13302@dea.linux-mips.net \
    --to=ralf@oss.sgi.com \
    --cc=dony.he@huawei.com \
    --cc=linux-mips@oss.sgi.com \
    /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