]> git.ipfire.org Git - thirdparty/qemu.git/commit
rust: pl011: wrap registers with BqlRefCell
authorPaolo Bonzini <pbonzini@redhat.com>
Fri, 24 Jan 2025 23:28:09 +0000 (00:28 +0100)
committerPaolo Bonzini <pbonzini@redhat.com>
Tue, 28 Jan 2025 16:58:09 +0000 (17:58 +0100)
commita1ab4eed8d37e4afb78367d766edeadfdb489027
tree5992761456301abdaba0b2599b236fc7c5ddfe23
parent49bfe63f297f71c5d7e1578a8b69953430b7b532
rust: pl011: wrap registers with BqlRefCell

This is a step towards making memory ops use a shared reference to the
device type; it's not yet possible due to the calls to character device
functions.

Reviewed-by: Zhao Liu <zhao1.liu@intel.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
rust/hw/char/pl011/src/device.rs
rust/hw/char/pl011/src/device_class.rs