summaryrefslogtreecommitdiff
path: root/rust/bindings/bindings_helper.h
diff options
context:
space:
mode:
authorDanilo Krummrich <dakr@kernel.org>2024-10-09 00:46:28 +0200
committerDanilo Krummrich <dakr@kernel.org>2024-10-22 22:55:10 +0200
commitc13795fe4557999937eba6854f92761cfba8446f (patch)
treed14de1a85bc9c77f7975343ee7deb77e5dbe2db9 /rust/bindings/bindings_helper.h
parentd363355ef700a27cc71604ccdeb0891cb0272cc0 (diff)
samples: rust: add Rust PCI sample driver
This commit adds a sample Rust PCI driver for QEMU's "pci-testdev" device. To enable this device QEMU has to be called with `-device pci-testdev`. The same driver shows how to use the PCI device / driver abstractions, as well as how to request and map PCI BARs, including a short sequence of MMIO operations. Signed-off-by: Danilo Krummrich <dakr@kernel.org>
Diffstat (limited to 'rust/bindings/bindings_helper.h')
0 files changed, 0 insertions, 0 deletions