]> git.ipfire.org Git - thirdparty/qemu.git/commit
rust: add PL011 device model
authorPaolo Bonzini <pbonzini@redhat.com>
Thu, 10 Oct 2024 14:11:28 +0000 (16:11 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Fri, 11 Oct 2024 10:32:17 +0000 (12:32 +0200)
commitd0f0cd5b1f7e9780753344548e17ad4df9fcf5d8
tree2277cf9eb89fb49f1c981ac122a0374b94cebf19
parent2b74dd918007d91f5fee94ad0034b5e7a30ed777
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: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Manos Pitsidianakis <manos.pitsidianakis@linaro.org>
Link: https://lore.kernel.org/r/6ec1d4fb8db2a1d7ba94c73e65d9770371b7857d.1727961605.git.manos.pitsidianakis@linaro.org
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
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]