]> git.ipfire.org Git - thirdparty/qemu.git/commit
rust: add PL011 device model
authorManos Pitsidianakis <manos.pitsidianakis@linaro.org>
Thu, 24 Oct 2024 14:03:00 +0000 (17:03 +0300)
committerPaolo Bonzini <pbonzini@redhat.com>
Tue, 5 Nov 2024 13:18:15 +0000 (14:18 +0100)
commit37fdb2f56a90c7d5ea7093b920a7bf72c03aff17
treebc992b6a83b62d964819addea7fdc5fd0d6c9f48
parentca5aa28e244ee3dfe0dd6c76c7c33ce78f25beed
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 <junjie.mao@intel.com>
Co-authored-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Junjie Mao <junjie.mao@intel.com>
Signed-off-by: Manos Pitsidianakis <manos.pitsidianakis@linaro.org>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Link: https://lore.kernel.org/r/20241024-rust-round-2-v1-2-051e7a25b978@linaro.org
37 files changed:
MAINTAINERS
hw/arm/Kconfig
meson.build
rust/Kconfig
rust/hw/Kconfig [new file with mode: 0644]
rust/hw/char/Kconfig [new file with mode: 0644]
rust/hw/char/meson.build [new file with mode: 0644]
rust/hw/char/pl011/.gitignore [new file with mode: 0644]
rust/hw/char/pl011/Cargo.lock [new file with mode: 0644]
rust/hw/char/pl011/Cargo.toml [new file with mode: 0644]
rust/hw/char/pl011/README.md [new file with mode: 0644]
rust/hw/char/pl011/meson.build [new file with mode: 0644]
rust/hw/char/pl011/src/device.rs [new file with mode: 0644]
rust/hw/char/pl011/src/device_class.rs [new file with mode: 0644]
rust/hw/char/pl011/src/lib.rs [new file with mode: 0644]
rust/hw/char/pl011/src/memory_ops.rs [new file with mode: 0644]
rust/hw/meson.build [new file with mode: 0644]
rust/meson.build
scripts/archive-source.sh
scripts/make-release
scripts/rust/rust_root_crate.sh [new file with mode: 0755]
subprojects/.gitignore
subprojects/arbitrary-int-1-rs.wrap [new file with mode: 0644]
subprojects/bilge-0.2-rs.wrap [new file with mode: 0644]
subprojects/bilge-impl-0.2-rs.wrap [new file with mode: 0644]
subprojects/either-1-rs.wrap [new file with mode: 0644]
subprojects/itertools-0.11-rs.wrap [new file with mode: 0644]
subprojects/packagefiles/arbitrary-int-1-rs/meson.build [new file with mode: 0644]
subprojects/packagefiles/bilge-0.2-rs/meson.build [new file with mode: 0644]
subprojects/packagefiles/bilge-impl-0.2-rs/meson.build [new file with mode: 0644]
subprojects/packagefiles/either-1-rs/meson.build [new file with mode: 0644]
subprojects/packagefiles/itertools-0.11-rs/meson.build [new file with mode: 0644]
subprojects/packagefiles/proc-macro-error-1-rs/meson.build [new file with mode: 0644]
subprojects/packagefiles/proc-macro-error-attr-1-rs/meson.build [new file with mode: 0644]
subprojects/packagefiles/unicode-ident-1-rs/meson.build [new file with mode: 0644]
subprojects/proc-macro-error-1-rs.wrap [new file with mode: 0644]
subprojects/proc-macro-error-attr-1-rs.wrap [new file with mode: 0644]