io

command
v6.0.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Aug 14, 2019 License: BSD-3-Clause Imports: 5 Imported by: 0

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)...

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.

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