summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorPaolo Bonzini2017-07-03 17:54:25 +0200
committerPaolo Bonzini2017-07-04 16:01:16 +0200
commitbeeaef55e487acd3f42b4057a9233e7d0454725b (patch)
tree061ff15ff90b93d99ca27cde86e72986d2da5823 /include
parenttcg: add the tcg-stub.c file into accel/stubs/ (diff)
downloadqemu-beeaef55e487acd3f42b4057a9233e7d0454725b.tar.gz
qemu-beeaef55e487acd3f42b4057a9233e7d0454725b.tar.xz
qemu-beeaef55e487acd3f42b4057a9233e7d0454725b.zip
tcg: move tb_lock out of translate-all.h
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'include')
-rw-r--r--include/exec/exec-all.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/exec/exec-all.h b/include/exec/exec-all.h
index 724ec73dce..0b56432a3a 100644
--- a/include/exec/exec-all.h
+++ b/include/exec/exec-all.h
@@ -467,6 +467,10 @@ extern uintptr_t tci_tb_ptr;
smaller than 4 bytes, so we don't worry about special-casing this. */
#define GETPC_ADJ 2
+void tb_lock(void);
+void tb_unlock(void);
+void tb_lock_reset(void);
+
#if !defined(CONFIG_USER_ONLY)
struct MemoryRegion *iotlb_to_region(CPUState *cpu,