Expand description
Diagnostic utilities for PCI debugging.
Structs§
- Full diagnostic: returns structured info about PCI state.
Functions§
- Scan ALL device slots on bus 0 to find VirtIO devices. Returns raw vendor/device values (0xFFFF = no device).
- Scan specific device locations where QEMU typically places VirtIO. Returns raw vendor/device values (0xFFFF = no device).
- Test I/O port access using standalone assembly. Returns (cf8_readback, host_bridge_id).
- Read the host bridge (bus 0, dev 0, func 0) vendor/device ID. This should ALWAYS return a valid device (the host bridge) if PCI works. Returns (vendor_id, device_id).
- Run full PCI diagnostics.