[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH v7 0/2] PC system flash support
From: |
Jordan Justen |
Subject: |
[Qemu-devel] [PATCH v7 0/2] PC system flash support |
Date: |
Wed, 2 Nov 2011 21:19:21 -0700 |
Enable flash emulation in a PC system using pflash_cfi01.
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 or
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 | 196 ++++++++++++++++++++++++++++++++++++
hw/pflash_cfi01.c | 44 ++++++---
hw/pflash_cfi02.c | 83 ++++++++-------
vl.c | 2 +-
11 files changed, 286 insertions(+), 104 deletions(-)
create mode 100644 hw/pc_sysfw.c
- [Qemu-devel] [PATCH v7 0/2] PC system flash support,
Jordan Justen <=
Re: [Qemu-devel] [PATCH v7 0/2] PC system flash support, Zhi Yong Wu, 2011/11/07