On Sun, Jan 29, 2012 at 19:12, Blue Swirl <blauwir...@gmail.com> wrote: > Patch 1 has been sent several times, though the logic has been copied > from flawed implementations before. > > Other patches should be trivial.
Pushed. I compared vga.o object files with codiff and objdump disassembler before and after the constant patch and the code was identical. > URL git://repo.or.cz/qemu/blueswirl.git > http://repo.or.cz/r/qemu/blueswirl.git > > Blue Swirl (6): > memory: change dirty getting API to take a size > vga: move Cirrus VGA template to its own file > Add vga.h unmodified from Linux > vga.h: remove unused stuff and reformat > vga: use constants from vga.h > vga: improve documentation > > arch_init.c | 7 +- > exec-obsolete.h | 15 ++- > hw/cirrus_vga.c | 9 + > hw/cirrus_vga_template.h | 102 ++++++++++++ > hw/framebuffer.c | 9 +- > hw/g364fb.c | 3 +- > hw/sm501.c | 11 +- > hw/tcx.c | 19 +-- > hw/vga.c | 391 > +++++++++++++++++++++++++--------------------- > hw/vga.h | 159 +++++++++++++++++++ > hw/vga_int.h | 16 -- > hw/vga_template.h | 74 +-------- > memory.c | 5 +- > memory.h | 9 +- > 14 files changed, 526 insertions(+), 303 deletions(-) > create mode 100644 hw/cirrus_vga_template.h > create mode 100644 hw/vga.h > > -- > 1.7.9.rc0