aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorRichard Henderson <richard.henderson@linaro.org>2024-04-02 15:27:14 -1000
committerRichard Henderson <richard.henderson@linaro.org>2024-05-15 08:54:32 +0200
commit99977aefd07d85da791e0d851ba2d10d9d5c3094 (patch)
tree3e2e6bcbc267915e7e1cb4660cf87308eafbac73 /include
parent66f3b79e85149f42465a580c2530638e27c4a4bb (diff)
downloadqemu-99977aefd07d85da791e0d851ba2d10d9d5c3094.zip
qemu-99977aefd07d85da791e0d851ba2d10d9d5c3094.tar.gz
qemu-99977aefd07d85da791e0d851ba2d10d9d5c3094.tar.bz2
accel/tcg: Pass DisasContextBase to translator_fake_ldb
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'include')
-rw-r--r--include/exec/translator.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/include/exec/translator.h b/include/exec/translator.h
index 212362f..348985c 100644
--- a/include/exec/translator.h
+++ b/include/exec/translator.h
@@ -222,15 +222,16 @@ translator_ldq_swap(CPUArchState *env, DisasContextBase *db,
/**
* translator_fake_ldb - fake instruction load
- * @insn8: byte of instruction
+ * @db: Disassembly context
* @pc: program counter of instruction
+ * @insn8: byte of instruction
*
* This is a special case helper used where the instruction we are
* about to translate comes from somewhere else (e.g. being
* re-synthesised for s390x "ex"). It ensures we update other areas of
* the translator with details of the executed instruction.
*/
-void translator_fake_ldb(uint8_t insn8, vaddr pc);
+void translator_fake_ldb(DisasContextBase *db, vaddr pc, uint8_t insn8);
#ifdef COMPILING_PER_TARGET
/*