mirror of https://gitlab.com/qemu-project/qemu
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
32 lines
737 B
Markdown
32 lines
737 B
Markdown
# 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:
|
|
|
|
```sh
|
|
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:
|
|
|
|
```sh
|
|
cargo doc --no-deps --document-private-items --target x86_64-unknown-linux-gnu
|
|
```
|
|
|
|
To include direct dependencies like `bilge` (bitmaps for register types):
|
|
|
|
```sh
|
|
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
|
|
```
|