linux-mips
[Top] [All Lists]

Re: [PATCH] Proposed NMI handling interface...

To: "Steven J. Hill" <sjhill@realitydiluted.com>
Subject: Re: [PATCH] Proposed NMI handling interface...
From: "Maciej W. Rozycki" <macro@ds2.pg.gda.pl>
Date: Wed, 8 Oct 2003 11:05:53 +0200 (MET DST)
Cc: linux-mips@linux-mips.org
In-reply-to: <3F832040.7070606@realitydiluted.com>
Organization: Technical University of Gdansk
Original-recipient: rfc822;linux-mips@linux-mips.org
Reply-to: "Maciej W. Rozycki" <macro@ds2.pg.gda.pl>
Sender: linux-mips-bounce@linux-mips.org
On Tue, 7 Oct 2003, Steven J. Hill wrote:

> I wanted to propose an NMI handling interface. I have attached
> the header file and patches to 'arch/mips/kernel/traps.c'. The
> user need only specify the offset address for the NMI vector
> code and then they can also specify their own desired NMI
> function. Comments?

 You should consider something like "#define nmi_user_handler ((void
(*)(struct pt_regs *))0)" for !CONFIG_NMI and possibly also a way to
return from the frontend gracefully if the backend says it's OK.

-- 
+  Maciej W. Rozycki, Technical University of Gdansk, Poland   +
+--------------------------------------------------------------+
+        e-mail: macro@ds2.pg.gda.pl, PGP key available        +


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