summaryrefslogtreecommitdiff
path: root/exec-obsolete.h
diff options
context:
space:
mode:
authorAvi Kivity <avi@redhat.com>2012-02-08 16:54:16 +0200
committerAvi Kivity <avi@redhat.com>2012-02-29 13:44:42 +0200
commit9363274709af23c499b6db3eb402b6f9aa46c40b (patch)
tree5db489178fce25d9af97354b916cee3cd5e3be10 /exec-obsolete.h
parentd7ec83e6b57f48cf07f663e232e4aa2b32bc33c7 (diff)
memory: use a MemoryListener for core memory map updates too
This transforms memory.c into a library which can then be unit tested easily, by feeding it inputs and listening to its outputs. Signed-off-by: Avi Kivity <avi@redhat.com> Reviewed-by: Richard Henderson <rth@twiddle.net>
Diffstat (limited to 'exec-obsolete.h')
-rw-r--r--exec-obsolete.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/exec-obsolete.h b/exec-obsolete.h
index 23ffbaaf4..4dbe4768a 100644
--- a/exec-obsolete.h
+++ b/exec-obsolete.h
@@ -121,6 +121,9 @@ static inline void cpu_physical_memory_mask_dirty_range(ram_addr_t start,
void cpu_physical_memory_reset_dirty(ram_addr_t start, ram_addr_t end,
int dirty_flags);
+
+extern const IORangeOps memory_region_iorange_ops;
+
#endif
#endif