[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 02/22] tcg: Make tcg/helper-info.h self-contained
|
From: |
Richard Henderson |
|
Subject: |
[PATCH 02/22] tcg: Make tcg/helper-info.h self-contained |
|
Date: |
Fri, 15 Mar 2024 15:57:00 -1000 |
Move MAX_CALL_IARGS from tcg.h and include for
the define of TCG_TARGET_REG_BITS.
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
---
include/tcg/helper-info.h | 3 +++
include/tcg/tcg.h | 2 --
2 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/include/tcg/helper-info.h b/include/tcg/helper-info.h
index 7c27d6164a..909fe73afa 100644
--- a/include/tcg/helper-info.h
+++ b/include/tcg/helper-info.h
@@ -12,6 +12,9 @@
#ifdef CONFIG_TCG_INTERPRETER
#include <ffi.h>
#endif
+#include "tcg-target-reg-bits.h"
+
+#define MAX_CALL_IARGS 7
/*
* Describe the calling convention of a given argument type.
diff --git a/include/tcg/tcg.h b/include/tcg/tcg.h
index e9d05f40b0..a6e7df146a 100644
--- a/include/tcg/tcg.h
+++ b/include/tcg/tcg.h
@@ -39,8 +39,6 @@
/* XXX: make safe guess about sizes */
#define MAX_OP_PER_INSTR 266
-#define MAX_CALL_IARGS 7
-
#define CPU_TEMP_BUF_NLONGS 128
#define TCG_STATIC_FRAME_SIZE (CPU_TEMP_BUF_NLONGS * sizeof(long))
--
2.34.1
- [PATCH 00/22] plugins: Rewrite plugin code generation, Richard Henderson, 2024/03/15
- [PATCH 01/22] tcg: Add TCGContext.emit_before_op, Richard Henderson, 2024/03/15
- [PATCH 04/22] plugins: Zero new qemu_plugin_dyn_cb entries, Richard Henderson, 2024/03/15
- [PATCH 02/22] tcg: Make tcg/helper-info.h self-contained,
Richard Henderson <=
- [PATCH 03/22] tcg: Pass function pointer to tcg_gen_call*, Richard Henderson, 2024/03/15
- [PATCH 06/22] plugins: Create TCGHelperInfo for all out-of-line callbacks, Richard Henderson, 2024/03/15
- [PATCH 05/22] plugins: Move function pointer in qemu_plugin_dyn_cb, Richard Henderson, 2024/03/15
- [PATCH 07/22] plugins: Use emit_before_op for PLUGIN_GEN_AFTER_INSN, Richard Henderson, 2024/03/15
- [PATCH 08/22] plugins: Use emit_before_op for PLUGIN_GEN_FROM_TB, Richard Henderson, 2024/03/15
- [PATCH 09/22] plugins: Add PLUGIN_GEN_AFTER_TB, Richard Henderson, 2024/03/15
- [PATCH 10/22] plugins: Use emit_before_op for PLUGIN_GEN_FROM_INSN, Richard Henderson, 2024/03/15
- [PATCH 11/22] plugins: Use emit_before_op for PLUGIN_GEN_FROM_MEM, Richard Henderson, 2024/03/15
- [PATCH 12/22] plugins: Remove plugin helpers, Richard Henderson, 2024/03/15
- [PATCH 13/22] tcg: Remove TCG_CALL_PLUGIN, Richard Henderson, 2024/03/15