diff options
author | Akihiko Odaki <akihiko.odaki@daynix.com> | 2023-02-23 19:19:51 +0900 |
---|---|---|
committer | Jason Wang <jasowang@redhat.com> | 2023-03-10 15:35:38 +0800 |
commit | c16bd68e16198d4cc9f77cb8d4e75fd2f64b364e (patch) | |
tree | add371b1f0a3099218016a98223ebca5a67551b6 /ui/sdl2-2d.c | |
parent | 3de66fe4d7e4716c8fd544dfad5cc5e445ced12c (diff) | |
download | qemu-c16bd68e16198d4cc9f77cb8d4e75fd2f64b364e.zip qemu-c16bd68e16198d4cc9f77cb8d4e75fd2f64b364e.tar.gz qemu-c16bd68e16198d4cc9f77cb8d4e75fd2f64b364e.tar.bz2 |
e1000e: Mask registers when writing
When a register has effective bits fewer than their width, the old code
inconsistently masked when writing or reading. Make the code consistent
by always masking when writing, and remove some code duplication.
Signed-off-by: Akihiko Odaki <akihiko.odaki@daynix.com>
Signed-off-by: Jason Wang <jasowang@redhat.com>
Diffstat (limited to 'ui/sdl2-2d.c')
0 files changed, 0 insertions, 0 deletions