diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2024-12-04 17:14:00 +0100 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2024-12-19 19:36:38 +0100 |
commit | e1f9353334859ea325f25bd88e01645af63b133b (patch) | |
tree | 87dc2da72b53ca8f961cfcebcd0b39fad3a3d79a /rust/qemu-api/src | |
parent | f65314bdd0c287097f7dd4b002c67ceee9729039 (diff) | |
download | qemu-e1f9353334859ea325f25bd88e01645af63b133b.zip qemu-e1f9353334859ea325f25bd88e01645af63b133b.tar.gz qemu-e1f9353334859ea325f25bd88e01645af63b133b.tar.bz2 |
rust: pl011: fix break errors and definition of Data struct
The Data struct is wrong, and does not show how bits 8-15 of DR
are the receive status. Fix it, and use it to fix break
errors ("c >> 8" in the C code does not translate to
"c.to_be_bytes()[3]").
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'rust/qemu-api/src')
0 files changed, 0 insertions, 0 deletions