qemu/rust/qemu-api/src
Paolo Bonzini 094cd35913 rust: qom: remove operations on &mut
The dubious casts of mutable references to objects are not used
anymore: the wrappers for qdev_init_clock_in and for IRQ and MMIO
initialization can be called directly on the subclasses, without
casts, plus they take a shared reference so they can just use
"upcast()" instead of "upcast_mut()".  Remove them.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2025-03-06 12:44:47 +01:00
..
assertions.rs rust: add module to convert between success/-errno and io::Result 2025-02-25 16:18:08 +01:00
bindings.rs rust: bindings: remove more unnecessary Send/Sync impls 2025-03-06 12:44:47 +01:00
bitops.rs rust: add a bit operation module 2024-12-10 18:49:26 +01:00
c_str.rs rust: qemu_api: add a documentation header for all modules 2025-02-13 12:51:34 +01:00
callbacks.rs rust: callbacks: allow passing optional callbacks as () 2025-02-13 12:19:33 +01:00
cell.rs rust: cell: add full example of declaring a SysBusDevice 2025-03-06 12:44:47 +01:00
chardev.rs rust: chardev: provide basic bindings to character devices 2025-03-06 12:44:47 +01:00
errno.rs rust: add module to convert between success/-errno and io::Result 2025-02-25 16:18:08 +01:00
irq.rs rust: irq: wrap IRQState with Opaque<> 2025-03-06 12:44:46 +01:00
lib.rs rust: add module to convert between success/-errno and io::Result 2025-02-25 16:18:08 +01:00
memory.rs rust: qom: remove operations on &mut 2025-03-06 12:44:47 +01:00
module.rs rust: rename qemu-api modules to follow C code a bit more 2024-12-19 19:36:37 +01:00
offset_of.rs rust: qemu_api: add a documentation header for all modules 2025-02-13 12:51:34 +01:00
prelude.rs rust: qom: remove operations on &mut 2025-03-06 12:44:47 +01:00
qdev.rs rust: chardev: wrap Chardev with Opaque<> 2025-03-06 12:44:47 +01:00
qom.rs rust: qom: remove operations on &mut 2025-03-06 12:44:47 +01:00
sysbus.rs rust: sysbus: wrap SysBusDevice with Opaque<> 2025-03-06 12:44:47 +01:00
timer.rs rust: timer: wrap QEMUTimer with Opaque<> and express pinning requirements 2025-03-06 12:44:46 +01:00
vmstate.rs rust: qdev: wrap Clock and DeviceState with Opaque<> 2025-03-06 12:44:47 +01:00
zeroable.rs rust: chardev: provide basic bindings to character devices 2025-03-06 12:44:47 +01:00