summaryrefslogtreecommitdiffstats
path: root/cpu-common.h
diff options
context:
space:
mode:
authorAvi Kivity2012-01-02 14:40:52 +0100
committerAvi Kivity2012-01-04 12:34:50 +0100
commit75c578dcaae48f239fc87b545022efa8fa13f455 (patch)
treee3a7182da298ce03bb894fa166c236fb6689a5d4 /cpu-common.h
parentRemove IO_MEM_SUBPAGE (diff)
downloadqemu-75c578dcaae48f239fc87b545022efa8fa13f455.tar.gz
qemu-75c578dcaae48f239fc87b545022efa8fa13f455.tar.xz
qemu-75c578dcaae48f239fc87b545022efa8fa13f455.zip
Drop IO_MEM_ROMD
Unlike ->readonly, ->readable is not inherited from aliase, so we can simply query the memory region. Signed-off-by: Avi Kivity <avi@redhat.com> Reviewed-by: Richard Henderson <rth@twiddle.net>
Diffstat (limited to 'cpu-common.h')
-rw-r--r--cpu-common.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/cpu-common.h b/cpu-common.h
index ffb0a44e13..0f3a68235f 100644
--- a/cpu-common.h
+++ b/cpu-common.h
@@ -114,9 +114,6 @@ extern struct MemoryRegion io_mem_rom;
extern struct MemoryRegion io_mem_unassigned;
extern struct MemoryRegion io_mem_notdirty;
-/* Acts like a ROM when read and like a device when written. */
-#define IO_MEM_ROMD (1)
-
#endif
#endif /* !CPU_COMMON_H */