question: i/o port 0x61 on x86 archs
I have a question regdg do_nmi routine in x86; what does location 0x61 from inb(0x61) do? Is it something very well known in intel archs?
Kiran
On Sat, 8 Jun 2002, Ravikiran G Thirumalai wrote:
| I have a question regdg do_nmi routine in x86; what does location 0x61 | from inb(0x61) do? Is it something very well known in intel archs?
Yes, see any Intel PIIX or ICH chipset spec. I'm looking at the 82801BA I/O Controller Hub 2 (ICH2) spec., section 9.7.1.
Port 0x61 is the NMI status and control register.
Signature · 1 line
~Randy
Quoted 4 lines · Randy Dunlap
On Sat, 8 Jun 2002, Ravikiran G Thirumalai wrote:
| I have a question regdgdo_nmiroutine in x86; what does location0x61| from inb(0x61) do? Is it something very well known in intel archs? Port0x61is the NMI status and control register.
So it should exist a '#define' for this somewhere.
People who tend to disagree here, may try to use *.i files instead of *.c and *.h files next time.
The IRQ-handling code is full of these beauties and several drivers are too.
Regards
Ingo Oeser
Signature · 1 line
Science is what we can tell a computer. Art is everything else. --- D.E.Knuth
Quoted 6 lines · Ingo Oeser
Quoted 1 line
Port
0x61is the NMI status and control register.So it should exist a '#define' for this somewhere.
People who tend to disagree here, may try to use *.i files instead of *.c and *.h files next time.
Feel free to submit a patch.
Signature · 3 lines
+ Maciej W. Rozycki, Technical University of Gdansk, Poland + +--------------------------------------------------------------+ + e-mail: [email protected], PGP key available +
On Wed, 12 Jun 2002, Maciej W. Rozycki wrote:
| On Wed, 12 Jun 2002, Ingo Oeser wrote: | | > > Port 0x61 is the NMI status and control register. | > | > So it should exist a '#define' for this somewhere. | > | > People who tend to disagree here, may try to use *.i files | > instead of *.c and *.h files next time. | | Feel free to submit a patch.
I say "please submit a patch."
I very much dislike such inline constants
(for register offsets and register bits).
Signature · 1 line
~Randy