linux-mips
[Top] [All Lists]

Re: how to disable interrupt in application?

To: "zhuzhenhua" <zzh.hust@gmail.com>
Subject: Re: how to disable interrupt in application?
From: "Kevin D. Kissell" <kevink@mips.com>
Date: Wed, 31 May 2006 11:39:56 +0200
Cc: "Bin Chen" <binary.chen@gmail.com>, "linux-mips" <linux-mips@linux-mips.org>
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <50c9a2250605301733t788c16f9k739c17e4a6a4efee@mail.gmail.com> <5800c1cc0605302311p2d1f024bm96ac6e08cda1bc2f@mail.gmail.com> <002a01c6847f$98409480$0602a8c0@Ulysses> <50c9a2250605310037n42dd6ddct2238cf9c56eac40d@mail.gmail.com>
Sender: linux-mips-bounce@linux-mips.org
> actually i don't want the pipelining be interrupted while run our user
> defined instructions.

If you want to guarantee that, you need to put that code into a kernel
module that turns off interrupts during processing - and you need to
accept responsibility for the fact that a problem in your code may be
irrecoverably fatal to the system, and that errors in system timing may
accumulate due to clock interrupts not being serviced.

            Regards,

            Kevin K.

<Prev in Thread] Current Thread [Next in Thread>