xemu/rust/hw/char/pl011
mborgerson 57b0d947f3 deploy: 98a3974290 2025-07-29 22:06:20 +00:00
..
src deploy: 98a3974290 2025-07-29 22:06:20 +00:00
.gitignore deploy: 98a3974290 2025-07-29 22:06:20 +00:00
Cargo.toml deploy: 98a3974290 2025-07-29 22:06:20 +00:00
README.md deploy: 98a3974290 2025-07-29 22:06:20 +00:00
meson.build deploy: 98a3974290 2025-07-29 22:06:20 +00:00

README.md

PL011 QEMU Device Model

This library implements a device model for the PrimeCell® UART (PL011) device in QEMU.

Build static lib

Host build target must be explicitly specified:

cargo build --target x86_64-unknown-linux-gnu

Replace host target triplet if necessary.

Generate Rust documentation

To generate docs for this crate, including private items:

cargo doc --no-deps --document-private-items --target x86_64-unknown-linux-gnu

To include direct dependencies like bilge (bitmaps for register types):

cargo tree --depth 1 -e normal --prefix none \
 | cut -d' ' -f1 \
 | xargs printf -- '-p %s\n' \
 | xargs cargo doc --no-deps --document-private-items --target x86_64-unknown-linux-gnu