diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2024-12-18 12:31:46 +0100 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2025-03-06 12:44:47 +0100 |
commit | aa50bc4fb9d4fc1dc027c4d70babe0acb6c09971 (patch) | |
tree | d71289f1228ea4173b7bd6d63c5d78289d9d1198 /rust/qemu-api/src/module.rs | |
parent | 9b642097d6b793c161c3d1c540dd19a66e02100f (diff) | |
download | qemu-aa50bc4fb9d4fc1dc027c4d70babe0acb6c09971.zip qemu-aa50bc4fb9d4fc1dc027c4d70babe0acb6c09971.tar.gz qemu-aa50bc4fb9d4fc1dc027c4d70babe0acb6c09971.tar.bz2 |
rust: pl011: pass around registers::Data
The values stored in the Fifo are instances of the bitfield-struct
registers::Data. Convert as soon as possible the value written
into DR, and always refer to the bitfield struct; it's generally
cleaner other than PL011State::receive having to do a double
conversion u8=>u32=>registers::Data.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'rust/qemu-api/src/module.rs')
0 files changed, 0 insertions, 0 deletions