qemu/rust
Paolo Bonzini af68b41d40 rust: pl011: only leave embedded object initialization in instance_init
Leave IRQ and MMIO initialization to instance_post_init.  In Rust the
two callbacks are more distinct, because only instance_post_init has a
fully initialized object available.

While at it, add a wrapper for sysbus_init_mmio so that accesses to
the SysBusDevice correctly use shared references.

Reviewed-by: Zhao Liu <zhao1.liu@intel.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2025-01-10 23:34:43 +01:00
..
hw rust: pl011: only leave embedded object initialization in instance_init 2025-01-10 23:34:43 +01:00
qemu-api rust: pl011: only leave embedded object initialization in instance_init 2025-01-10 23:34:43 +01:00
qemu-api-macros rust: macros: check that the first field of a #[derive(Object)] struct is a ParentField 2025-01-10 23:34:43 +01:00
.gitignore rust: add bindgen step as a meson dependency 2024-10-11 12:32:17 +02:00
Cargo.lock rust: introduce alternative implementation of offset_of! 2024-11-05 14:18:16 +01:00
Cargo.toml rust: qom: add casting functionality 2024-12-19 19:36:37 +01:00
Kconfig rust: add PL011 device model 2024-11-05 14:18:15 +01:00
meson.build rust: build: add "make clippy", "make rustfmt", "make rustdoc" 2024-12-10 18:44:06 +01:00
rustfmt.toml rust: add crate to expose bindings and interfaces 2024-10-11 12:32:17 +02:00
wrapper.h include: Rename sysemu/ -> system/ 2024-12-20 17:44:56 +01:00