Re: RE: x86 do_nmi() docs ?

From: Ed Carp (erc@pobox.com)
Date: Mon May 08 2000 - 13:14:44 EST


Dunlap, Randy (randy.dunlap@intel.com) writes:

> Get an Intel PIIX4 chipset spec. Search for
> NMISC - NMI Status and Control Register.
> The bits are defined there.

> > From: John Levon [mailto:moz@compsoc.man.ac.uk]

> > > asmlinkage void do_nmi(struct pt_regs * regs, long error_code)
> > > {
> > > unsigned char reason = inb(0x61);
> >
> > Where can I find docs on what this contains ? I couldn't find anything
> > in Intel docs ...

Meaning no disrespect, but why should he have to? This sort of "magic number"
stuff is BAD PROGRAMMING STYLE and shouldn't be in the kernel.

--
Ed Carp, N7EKG  	erc@pobox.com		940/367-2744 cell phone
			http://www.pobox.com/~erc

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Mon May 15 2000 - 21:00:11 EST