| commit | 6d314cc04544969bd83521a315312702b8c166d1 | [log] [tgz] |
|---|---|---|
| author | Paolo Bonzini <pbonzini@redhat.com> | Tue Dec 10 13:09:08 2024 +0100 |
| committer | Paolo Bonzini <pbonzini@redhat.com> | Mon Jan 27 19:27:02 2025 +0100 |
| tree | 9e3cc420e3aedc9379f61e0aa4d84f3c939149b7 | |
| parent | d1f27ae9ca1c87268b97741c0a2560baa7be4c8b [diff] |
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>