From: Ralf Baechle <ralf@oss.sgi.com>
To: Steven Liu <stevenliu@psdc.com>
Cc: linux-mips@oss.sgi.com, "stevenliu@psdc.com" <jeff@moke.com>
Subject: Re: sti() does not work.
Date: Wed, 4 Jul 2001 15:29:56 +0200 [thread overview]
Message-ID: <20010704152956.F3829@bacchus.dhis.org> (raw)
In-Reply-To: <84CE342693F11946B9F54B18C1AB837B05CE09@ex2k.pcs.psdc.com>; from stevenliu@psdc.com on Tue, Jul 03, 2001 at 03:48:04PM -0700
On Tue, Jul 03, 2001 at 03:48:04PM -0700, Steven Liu wrote:
> I am working on the porting Linux to mips R3000 and have a problem
> about sti( ) which is called in start_kernel( ).
> Before calling this function, status_register = 0x1000fc00 and
> cause_register=0x00008000.
> Clearly, this is an interrupt of the CPU timer.
R3000 doesn't have a CPU timer, so either you're porting to something else
than the R3000 or you don't have a CPU timer.
> When mtc0 instruction above is executed, the system hangs and the
> control does not go to the timer handler.
When the mtc0 gets executed you take the pending interrupt which goes to
the general exception vector at 0x80000180. That's magic done in hardware.
So it looks like your interrupt handler is buggy.
Ralf
prev parent reply other threads:[~2001-07-05 0:32 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-07-03 22:48 sti() does not work Steven Liu
2001-07-03 22:48 ` Steven Liu
2001-07-04 10:23 ` Thiemo Seufer
2001-07-04 12:23 ` Gleb O. Raiko
2001-07-04 13:26 ` Ralf Baechle
2001-07-05 11:35 ` Maciej W. Rozycki
2001-07-13 11:35 ` Ralf Baechle
2001-07-13 14:01 ` Maciej W. Rozycki
2001-07-14 11:04 ` Ralf Baechle
2001-07-14 11:39 ` Kevin D. Kissell
2001-07-14 11:39 ` Kevin D. Kissell
2001-07-16 12:46 ` Maciej W. Rozycki
2001-07-04 13:29 ` Ralf Baechle [this message]
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=20010704152956.F3829@bacchus.dhis.org \
--to=ralf@oss.sgi.com \
--cc=jeff@moke.com \
--cc=linux-mips@oss.sgi.com \
--cc=stevenliu@psdc.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