]> xenbits.xensource.com Git - people/aperard/qemu-dm.git/commit
rust: pl011: switch to safe chardev operation
authorPaolo Bonzini <pbonzini@redhat.com>
Tue, 11 Feb 2025 12:33:29 +0000 (13:33 +0100)
committerPaolo Bonzini <pbonzini@redhat.com>
Thu, 6 Mar 2025 11:44:47 +0000 (12:44 +0100)
commit9b642097d6b793c161c3d1c540dd19a66e02100f
treeacef67e95385470a95879a857e8b9bd4a1092e0a
parent87f5c138363da28449835055299abbae57f39a19
rust: pl011: switch to safe chardev operation

Switch bindings::CharBackend with chardev::CharBackend.  This removes
occurrences of "unsafe" due to FFI and switches the wrappers for receive,
can_receive and event callbacks to the common ones implemented by
chardev::CharBackend.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
rust/hw/char/pl011/src/device.rs