[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH v2 03/22] exec: Always initialize MemorySection addr
From: |
edgar . iglesias |
Subject: |
[Qemu-devel] [PATCH v2 03/22] exec: Always initialize MemorySection address spaces |
Date: |
Thu, 19 Dec 2013 15:51:14 +1000 |
From: "Edgar E. Iglesias" <address@hidden>
Signed-off-by: Edgar E. Iglesias <address@hidden>
---
exec.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/exec.c b/exec.c
index c34f642..6d88931 100644
--- a/exec.c
+++ b/exec.c
@@ -878,6 +878,7 @@ static void register_subpage(AddressSpaceDispatch *d,
MemoryRegionSection *secti
if (!(existing->mr->subpage)) {
subpage = subpage_init(d->as, base);
+ subsection.address_space = d->as;
subsection.mr = &subpage->iomem;
phys_page_set(d, base >> TARGET_PAGE_BITS, 1,
phys_section_add(&d->map, &subsection));
@@ -1717,6 +1718,7 @@ static subpage_t *subpage_init(AddressSpace *as, hwaddr
base)
static uint16_t dummy_section(PhysPageMap *map, MemoryRegion *mr)
{
MemoryRegionSection section = {
+ .address_space = &address_space_memory,
.mr = mr,
.offset_within_address_space = 0,
.offset_within_region = 0,
--
1.7.10.4
- [Qemu-devel] [PATCH v2 00/22] Steps towards per CPU address-spaces, edgar . iglesias, 2013/12/19
- [Qemu-devel] [PATCH v2 01/22] exec: Make tb_invalidate_phys_addr input an AS, edgar . iglesias, 2013/12/19
- [Qemu-devel] [PATCH v2 02/22] exec: Make iotlb_to_region input an AS, edgar . iglesias, 2013/12/19
- [Qemu-devel] [PATCH v2 03/22] exec: Always initialize MemorySection address spaces,
edgar . iglesias <=
- [Qemu-devel] [PATCH v2 04/22] exec: Make memory_region_section_get_iotlb use section AS, edgar . iglesias, 2013/12/19
- [Qemu-devel] [PATCH v2 05/22] memory: Add MemoryListener to typedefs.h, edgar . iglesias, 2013/12/19
- [Qemu-devel] [PATCH v2 06/22] cpu: Add per-cpu address space, edgar . iglesias, 2013/12/19
- [Qemu-devel] [PATCH v2 07/22] exec: On AS changes, only flush affected CPU TLBs, edgar . iglesias, 2013/12/19
- [Qemu-devel] [PATCH v2 08/22] exec: Make ldl_*_phys input an AddressSpace, edgar . iglesias, 2013/12/19
- [Qemu-devel] [PATCH v2 09/22] exec: Make ldq/ldub_*_phys input an AddressSpace, edgar . iglesias, 2013/12/19
- [Qemu-devel] [PATCH v2 10/22] exec: Make lduw_*_phys input an AddressSpace, edgar . iglesias, 2013/12/19
- [Qemu-devel] [PATCH v2 11/22] exec: Make stq_*_phys input an AddressSpace, edgar . iglesias, 2013/12/19
- [Qemu-devel] [PATCH v2 12/22] exec: Make stl_*_phys input an AddressSpace, edgar . iglesias, 2013/12/19
- [Qemu-devel] [PATCH v2 13/22] exec: Make stl_phys_notdirty input an AddressSpace, edgar . iglesias, 2013/12/19