summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorFam Zheng <famz@redhat.com>2016-03-01 14:18:21 +0800
committerTimothy Pearson <tpearson@raptorengineering.com>2019-11-29 19:49:12 -0600
commitda82b10cad316f3f21cfed78fa98ef38b095aab5 (patch)
tree154a125d99c912845b4748bac6ed7b35275c8b36 /include
parente9afa9e7cae68c2ba1124ffcd22e5b85c7eab70e (diff)
downloadhqemu-da82b10cad316f3f21cfed78fa98ef38b095aab5.zip
hqemu-da82b10cad316f3f21cfed78fa98ef38b095aab5.tar.gz
memory: Drop MemoryRegion.ram_addr
All references to mr->ram_addr are replaced by memory_region_get_ram_addr(mr) (except for a few assertions that are replaced with mr->ram_block). Reviewed-by: Gonglei <arei.gonglei@huawei.com> Signed-off-by: Fam Zheng <famz@redhat.com> Message-Id: <1456813104-25902-5-git-send-email-famz@redhat.com> Acked-by: Laszlo Ersek <lersek@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'include')
-rw-r--r--include/exec/memory.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/exec/memory.h b/include/exec/memory.h
index 5296e5f..a06fb11 100644
--- a/include/exec/memory.h
+++ b/include/exec/memory.h
@@ -169,7 +169,6 @@ struct MemoryRegion {
bool flush_coalesced_mmio;
bool global_locking;
uint8_t dirty_log_mask;
- ram_addr_t ram_addr;
RAMBlock *ram_block;
Object *owner;
const MemoryRegionIOMMUOps *iommu_ops;
OpenPOWER on IntegriCloud