From: Dominic Sweetman <dom@mips.com>
To: madprops@gmx.net
Cc: linux-mips@linux-mips.org
Subject: Re: Timer interrupts
Date: Fri, 16 Dec 2005 16:55:52 +0000 [thread overview]
Message-ID: <17314.61848.570755.340908@mips.com> (raw)
In-Reply-To: <2987.1134747276@www10.gmx.net>
> i'm using CP0_Count/CP0_Compare to get timer interrupts. They should be
> turned off while being in kernel mode (performing syscalls / handling
> tlb-misses etc) and enabled in user mode.
This isn't going to work. The hardware does nothing to inhibit
interrupts in kernel mode, and the system depends on them (performance
would be truly dreadful if no interrupt could be taken in kernel mode).
The kernel is already using CP0_Status and Count/Compare for its own
purposes, which you will be breaking...
Whatever it is you were trying to do, you need to do some other way!
--
Dominic Sweetman
MIPS Technologies
prev parent reply other threads:[~2005-12-16 16:55 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-12-16 15:34 Timer interrupts madprops
2005-12-16 16:55 ` Dominic Sweetman [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=17314.61848.570755.340908@mips.com \
--to=dom@mips.com \
--cc=linux-mips@linux-mips.org \
--cc=madprops@gmx.net \
/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