diff options
author | Richard Henderson <richard.henderson@linaro.org> | 2024-04-02 15:27:14 -1000 |
---|---|---|
committer | Richard Henderson <richard.henderson@linaro.org> | 2024-05-15 08:54:32 +0200 |
commit | 99977aefd07d85da791e0d851ba2d10d9d5c3094 (patch) | |
tree | 3e2e6bcbc267915e7e1cb4660cf87308eafbac73 /include/exec/translator.h | |
parent | 66f3b79e85149f42465a580c2530638e27c4a4bb (diff) | |
download | qemu-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/exec/translator.h')
-rw-r--r-- | include/exec/translator.h | 5 |
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 /* |