1. 18 8月, 2011 2 次提交
    • P
      versatilepb: Implement SYS_CLCD mux control register bits · 242ea2c6
      Peter Maydell 提交于
      On the Versatile PB, PL110 graphics adaptor only natively supports
      5551 pixel format; an external mux swaps bits around to allow
      RGB565 and BGR565, under the control of bits [1:0] in the SYS_CLCD
      system register.
      
      Implement these SYS_CLCD register bits, and use a gpio line to
      feed them out of the system register model, across the versatilepb
      board and into the pl110 so we can select the right format.
      
      This is necessary as recent Linux versatile kernels default to
      programming the CLCD and mux for 16 bit BGR rather than 16 bit RGB.
      Signed-off-by: NPeter Maydell <peter.maydell@linaro.org>
      242ea2c6
    • P
      hw/pl110: Model the PL111 CLCD controller · 4fbf5556
      Peter Maydell 提交于
      Model the PL111 CLCD controller. This is a minor variation
      on the PL110; the major programmer visible differences are
      support for hardware cursor (unimplemented) and two new
      pixel formats.
      
      Since syborg_fb.c borrows the pl11x pixel drawing routines,
      we also update it to cope with the new slightly larger array
      of function pointers.
      Signed-off-by: NPeter Maydell <peter.maydell@linaro.org>
      4fbf5556
  2. 24 7月, 2011 1 次提交
  3. 20 1月, 2011 1 次提交
  4. 11 12月, 2010 1 次提交
    • A
      Add endianness as io mem parameter · 2507c12a
      Alexander Graf 提交于
      As stated before, devices can be little, big or native endian. The
      target endianness is not of their concern, so we need to push things
      down a level.
      
      This patch adds a parameter to cpu_register_io_memory that allows a
      device to choose its endianness. For now, all devices simply choose
      native endian, because that's the same behavior as before.
      Signed-off-by: NAlexander Graf <agraf@suse.de>
      Signed-off-by: NBlue Swirl <blauwirbel@gmail.com>
      2507c12a
  5. 02 10月, 2009 2 次提交
  6. 28 8月, 2009 1 次提交
    • G
      qdev: add return value to init() callbacks. · 81a322d4
      Gerd Hoffmann 提交于
      Sorry folks, but it has to be.  One more of these invasive qdev patches.
      
      We have a serious design bug in the qdev interface:  device init
      callbacks can't signal failure because the init() callback has no
      return value.  This patch fixes it.
      
      We have already one case in-tree where this is needed:
      Try -device virtio-blk-pci (without drive= specified) and watch qemu
      segfault.  This patch fixes it.
      
      With usb+scsi being converted to qdev we'll get more devices where the
      init callback can fail for various reasons.
      Signed-off-by: NGerd Hoffmann <kraxel@redhat.com>
      Signed-off-by: NAnthony Liguori <aliguori@us.ibm.com>
      81a322d4
  7. 26 8月, 2009 1 次提交
  8. 31 7月, 2009 1 次提交
  9. 17 6月, 2009 1 次提交
  10. 15 5月, 2009 1 次提交
  11. 08 5月, 2009 1 次提交
  12. 01 4月, 2009 2 次提交
  13. 17 1月, 2009 1 次提交
    • A
      graphical_console_init change (Stefano Stabellini) · 3023f332
      aliguori 提交于
      Patch 5/7
      
      This patch changes the graphical_console_init function to return an
      allocated DisplayState instead of a QEMUConsole.
      
      This patch contains just the graphical_console_init change and few other
      modifications mainly in console.c and vl.c.
      It was necessary to move the display frontends (e.g. sdl and vnc)
      initialization after machine->init in vl.c.
      
      This patch does *not* include any required changes to any device, these
      changes come with the following patches.
      
      Patch 6/7
      
      This patch changes the QEMUMachine init functions not to take a
      DisplayState as an argument because is not needed any more;
      
      In few places the graphic hardware initialization function was called
      only if DisplayState was not NULL, now they are always called.
      Apart from these cases, the rest are all mechanical substitutions.
      
      Patch 7/7
      
      This patch updates the graphic device code to use the new
      graphical_console_init function.
      
      As for the previous patch, in few places graphical_console_init was called
      only if DisplayState was not NULL, now it is always called.
      Apart from these cases, the rest are all mechanical substitutions.
      Signed-off-by: NStefano Stabellini <stefano.stabellini@eu.citrix.com>
      Signed-off-by: NAnthony Liguori <aliguori@us.ibm.com>
      
      
      
      git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6344 c046a42c-6fe2-441c-8c8c-71466251a162
      3023f332
  14. 02 12月, 2008 1 次提交
  15. 25 11月, 2008 1 次提交
  16. 02 7月, 2008 1 次提交
  17. 11 2月, 2008 1 次提交
  18. 18 11月, 2007 1 次提交
  19. 11 11月, 2007 1 次提交
  20. 05 10月, 2007 1 次提交
  21. 17 9月, 2007 2 次提交
  22. 30 6月, 2007 1 次提交
  23. 03 6月, 2007 1 次提交
  24. 08 4月, 2007 1 次提交
  25. 22 10月, 2006 1 次提交
  26. 19 4月, 2006 1 次提交
  27. 09 4月, 2006 2 次提交
  28. 03 3月, 2006 1 次提交
  29. 07 2月, 2006 1 次提交
  30. 06 2月, 2006 1 次提交