qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH v8 0/2] PC system flash support
@ 2011-11-28  2:26 Jordan Justen
  2011-11-28  2:26 ` [Qemu-devel] [PATCH v8 1/2] pflash: Support read-only mode Jordan Justen
                   ` (2 more replies)
  0 siblings, 3 replies; 10+ messages in thread
From: Jordan Justen @ 2011-11-28  2:26 UTC (permalink / raw)
  To: qemu-devel; +Cc: Jordan Justen

Enable flash emulation in a PC system using pflash_cfi01.

v8:
* Cleanup two chunks of debug code (printf messages)
* Fix comment in pc.h (pcflash.c => pc_sysfw.c)

v7:
* Do not add system firmware to qemu roms
* If kvm is enabled, copy pflash drive contents into a
  read-only ram region, since kvm cannot currently execute
  code from a pflash device.
* Rename pcflash.c to pc_sysfw.c

v6:
* Rebase for memory API
* pflash_cfi01: Set error in status register when a write to
  erase is attempted in read-only mode.
* Add system firmware to qemu roms

v5:
* Enable pflash read-only mode
* Enable -drive with if=pflash to define system firmware image

v4:
* Rebase

v3:
* Fix code style issues
* Add additional comments

v2:
* Convert debug printf to DPRINTF

Jordan Justen (2):
  pflash: Support read-only mode
  pc: Support system flash memory with pflash

 Makefile.target                    |    1 +
 blockdev.c                         |    3 +-
 default-configs/i386-softmmu.mak   |    1 +
 default-configs/x86_64-softmmu.mak |    1 +
 hw/boards.h                        |    1 +
 hw/pc.c                            |   55 +---------
 hw/pc.h                            |    3 +
 hw/pc_sysfw.c                      |  194 ++++++++++++++++++++++++++++++++++++
 hw/pflash_cfi01.c                  |   44 ++++++---
 hw/pflash_cfi02.c                  |   83 ++++++++-------
 vl.c                               |    2 +-
 11 files changed, 284 insertions(+), 104 deletions(-)
 create mode 100644 hw/pc_sysfw.c

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

end of thread, other threads:[~2011-12-01  9:43 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-11-28  2:26 [Qemu-devel] [PATCH v8 0/2] PC system flash support Jordan Justen
2011-11-28  2:26 ` [Qemu-devel] [PATCH v8 1/2] pflash: Support read-only mode Jordan Justen
2011-11-28  2:26 ` [Qemu-devel] [PATCH v8 2/2] pc: Support system flash memory with pflash Jordan Justen
2011-11-28 10:28 ` [Qemu-devel] [PATCH v8 0/2] PC system flash support Avi Kivity
2011-11-29  7:03   ` Jordan Justen
2011-11-29  9:38     ` Avi Kivity
2011-11-29 20:51       ` Jordan Justen
2011-12-01  9:43         ` Avi Kivity
2011-11-30  8:04       ` Markus Armbruster
2011-11-30  8:38         ` Markus Armbruster

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).