aboutsummaryrefslogtreecommitdiff
path: root/translate-all.h
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2015-04-22 14:15:48 +0200
committerPaolo Bonzini <pbonzini@redhat.com>2015-06-05 17:09:59 +0200
commit1652b974766401743879d78f796f44b8929b0787 (patch)
tree50a540cbf11b4a70038aa0b614b0cd812b2e13d1 /translate-all.h
parent845b6214a309fa58a4405050bf8313e19fde5c91 (diff)
exec: move functions to translate-all.h
Remove them from the sundry exec-all.h header, since they are only used by the TCG runtime in exec.c and user-exec.c. Reviewed-by: Fam Zheng <famz@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'translate-all.h')
-rw-r--r--translate-all.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/translate-all.h b/translate-all.h
index b6a07bd5d3..f1a40a53c2 100644
--- a/translate-all.h
+++ b/translate-all.h
@@ -21,6 +21,14 @@
/* translate-all.c */
void tb_invalidate_phys_page_fast(tb_page_addr_t start, int len);
+void tb_invalidate_phys_page_range(tb_page_addr_t start, tb_page_addr_t end,
+ int is_cpu_write_access);
+void tb_invalidate_phys_range(tb_page_addr_t start, tb_page_addr_t end,
+ int is_cpu_write_access);
void tb_check_watchpoint(CPUState *cpu);
+#ifdef CONFIG_USER_ONLY
+int page_unprotect(target_ulong address, uintptr_t pc, void *puc);
+#endif
+
#endif /* TRANSLATE_ALL_H */