memory: add API for creating ROM/device regions
authorAvi Kivity <avi@redhat.com>
Mon, 8 Aug 2011 16:58:49 +0000 (19:58 +0300)
committerAnthony Liguori <aliguori@us.ibm.com>
Fri, 12 Aug 2011 13:31:30 +0000 (08:31 -0500)
commite5d98393de71738b20207186bee2f27b0d955944
tree37c0df9b94f5d4faeffaa6384f505ae9908a2e12
parent9207c5ce19d19d534654ca145d4604fd5129f28e
memory: add API for creating ROM/device regions

ROM/device regions act as mapped RAM for reads, can I/O memory for
writes.  This allow emulation of flash devices.

Signed-off-by: Avi Kivity <avi@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
memory.c
memory.h