qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [PATCH v4 04/22] exec: Make memory_region_section_get_iotlb


From: Edgar E. Iglesias
Subject: [Qemu-devel] [PATCH v4 04/22] exec: Make memory_region_section_get_iotlb use section AS
Date: Mon, 3 Feb 2014 19:44:32 +1000

From: "Edgar E. Iglesias" <address@hidden>

Signed-off-by: Edgar E. Iglesias <address@hidden>
---
 exec.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/exec.c b/exec.c
index 3814a7e..d8cfe52 100644
--- a/exec.c
+++ b/exec.c
@@ -781,7 +781,7 @@ hwaddr memory_region_section_get_iotlb(CPUArchState *env,
             iotlb |= PHYS_SECTION_ROM;
         }
     } else {
-        iotlb = section - address_space_memory.dispatch->map.sections;
+        iotlb = section - section->address_space->dispatch->map.sections;
         iotlb += xlat;
     }
 
-- 
1.8.1.2




reply via email to

[Prev in Thread] Current Thread [Next in Thread]