[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH 1/3] memory: make function invalidate_and_set_dirty
From: |
Efimov Vasily |
Subject: |
[Qemu-devel] [PATCH 1/3] memory: make function invalidate_and_set_dirty public |
Date: |
Thu, 16 Jul 2015 11:35:02 +0300 |
Make function invalidate_and_set_dirty public. It is required by PAM emulation.
Signed-off-by: Efimov Vasily <address@hidden>
---
exec.c | 2 +-
include/exec/memory-internal.h | 3 +++
2 files changed, 4 insertions(+), 1 deletion(-)
diff --git a/exec.c b/exec.c
index 251dc79..4e37ded 100644
--- a/exec.c
+++ b/exec.c
@@ -2281,7 +2281,7 @@ int cpu_memory_rw_debug(CPUState *cpu, target_ulong addr,
#else
-static void invalidate_and_set_dirty(MemoryRegion *mr, hwaddr addr,
+void invalidate_and_set_dirty(MemoryRegion *mr, hwaddr addr,
hwaddr length)
{
uint8_t dirty_log_mask = memory_region_get_dirty_log_mask(mr);
diff --git a/include/exec/memory-internal.h b/include/exec/memory-internal.h
index fb467ac..801da82 100644
--- a/include/exec/memory-internal.h
+++ b/include/exec/memory-internal.h
@@ -31,5 +31,8 @@ extern const MemoryRegionOps unassigned_mem_ops;
bool memory_region_access_valid(MemoryRegion *mr, hwaddr addr,
unsigned size, bool is_write);
+void invalidate_and_set_dirty(MemoryRegion *mr, hwaddr addr,
+ hwaddr length);
+
#endif
#endif
--
1.9.1
- [Qemu-devel] [PATCH 0/3] PAM emulation improvement, Efimov Vasily, 2015/07/16
- [Qemu-devel] [PATCH 1/3] memory: make function invalidate_and_set_dirty public,
Efimov Vasily <=
- [Qemu-devel] [PATCH 2/3] memory: make function memory_access_is_direct public, Efimov Vasily, 2015/07/16
- [Qemu-devel] [PATCH 3/3] PAM: make PAM emulation closer to documentation, Efimov Vasily, 2015/07/16
- Re: [Qemu-devel] [PATCH 3/3] PAM: make PAM emulation closer to documentation, Paolo Bonzini, 2015/07/16
- Re: [Qemu-devel] [PATCH 3/3] PAM: make PAM emulation closer to documentation, Ефимов Василий, 2015/07/16
- Re: [Qemu-devel] [PATCH 3/3] PAM: make PAM emulation closer to documentation, Paolo Bonzini, 2015/07/16
- Re: [Qemu-devel] [PATCH 3/3] PAM: make PAM emulation closer to documentation, Ефимов Василий, 2015/07/16
- Re: [Qemu-devel] [PATCH 3/3] PAM: make PAM emulation closer to documentation, Paolo Bonzini, 2015/07/16
- Re: [Qemu-devel] [PATCH 3/3] PAM: make PAM emulation closer to documentation, Ефимов Василий, 2015/07/17
- Re: [Qemu-devel] [PATCH 3/3] PAM: make PAM emulation closer to documentation, Paolo Bonzini, 2015/07/17