| To: | madprops@gmx.net |
|---|---|
| Subject: | Re: Timer interrupts |
| From: | Dominic Sweetman <dom@mips.com> |
| Date: | Fri, 16 Dec 2005 16:55:52 +0000 |
| Cc: | linux-mips@linux-mips.org |
| In-reply-to: | <2987.1134747276@www10.gmx.net> |
| Original-recipient: | rfc822;linux-mips@linux-mips.org |
| References: | <2987.1134747276@www10.gmx.net> |
| Sender: | linux-mips-bounce@linux-mips.org |
> 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 in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: Freezing & Unfreezing the au11000, Sergei Shtylylov |
|---|---|
| Next by Date: | [PATCH] PNX8550 NAND flash driver, Vladimir A. Barinov |
| Previous by Thread: | Timer interrupts, madprops |
| Next by Thread: | Irda support for au1100, Rodolfo Giometti |
| Indexes: | [Date] [Thread] [Top] [All Lists] |