RE: RE: x86 do_nmi() docs ?

From: Dunlap, Randy (randy.dunlap@intel.com)
Date: Mon May 08 2000 - 14:07:19 EST


Ed,

Meaning no disrespect, I agree with you.
I despise inline constants (other than 0 and 1).

However, I was trying to help him find the contents
of said register.

~Randy
___________________________________________________

> -----Original Message-----
> From: Ed Carp [mailto:erc@pobox.com]
> Sent: Monday, May 08, 2000 11:15 AM
> To: randy.dunlap@intel.com; moz@compsoc.man.ac.uk;
> linux-kernel@vger.rutgers.edu
> Subject: Re: RE: x86 do_nmi() docs ?
>
>
> 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