Expand description
Tock PCI support library for x86 devices
This crate provides types and helpers for working with PCI devices within Tock OS kernel drivers. It specifically targets the PCI Local Bus Specification, Revision 3.0, as published by the PCI-SIG. All references to the PCI specification throughout this crate’s documentation and comments refer to this document.
Limitations:
- No support for PCI Express of any revision.
- x86 only, using I/O ports to access configuration registers.
Modules§
- Command
- PCI Command register bitfields
- Status
- PCI Status register bitfields
- cap
- PCI capabilities list
- cfg
- Constants and helpers for working with the PCI configuration space.
Structs§
Functions§
- iter
- Returns an iterator over all present PCI devices.
Type Aliases§
- Command
Val - Type-safe representation of PCI command register value
- Status
Val - Type-safe representation of PCI status register value