Home
last modified time | relevance | path

Searched hist:aa50bc4fb9d4fc1dc027c4d70babe0acb6c09971 (Results 1 – 1 of 1) sorted by relevance

/qemu/rust/hw/char/pl011/src/
H A Ddevice.rsaa50bc4fb9d4fc1dc027c4d70babe0acb6c09971 Wed Dec 18 11:31:46 UTC 2024 Paolo Bonzini <pbonzini@redhat.com> 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>