qemu-devel
[Top][All Lists]
Advanced

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

[Qemu-devel] [PATCH v5 05/18] Set mem_io_vaddr on io_read


From: Jan Kiszka
Subject: [Qemu-devel] [PATCH v5 05/18] Set mem_io_vaddr on io_read
Date: Mon, 17 Nov 2008 17:18:58 +0100
User-agent: StGIT/0.14.2

Analogously to write accesses, we have to save the memory address also
on read accesses in order to support read watchpoints.

Signed-off-by: Jan Kiszka <address@hidden>
---

 softmmu_template.h |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/softmmu_template.h b/softmmu_template.h
index 98dd378..cf91804 100644
--- a/softmmu_template.h
+++ b/softmmu_template.h
@@ -64,6 +64,7 @@ static inline DATA_TYPE glue(io_read, 
SUFFIX)(target_phys_addr_t physaddr,
         cpu_io_recompile(env, retaddr);
     }
 
+    env->mem_io_vaddr = addr;
 #if SHIFT <= 2
     res = io_mem_read[index][SHIFT](io_mem_opaque[index], physaddr);
 #else





reply via email to

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