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 /hw/timer/mss-timer.c | |
| parent | f65314bdd0c287097f7dd4b002c67ceee9729039 (diff) | |
| download | focaccia-qemu-e1f9353334859ea325f25bd88e01645af63b133b.tar.gz focaccia-qemu-e1f9353334859ea325f25bd88e01645af63b133b.zip | |
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 'hw/timer/mss-timer.c')
0 files changed, 0 insertions, 0 deletions