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).

Backports commit 8e41fb63c5bf29ecabe0cee1239bf6230f19978a from qemu
This commit is contained in:
Fam Zheng 2018-02-21 08:07:39 -05:00 committed by Lioncash
parent 2c1a72635d
commit fa7d3e6cdb
No known key found for this signature in database
GPG key ID: 4E3C3CC1031BA9C7
4 changed files with 21 additions and 29 deletions

View file

@ -159,7 +159,6 @@ struct MemoryRegion {
bool flush_coalesced_mmio;
bool global_locking;
uint8_t dirty_log_mask;
ram_addr_t ram_addr;
RAMBlock *ram_block;
const MemoryRegionIOMMUOps *iommu_ops;
Object *owner;