diff options
author | Avi Kivity <avi@redhat.com> | 2012-01-02 15:40:52 +0200 |
---|---|---|
committer | Avi Kivity <avi@redhat.com> | 2012-01-04 13:34:50 +0200 |
commit | 75c578dcaae48f239fc87b545022efa8fa13f455 (patch) | |
tree | e3a7182da298ce03bb894fa166c236fb6689a5d4 /cpu-common.h | |
parent | b3b00c78d8247cdffc25839d4b8ff0310a889480 (diff) |
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.h | 3 |
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 */ |