aboutsummaryrefslogtreecommitdiff
path: root/include/tcg
diff options
context:
space:
mode:
authorRichard Henderson <richard.henderson@linaro.org>2024-04-02 19:59:49 -1000
committerRichard Henderson <richard.henderson@linaro.org>2024-05-15 08:55:10 +0200
commitbf4bb074b72a7dc6c9ee5379a1d6b693dcd0a5a6 (patch)
tree31a76a4cf51babb3345223da8a7a5d67cfaa27e2 /include/tcg
parentb3f05b8ce24a2dae2e37bd6e7910f19652848656 (diff)
downloadqemu-bf4bb074b72a7dc6c9ee5379a1d6b693dcd0a5a6.zip
qemu-bf4bb074b72a7dc6c9ee5379a1d6b693dcd0a5a6.tar.gz
qemu-bf4bb074b72a7dc6c9ee5379a1d6b693dcd0a5a6.tar.bz2
accel/tcg: Record DisasContextBase in tcg_ctx for plugins
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'include/tcg')
-rw-r--r--include/tcg/tcg.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/tcg/tcg.h b/include/tcg/tcg.h
index 135e36d..2a1c080 100644
--- a/include/tcg/tcg.h
+++ b/include/tcg/tcg.h
@@ -537,6 +537,7 @@ struct TCGContext {
* space for instructions (for variable-instruction-length ISAs).
*/
struct qemu_plugin_tb *plugin_tb;
+ const struct DisasContextBase *plugin_db;
/* descriptor of the instruction being translated */
struct qemu_plugin_insn *plugin_insn;