commit | cfe5f011042456ad6ebd815f5ce4177befedd79a | [log] [tgz] |
---|---|---|
author | Avi Kivity <avi@redhat.com> | Thu Aug 04 15:55:30 2011 +0300 |
committer | Avi Kivity <avi@redhat.com> | Sun Sep 04 17:46:51 2011 +0300 |
tree | 9f5620f326451109ea9f43d27a8eb98d1f24541a | |
parent | ccbecf6237db9eed57923b961d48a75c77c7aebd [diff] |
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>