All of lore.kernel.org
 help / color / mirror / Atom feed
* question: i/o port 0x61 on x86 archs
@ 2002-06-08 11:21 Ravikiran G Thirumalai
  2002-06-08 22:01 ` Randy.Dunlap
  0 siblings, 1 reply; 5+ messages in thread
From: Ravikiran G Thirumalai @ 2002-06-08 11:21 UTC (permalink / raw)
  To: linux-kernel

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: question: i/o port 0x61 on x86 archs
  2002-06-08 11:21 question: i/o port 0x61 on x86 archs Ravikiran G Thirumalai
@ 2002-06-08 22:01 ` Randy.Dunlap
  2002-06-12 16:03   ` Ingo Oeser
  0 siblings, 1 reply; 5+ messages in thread
From: Randy.Dunlap @ 2002-06-08 22:01 UTC (permalink / raw)
  To: Ravikiran G Thirumalai; +Cc: linux-kernel

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.

-- 
~Randy


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: question: i/o port 0x61 on x86 archs
  2002-06-08 22:01 ` Randy.Dunlap
@ 2002-06-12 16:03   ` Ingo Oeser
  2002-06-12 16:34     ` Maciej W. Rozycki
  0 siblings, 1 reply; 5+ messages in thread
From: Ingo Oeser @ 2002-06-12 16:03 UTC (permalink / raw)
  To: Randy.Dunlap; +Cc: Ravikiran G Thirumalai, linux-kernel

On Sat, Jun 08, 2002 at 03:01:13PM -0700, Randy Dunlap wrote:
> 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?
> 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.

The IRQ-handling code is full of these beauties and several
drivers are too.

Regards

Ingo Oeser
-- 
Science is what we can tell a computer. Art is everything else. --- D.E.Knuth

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: question: i/o port 0x61 on x86 archs
  2002-06-12 16:34     ` Maciej W. Rozycki
@ 2002-06-12 16:32       ` Randy.Dunlap
  0 siblings, 0 replies; 5+ messages in thread
From: Randy.Dunlap @ 2002-06-12 16:32 UTC (permalink / raw)
  To: Maciej W. Rozycki; +Cc: Ingo Oeser, Ravikiran G Thirumalai, linux-kernel

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).

-- 
~Randy


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: question: i/o port 0x61 on x86 archs
  2002-06-12 16:03   ` Ingo Oeser
@ 2002-06-12 16:34     ` Maciej W. Rozycki
  2002-06-12 16:32       ` Randy.Dunlap
  0 siblings, 1 reply; 5+ messages in thread
From: Maciej W. Rozycki @ 2002-06-12 16:34 UTC (permalink / raw)
  To: Ingo Oeser; +Cc: Randy.Dunlap, Ravikiran G Thirumalai, linux-kernel

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.

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


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2002-06-12 16:37 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-06-08 11:21 question: i/o port 0x61 on x86 archs Ravikiran G Thirumalai
2002-06-08 22:01 ` Randy.Dunlap
2002-06-12 16:03   ` Ingo Oeser
2002-06-12 16:34     ` Maciej W. Rozycki
2002-06-12 16:32       ` Randy.Dunlap

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.