changelog shortlog tags branches changeset files revisions annotate raw help

Mercurial > hg > plan9front / sys/man/1/io

changeset 4374: 9d875116b400
parent: cc0dd57e33f1
author: cinap_lenrek@felloff.net
date: Wed, 25 Mar 2015 17:42:51 +0100
permissions: -rw-r--r--
description: pc, pc64: state dependency to usbehci.h in mkfiles
1 .TH IO 1
2 .SH NAME
3 io \- access PC I/O registers
4 .SH SYNOPSIS
5 .B io
6 [
7 .B -WLMErw
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 .TP
42 .B -E
43 Access embedded controller space.
44 .SH SOURCE
45 .B /sys/src/cmd/io.c
46 .SH SEE ALSO
47 .IR seg (1),
48 .IR arch (3)
49 .SH HISTORY
50 .I Io
51 first appeared in 9front (April, 2011).