io

command
v7.0.0+incompatible Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 31, 2020 License: BSD-3-Clause Imports: 6 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

io reads and writes to physical memory and ports.

Synopsis:

io (r{b,w,l,q} address)...
io (w{b,w,l,q} address value)...
# x86 only:
io (in{b,w,l} address)
io (out{b,w,l} address value)
io (cr index}
io {cw index value}...

Description:

io lets you read/write 1/2/4/8-bytes to memory with the {r,w}{b,w,l,q}
commands respectively.

On x86 platforms, {in,out}{b,w,l} allow for port io.

Use cr / cw to write to cmos registers

Examples:

# Read 8-bytes from address 0x10000 and 0x10000
io rq 0x10000 rq 0x10008
# Write to the serial port on x86
io outb 0x3f8 50

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL