Skip to content

Latest commit

 

History

History
17 lines (13 loc) · 950 Bytes

README.md

File metadata and controls

17 lines (13 loc) · 950 Bytes

tinypci

Crates.io Docs.rs

A simple, safe, rusty toolset for reading and writing PCI configuration memory. I'm using it as part of my untitled os project. Currently incomplete and unstable, but feel free to use this as an example or a reference for your own projects.

This crate is designed to have minimal dependencies. It uses stdlib by default, but with --no-default-features (or default-features = false in Cargo.toml) it'll work with no_std too. Note that currently it does require alloc for a no_std build.

Aside from alloc in no_std mode, this crate has no other dependencies by default. Depends on serde when the serde feature is enabled. This crate must be built with nightly as it uses #![feature(asm)].