All of lore.kernel.org
 help / color / mirror / Atom feed
From: Matthew Dharm <mdharm@momenco.com>
To: karthikeyan natarajan <karthik_96cse@yahoo.com>
Cc: linux-mips@linux-mips.org
Subject: Re: Doubt in timer interrupt
Date: Wed, 21 Jan 2004 23:41:38 -0800	[thread overview]
Message-ID: <20040121234138.A24587@momenco.com> (raw)
In-Reply-To: <20040122072407.11156.qmail@web10102.mail.yahoo.com>; from karthik_96cse@yahoo.com on Thu, Jan 22, 2004 at 07:24:07AM +0000

As with any timer interrupt, if you mask it too long you'll lose time.

Generally, masking interrupts via the IE bit is a bad idea.

Matt

On Thu, Jan 22, 2004 at 07:24:07AM +0000, karthikeyan natarajan wrote:
> Hi All,
> 
>   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?
>     Please correct me if i am wrong..
> 
> Does the system time is maintained via NMI?
>    
> Thanks in advance,
> -karthi
> 
> =====
> 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

-- 
Matthew Dharm                              Work: mdharm@momenco.com
Senior Software Designer, Momentum Computer

  reply	other threads:[~2004-01-22  7:41 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 [this message]
2004-01-22  8:43 ` Dominic Sweetman
2004-01-22  9:27   ` karthikeyan natarajan
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=20040121234138.A24587@momenco.com \
    --to=mdharm@momenco.com \
    --cc=karthik_96cse@yahoo.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.