arch(3): document msr
This commit is contained in:
parent
78e19b52bf
commit
c8168fd3bc
1 changed files with 6 additions and 1 deletions
|
@ -12,6 +12,7 @@ arch \- architecture-specific information and control
|
||||||
.B /dev/iol
|
.B /dev/iol
|
||||||
.B /dev/iow
|
.B /dev/iow
|
||||||
.B /dev/irqalloc
|
.B /dev/irqalloc
|
||||||
|
.B /dev/msr
|
||||||
.SH DESCRIPTION
|
.SH DESCRIPTION
|
||||||
This device presents textual information about PC hardware and allows
|
This device presents textual information about PC hardware and allows
|
||||||
user-level control of the I/O ports on x86-class and DEC Alpha machines.
|
user-level control of the I/O ports on x86-class and DEC Alpha machines.
|
||||||
|
@ -116,11 +117,15 @@ Reads and writes to
|
||||||
.IR iob ,
|
.IR iob ,
|
||||||
.IR iow ,
|
.IR iow ,
|
||||||
and
|
and
|
||||||
.I iol
|
.IR iol
|
||||||
cause 8-bit wide, 16-bit wide, and 32-bit wide requests to
|
cause 8-bit wide, 16-bit wide, and 32-bit wide requests to
|
||||||
I/O ports.
|
I/O ports.
|
||||||
The port accessed is determined by the byte offset of the
|
The port accessed is determined by the byte offset of the
|
||||||
file descriptor.
|
file descriptor.
|
||||||
|
.PP
|
||||||
|
Reads and writes to
|
||||||
|
.I msr
|
||||||
|
go to the P4/P6/Core/Core2/AMD64 MSRs.
|
||||||
.SH EXAMPLE
|
.SH EXAMPLE
|
||||||
The following code reads from an x86 byte I/O port.
|
The following code reads from an x86 byte I/O port.
|
||||||
.IP
|
.IP
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue