diff options
| author | Avi Kivity | 2012-02-08 16:07:26 +0100 |
|---|---|---|
| committer | Avi Kivity | 2012-02-29 12:44:42 +0100 |
| commit | d7ec83e6b57f48cf07f663e232e4aa2b32bc33c7 (patch) | |
| tree | a6d308d1a6d8c095b84c7184080aa1e7059a0780 /exec.c | |
| parent | memory: add a readonly attribute to MemoryRegionSection (diff) | |
| download | qemu-d7ec83e6b57f48cf07f663e232e4aa2b32bc33c7.tar.gz qemu-d7ec83e6b57f48cf07f663e232e4aa2b32bc33c7.tar.xz qemu-d7ec83e6b57f48cf07f663e232e4aa2b32bc33c7.zip | |
memory: don't pass ->readable attribute to cpu_register_physical_memory_log
It can be derived from the MemoryRegion itself (which is why it is not
used there).
Signed-off-by: Avi Kivity <avi@redhat.com>
Reviewed-by: Richard Henderson <rth@twiddle.net>
Diffstat (limited to 'exec.c')
| -rw-r--r-- | exec.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -2529,7 +2529,7 @@ static subpage_t *subpage_init (target_phys_addr_t base, ram_addr_t *phys, before calculating this offset. This should not be a problem unless the low bits of start_addr and region_offset differ. */ void cpu_register_physical_memory_log(MemoryRegionSection *section, - bool readable, bool readonly) + bool readonly) { target_phys_addr_t start_addr = section->offset_within_address_space; ram_addr_t size = section->size; |
