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 /memory.h | |
| parent | b3b00c78d8247cdffc25839d4b8ff0310a889480 (diff) | |
| download | focaccia-qemu-75c578dcaae48f239fc87b545022efa8fa13f455.tar.gz focaccia-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 'memory.h')
| -rw-r--r-- | memory.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/memory.h b/memory.h index fbca6f146c..70f57fbc12 100644 --- a/memory.h +++ b/memory.h @@ -125,6 +125,7 @@ struct MemoryRegion { bool ram; bool readonly; /* For RAM regions */ bool enabled; + bool rom_device; MemoryRegion *alias; target_phys_addr_t alias_offset; unsigned priority; |