#x86-64 #standalone #pci #pcie

nightly no-std tinypci

A simple, safe, rusty toolset for reading and writing PCI configuration memory

1 unstable release

0.1.0 Feb 20, 2020

#1247 in Embedded development

MIT license

16KB
316 lines

tinypci

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

Dependencies

~175KB