IO(1)IO(1)

NAME

io – access PC I/O registers

SYNOPSIS

io [ -WLMErw ] address [ value ]

DESCRIPTION

io accesses PC I/O space. The operation to be performed is selected with -r or -w for reading or writing, respectively. The default operation size is a byte. C style notation for integers (e.g. 0x42 or 023) is accepted for the address and value parameters.

-W

Perform a word (16 bit) operation.  

-L

Perform a long / double word (32 bit) operation.  

-M

Access a 64 bit wide machine specific register (MSR).  

-E

Access embedded controller space.  

SOURCE

/sys/src/cmd/io.c

SEE

seg(1), arch(3)

HISTORY

Io first appeared in 9front (April, 2011).