]> git.lizzy.rs Git - plan9front.git/blob - sys/man/1/io
add HISTORY to various man pages
[plan9front.git] / sys / man / 1 / io
1 .TH IO 1
2 .SH NAME
3 io \- access PC I/O registers
4 .SH SYNOPSIS
5 .B io
6 [
7 .B -WLMrw
8 ]
9 .I address
10 [
11 .I value
12 ]
13 .SH DESCRIPTION
14 .I io
15 accesses PC I/O space.
16 The operation to be performed is selected with
17 .B -r
18 or
19 .B -w
20 for reading or writing, respectively.
21 The default operation size is a byte.
22 C style notation for integers (e.g.
23 .B 0x42
24 or
25 .BR 023 )
26 is accepted for the
27 .I address
28 and
29 .I value
30 parameters.
31 .PP
32 .TP
33 .B  -W
34 Perform a word (16 bit) operation.
35 .TP
36 .B  -L
37 Perform a long / double word (32 bit) operation.
38 .TP
39 .B  -M
40 Access a 64 bit wide machine specific register (MSR).
41 .SH SOURCE
42 .B /sys/src/cmd/io.c
43 .SH SEE ALSO
44 .IR seg (1)