Re: [RFC 1/6] x86, NMI, Add symbol definition for NMI magicconstants

From: Andi Kleen
Date: Sat Sep 11 2010 - 04:50:18 EST


On Fri, 10 Sep 2010 22:37:07 +0200
Peter Zijlstra <peterz@xxxxxxxxxxxxx> wrote:

> On Fri, 2010-09-10 at 10:51 +0800, Huang Ying wrote:
> > + return inb(NMI_REASON_PORT);
>
> I've always wondered, where is this magic stuff documented?

In the datasheet of the chipset. But sometimes you need
to dig deeper to get a global picture including all chipsets.

-Andi
--
ak@xxxxxxxxxxxxxxx -- Speaking for myself only.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/