summaryrefslogtreecommitdiffstats
path: root/include/disas
diff options
context:
space:
mode:
authorRichard Henderson2020-10-28 20:05:44 +0100
committerRichard Henderson2021-01-07 16:09:41 +0100
commitdb0c51a380394b21b33a6294367aff03ab06b286 (patch)
tree532b0abe24deda387ecdc065461dd698967d39ea /include/disas
parenttcg: Add in_code_gen_buffer (diff)
downloadqemu-db0c51a380394b21b33a6294367aff03ab06b286.tar.gz
qemu-db0c51a380394b21b33a6294367aff03ab06b286.tar.xz
qemu-db0c51a380394b21b33a6294367aff03ab06b286.zip
tcg: Introduce tcg_splitwx_to_{rx,rw}
Add two helper functions, using a global variable to hold the displacement. The displacement is currently always 0, so no change in behaviour. Begin using the functions in tcg common code only. Reviewed-by: Joelle van Dyne <j@getutm.app> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'include/disas')
-rw-r--r--include/disas/disas.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/disas/disas.h b/include/disas/disas.h
index 36c33f6f19..d363e95ede 100644
--- a/include/disas/disas.h
+++ b/include/disas/disas.h
@@ -7,7 +7,7 @@
#include "cpu.h"
/* Disassemble this for me please... (debugging). */
-void disas(FILE *out, void *code, unsigned long size);
+void disas(FILE *out, const void *code, unsigned long size);
void target_disas(FILE *out, CPUState *cpu, target_ulong code,
target_ulong size);