Files
qemu/scripts/rust/rust_root_crate.sh
Paolo BonziniandJunjie Mao d0f0cd5b1f rust: add PL011 device model
This commit adds a re-implementation of hw/char/pl011.c in Rust.

How to build:

1. Configure a QEMU build with:
   --enable-system --target-list=aarch64-softmmu --enable-rust
2. Launching a VM with qemu-system-aarch64 should use the Rust version
   of the pl011 device

Co-authored-by: Junjie Mao <[email protected]>
Co-authored-by: Paolo Bonzini <[email protected]>
Signed-off-by: Junjie Mao <[email protected]>
Signed-off-by: Paolo Bonzini <[email protected]>
Signed-off-by: Manos Pitsidianakis <[email protected]>
Link: https://lore.kernel.org/r/6ec1d4fb8db2a1d7ba94c73e65d9770371b7857d.1727961605.git.manos.pitsidianakis@linaro.org
Signed-off-by: Paolo Bonzini <[email protected]>
2024-10-11 12:32:17 +02:00

14 lines
167 B
Bash
Executable File

#!/bin/sh
set -eu
cat <<EOF
// @generated
// This file is autogenerated by scripts/rust_root_crate.sh
EOF
for crate in $*; do
echo "extern crate $crate;"
done