qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [PATCH V2 00/10] SD save/load support and SD qomification


From: Igor Mitsyanko
Subject: [Qemu-devel] [PATCH V2 00/10] SD save/load support and SD qomification
Date: Thu, 05 Apr 2012 19:48:23 +0400

v1->v2
PATCH1: use bitmap.h heder for bit operations.
PATCH6: use wrappers to call SDClass methods
Added 4 new patches:
PATCH7 and PATCH8 drope passing arguments to SDClass::init functions and 
replace them with
SD card object properties. SDClass::init is trivialized to realize().
PATCH10 adds "image" property to SD card objects. This property can be used for
hot-insertion/hot-cardchange in virtual SD card slot.

PATCH1 converts wp_groups member of SDState to bitfield significantly reducing
memory consumption.
PATCH2-4 convert binary variables to bool type.
PATCH5 adds save/load support for SDState, intermediate variable introduced in 
SDState
to hold size of wp_groups array.
PATCH6 converts SD state to QOM object. QOMified implementation doesn't have any
advantages over current one but it gives us enormous possibilities for further
improvements.

Igor Mitsyanko (10):
  hw/sd.c: convert wp_groups in SDState to bitfield
  hw/sd.c: convert binary variables to bool
  hw/sd.c: make sd_dataready() return bool
  hw/sd.c: make sd_wp_addr() return bool
  hw/sd.c: add SD card save/load support
  hw/sd.c: convert to QOM object
  SD card: introduce "if-idx" property for SD card objects
  SD card: introduce "spi_mode" property for SD card objects
  SD card: make SD card a child of host controller
  hw/sd.c: introduce SD card "image" property and allow SD hot-insert

 hw/milkymist-memcard.c |   31 ++++--
 hw/omap.h              |    4 +-
 hw/omap1.c             |    2 +-
 hw/omap2.c             |    2 +-
 hw/omap_mmc.c          |   42 +++++---
 hw/pl181.c             |   21 +++-
 hw/pxa.h               |    2 +-
 hw/pxa2xx.c            |    5 +-
 hw/pxa2xx_mmci.c       |   29 +++--
 hw/sd.c                |  301 ++++++++++++++++++++++++++++++++++++++----------
 hw/sd.h                |   38 +++++--
 hw/ssi-sd.c            |   18 ++-
 12 files changed, 374 insertions(+), 121 deletions(-)

-- 
1.7.4.1




reply via email to

[Prev in Thread] Current Thread [Next in Thread]