diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2024-04-02 12:24:20 +0200 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2024-04-02 18:08:59 +0200 |
commit | 5c00acebb6fb92ff169b322c9e74d06d8b922232 (patch) | |
tree | 443d2dca7ea8fb098911b4cd7c9f254d0a430f25 /scripts/qapi/parser.py | |
parent | 7fcf7575f3d201fc84ae168017ffdfd6c86257a6 (diff) | |
download | qemu-5c00acebb6fb92ff169b322c9e74d06d8b922232.zip qemu-5c00acebb6fb92ff169b322c9e74d06d8b922232.tar.gz qemu-5c00acebb6fb92ff169b322c9e74d06d8b922232.tar.bz2 |
vga: merge conditionals on shift control register
There are two sets of conditionals using the shift control bits: one to
verify the palette and adjust disp_width, one to compute the "v" and
"bits" variables. Merge them into one, with the extra benefit that
we now have the "bits" value available early and can use it to
compute region_end.
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'scripts/qapi/parser.py')
0 files changed, 0 insertions, 0 deletions