summaryrefslogtreecommitdiffstats
path: root/memory.h
diff options
context:
space:
mode:
authorAnthony Liguori2011-09-26 15:00:29 +0200
committerAnthony Liguori2011-09-26 15:00:29 +0200
commit04970fd9339f75f5d21c094ab816a8e429dc1ff1 (patch)
treec94576069c31b930193fc31d53a721a1638994c9 /memory.h
parentMerge remote-tracking branch 'pmaydell/omap-for-upstream' into staging (diff)
parentmemory: implement memory_region_set_readonly() (diff)
downloadqemu-04970fd9339f75f5d21c094ab816a8e429dc1ff1.tar.gz
qemu-04970fd9339f75f5d21c094ab816a8e429dc1ff1.tar.xz
qemu-04970fd9339f75f5d21c094ab816a8e429dc1ff1.zip
Merge remote-tracking branch 'qemu-kvm-tmp/memory/core' into staging
Diffstat (limited to 'memory.h')
-rw-r--r--memory.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/memory.h b/memory.h
index 06b83ae76b..e93e65a4f2 100644
--- a/memory.h
+++ b/memory.h
@@ -114,6 +114,7 @@ struct MemoryRegion {
IORange iorange;
bool terminates;
bool readable;
+ bool readonly; /* For RAM regions */
MemoryRegion *alias;
target_phys_addr_t alias_offset;
unsigned priority;