From: "karthikeyan natarajan" <karthik_96cse@yahoo.com>
To: Dominic Sweetman <dom@mips.com>
Cc: linux-mips@linux-mips.org
Subject: Re: Doubt in timer interrupt
Date: Thu, 22 Jan 2004 09:27:38 +0000 (GMT) [thread overview]
Message-ID: <20040122092738.52844.qmail@web10105.mail.yahoo.com> (raw)
In-Reply-To: <16399.36167.575161.386963@doms-laptop.algor.co.uk>
Hi Dominic Sweetman,
Thanks much for your inputs..
> > In R4000 & descendent processors, interrupt
> number 7
> > is being used for internal timer interrupt. From
> this
> > i understand that the timer interrupt is also
> maskable
> > when the IE bit in status register is cleared. If
> > somebody mask this interrupt for a long time
> > erroneously, then won't there be a problem in
> > maintaining the system time?
>
> Yes, there may be a long delay. So the standard way
> of using the
> onchip counter to generate a periodic interrupt is
> that the counter
> itself is allowed to free-run, keeping accurate
> time.
>
> The 'Compare' register is then incremented by a
> fixed amount.
>
> So long as the interrupt is not delayed by a whole
> tick, this keeps
> perfect time.
>
> I'm sure this is described in "See MIPS Run" - do
> you have a copy?
Yes, i have a copy. Have just started reading
this book.. I yet to get into the deep waters of the
MIPS..
May i know the purpose of the NMI interrupt and
in what way it differ from the timer interrupt.
Thanks much,
-karthi
> --
> Dominic Sweetman
> MIPS Technologies Inc
>
>
>
=====
The expert at anything was once a beginner
______________________________
/ \
O / Karthikeyan.N \
O | Chennai, India. |
`\|||/' \ Mobile: +919884104346 /
(o o) \ /
_ ooO (_) Ooo____________________________________
_____|_____|_____|_____|_____|_____|_____|_____|_
__|_____|_____|_____|_____|_____|_____|_____|____
_____|_____|_____|_____|_____|_____|_____|_____|_
________________________________________________________________________
Yahoo! Messenger - Communicate instantly..."Ping"
your friends today! Download Messenger Now
http://uk.messenger.yahoo.com/download/index.html
next prev parent reply other threads:[~2004-01-22 9:27 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-01-22 7:24 Doubt in timer interrupt karthikeyan natarajan
2004-01-22 7:41 ` Matthew Dharm
2004-01-22 8:43 ` Dominic Sweetman
2004-01-22 9:27 ` karthikeyan natarajan [this message]
2004-01-23 8:18 ` Dominic Sweetman
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=20040122092738.52844.qmail@web10105.mail.yahoo.com \
--to=karthik_96cse@yahoo.com \
--cc=dom@mips.com \
--cc=linux-mips@linux-mips.org \
/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