qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH V2 00/10] SD save/load support and SD qomification
@ 2012-04-05 15:48 Igor Mitsyanko
  2012-04-05 15:48 ` [Qemu-devel] [PATCH V2 01/10] hw/sd.c: convert wp_groups in SDState to bitfield Igor Mitsyanko
                   ` (7 more replies)
  0 siblings, 8 replies; 10+ messages in thread
From: Igor Mitsyanko @ 2012-04-05 15:48 UTC (permalink / raw)
  To: qemu-devel
  Cc: peter.maydell, quintela, kyungmin.park, michael, paul, afaerber,
	d.solodkiy

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

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2012-04-05 17:03 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-04-05 15:48 [Qemu-devel] [PATCH V2 00/10] SD save/load support and SD qomification Igor Mitsyanko
2012-04-05 15:48 ` [Qemu-devel] [PATCH V2 01/10] hw/sd.c: convert wp_groups in SDState to bitfield Igor Mitsyanko
2012-04-05 15:48 ` [Qemu-devel] [PATCH V2 03/10] hw/sd.c: make sd_dataready() return bool Igor Mitsyanko
2012-04-05 15:48 ` [Qemu-devel] [PATCH V2 05/10] hw/sd.c: add SD card save/load support Igor Mitsyanko
2012-04-05 15:48 ` [Qemu-devel] [PATCH V2 06/10] hw/sd.c: convert to QOM object Igor Mitsyanko
2012-04-05 15:48 ` [Qemu-devel] [PATCH V2 07/10] SD card: introduce "if-idx" property for SD card objects Igor Mitsyanko
2012-04-05 15:48 ` [Qemu-devel] [PATCH V2 08/10] SD card: introduce "spi_mode" " Igor Mitsyanko
2012-04-05 15:48 ` [Qemu-devel] [PATCH V2 09/10] SD card: make SD card a child of host controller Igor Mitsyanko
2012-04-05 15:48 ` [Qemu-devel] [PATCH V2 10/10] hw/sd.c: introduce SD card "image" property and allow SD hot-insert Igor Mitsyanko
2012-04-05 17:02   ` Paolo Bonzini

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).