Home
last modified time | relevance | path

Searched hist:"6 d314cc04544969bd83521a315312702b8c166d1" (Results 1 – 2 of 2) sorted by relevance

/qemu/rust/hw/char/pl011/src/
H A Dlib.rs6d314cc04544969bd83521a315312702b8c166d1 Tue Dec 10 12:09:08 UTC 2024 Paolo Bonzini <pbonzini@redhat.com> rust: pl011: extract conversion to RegisterOffset

As an added bonus, this also makes the new function return u32 instead
of u64, thus factoring some casts into a single place.

Reviewed-by: Zhao Liu <zhao1.liu@intel.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
H A Ddevice.rs6d314cc04544969bd83521a315312702b8c166d1 Tue Dec 10 12:09:08 UTC 2024 Paolo Bonzini <pbonzini@redhat.com> rust: pl011: extract conversion to RegisterOffset

As an added bonus, this also makes the new function return u32 instead
of u64, thus factoring some casts into a single place.

Reviewed-by: Zhao Liu <zhao1.liu@intel.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>