diff options
author | Radim Krčmář | 2015-02-17 17:30:53 +0100 |
---|---|---|
committer | Gerd Hoffmann | 2015-03-03 08:33:08 +0100 |
commit | 619616ce31a5a5d167bf26f40d920b26da0a7bfd (patch) | |
tree | 6f173c8fcf5661978bd8b2164895181fc26de37b /hw/pci/pci.c | |
parent | qxl: refactor rounding up to a nearest power of 2 (diff) | |
download | qemu-619616ce31a5a5d167bf26f40d920b26da0a7bfd.tar.gz qemu-619616ce31a5a5d167bf26f40d920b26da0a7bfd.tar.xz qemu-619616ce31a5a5d167bf26f40d920b26da0a7bfd.zip |
vga: refactor vram_size clamping and rounding
Make the code a bit more obvious.
We don't have min/max, so a general helper for clamp probably isn't
acceptable either.
Signed-off-by: Radim Krčmář <rkrcmar@redhat.com>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'hw/pci/pci.c')
0 files changed, 0 insertions, 0 deletions