]> git.proxmox.com Git - qemu.git/commit - hw/mips_r4k.c
pflash_cfi01/pflash_cfi02: convert to memory API
authorAvi Kivity <avi@redhat.com>
Thu, 4 Aug 2011 12:55:30 +0000 (15:55 +0300)
committerAvi Kivity <avi@redhat.com>
Sun, 4 Sep 2011 14:46:51 +0000 (17:46 +0300)
commitcfe5f011042456ad6ebd815f5ce4177befedd79a
tree9f5620f326451109ea9f43d27a8eb98d1f24541a
parentccbecf6237db9eed57923b961d48a75c77c7aebd
pflash_cfi01/pflash_cfi02: convert to memory API

cfi02 is annoying in that is ignores some address bits; we probably
want explicit support in the memory API for that.

In order to get the correct opaque into the MemoryRegion object, the
allocation scheme is changed so that the flash emulation code allocates
memory, instead of the caller.  This clears a FIXME in the flash code.

Signed-off-by: Avi Kivity <avi@redhat.com>
18 files changed:
hw/collie.c
hw/flash.h
hw/gumstix.c
hw/lm32_boards.c
hw/mainstone.c
hw/milkymist.c
hw/mips_malta.c
hw/mips_r4k.c
hw/musicpal.c
hw/omap_sx1.c
hw/petalogix_ml605_mmu.c
hw/petalogix_s3adsp1800_mmu.c
hw/pflash_cfi01.c
hw/pflash_cfi02.c
hw/ppc405_boards.c
hw/r2d.c
hw/virtex_ml507.c
hw/z2.c