1. 16 3月, 2017 1 次提交
  2. 09 4月, 2013 1 次提交
  3. 14 10月, 2010 1 次提交
    • B
      cirrus: avoid write only variables · 8c78881f
      Blue Swirl 提交于
      Compiling with GCC 4.6.0 20100925 produced a lot of warnings like:
      In file included from /src/qemu/hw/cirrus_vga_rop.h:174:0,
                       from /src/qemu/hw/cirrus_vga.c:284:
      /src/qemu/hw/cirrus_vga_rop2.h: In function 'cirrus_patternfill_0_8':
      /src/qemu/hw/cirrus_vga_rop2.h:48:18: error: variable 'col' set but not used [-Werror=unused-but-set-variable]
      /src/qemu/hw/cirrus_vga_rop2.h: In function 'cirrus_colorexpand_transp_0_8':
      /src/qemu/hw/cirrus_vga_rop2.h:104:18: error: variable 'col' set but not used [-Werror=unused-but-set-variable]
      
      Fix the warnings by introducing an inline function, which avoids
      exposing write-only variables.
      Signed-off-by: NBlue Swirl <blauwirbel@gmail.com>
      8c78881f
  4. 09 5月, 2009 1 次提交
    • A
      vga: Replace VGA_COMMON with a structure · 4e12cd94
      Avi Kivity 提交于
      All VGA devices share a common field subset; currently they do so by
      a macro which defines the common fields inline their state structures,
      relying on the the common state being placed at offset 0 in the structure.
      This makes refactoring the code difficult and requires a lot of error prone
      casts.
      
      Replace the macro by a new VGACommonState structure, and the casts by
      regular field access and container_of() for upcasts.
      Signed-off-by: NAvi Kivity <avi@redhat.com>
      Signed-off-by: NAnthony Liguori <aliguori@us.ibm.com>
      4e12cd94
  5. 17 9月, 2007 2 次提交
  6. 03 7月, 2005 1 次提交
  7. 27 4月, 2005 1 次提交
  8. 18 4月, 2005 1 次提交
  9. 06 7月, 2004 1 次提交
  10. 10 6月, 2004 1 次提交
  11. 08 6月, 2004 1 次提交
  12. 06 6月, 2004 1 次提交