Registry / other / x86
library0.52.0rscratesunverified

Library to program x86 (amd64) hardware, providing data structures and assembly instruction wrappers.

# Cargo.toml [dependencies] x86 = "0.52.0"
INSTALL
IMPORT
SIG · X86
X
x86
otherrustv0.52.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

inb
use x86::io::inb;

Reads a byte from I/O port 0x60 using the x86 crate.

use x86::io::inb; fn main() { unsafe { let value = inb(0x60); // read from port 0x60 println!("Value: {}", value); } }
Debug
Known issues
gotchaMany functions are unsafe and require careful handling of hardware interactions.
fix
Ensure proper safety invariants and use only on x86 platforms.
affects: >=0.1.0
Upgrade
Version history
0.52.0latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
17 hits · last 30 days
node
16
Resources
x86 — cargo add x86 · libregistry