[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v2 45/52] tcg: Define IN_TCG
From: |
Richard Henderson |
Subject: |
[PATCH v2 45/52] tcg: Define IN_TCG |
Date: |
Tue, 23 May 2023 06:53:15 -0700 |
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
---
tcg/region.c | 2 ++
tcg/tcg-common.c | 2 ++
tcg/tcg-op-gvec.c | 2 ++
tcg/tcg-op-ldst.c | 2 ++
tcg/tcg-op-vec.c | 2 ++
tcg/tcg-op.c | 2 ++
tcg/tcg.c | 2 ++
7 files changed, 14 insertions(+)
diff --git a/tcg/region.c b/tcg/region.c
index bef4c4756f..34ac124081 100644
--- a/tcg/region.c
+++ b/tcg/region.c
@@ -22,6 +22,8 @@
* THE SOFTWARE.
*/
+#define IN_TCG
+
#include "qemu/osdep.h"
#include "qemu/units.h"
#include "qemu/madvise.h"
diff --git a/tcg/tcg-common.c b/tcg/tcg-common.c
index 35e7616ae9..678ab482f7 100644
--- a/tcg/tcg-common.c
+++ b/tcg/tcg-common.c
@@ -22,6 +22,8 @@
* THE SOFTWARE.
*/
+#define IN_TCG
+
#include "qemu/osdep.h"
#include "tcg/tcg.h"
diff --git a/tcg/tcg-op-gvec.c b/tcg/tcg-op-gvec.c
index 95a588d6d2..0ecde731f4 100644
--- a/tcg/tcg-op-gvec.c
+++ b/tcg/tcg-op-gvec.c
@@ -17,6 +17,8 @@
* License along with this library; if not, see <http://www.gnu.org/licenses/>.
*/
+#define IN_TCG
+
#include "qemu/osdep.h"
#include "tcg/tcg.h"
#include "tcg/tcg-temp-internal.h"
diff --git a/tcg/tcg-op-ldst.c b/tcg/tcg-op-ldst.c
index f32c0fda35..dc8dcd8b4f 100644
--- a/tcg/tcg-op-ldst.c
+++ b/tcg/tcg-op-ldst.c
@@ -22,6 +22,8 @@
* THE SOFTWARE.
*/
+#define IN_TCG
+
#include "qemu/osdep.h"
#include "tcg/tcg.h"
#include "tcg/tcg-temp-internal.h"
diff --git a/tcg/tcg-op-vec.c b/tcg/tcg-op-vec.c
index 35d67eeda0..6c70178e9e 100644
--- a/tcg/tcg-op-vec.c
+++ b/tcg/tcg-op-vec.c
@@ -17,6 +17,8 @@
* License along with this library; if not, see <http://www.gnu.org/licenses/>.
*/
+#define IN_TCG
+
#include "qemu/osdep.h"
#include "tcg/tcg.h"
#include "tcg/tcg-temp-internal.h"
diff --git a/tcg/tcg-op.c b/tcg/tcg-op.c
index 8c1ad49c4e..16ff61c65d 100644
--- a/tcg/tcg-op.c
+++ b/tcg/tcg-op.c
@@ -22,6 +22,8 @@
* THE SOFTWARE.
*/
+#define IN_TCG
+
#include "qemu/osdep.h"
#include "exec/exec-all.h"
#include "tcg/tcg.h"
diff --git a/tcg/tcg.c b/tcg/tcg.c
index 7d0449f6a9..38321d6d54 100644
--- a/tcg/tcg.c
+++ b/tcg/tcg.c
@@ -22,6 +22,8 @@
* THE SOFTWARE.
*/
+#define IN_TCG
+
#include "qemu/osdep.h"
/* Define to jump the ELF file used to communicate with GDB. */
--
2.34.1
- [PATCH v2 31/52] exec-all: Widen tb_page_addr_t for user-only, (continued)
- [PATCH v2 31/52] exec-all: Widen tb_page_addr_t for user-only, Richard Henderson, 2023/05/23
- [PATCH v2 37/52] accel/tcg: Move most of gen-icount.h into translator.c, Richard Henderson, 2023/05/23
- [PATCH v2 27/52] tcg: Add guest_mo to TCGContext, Richard Henderson, 2023/05/23
- [PATCH v2 39/52] accel/tcg: Move translator_fake_ldb out of line, Richard Henderson, 2023/05/23
- [PATCH v2 38/52] accel/tcg: Introduce translator_io_start, Richard Henderson, 2023/05/23
- [PATCH v2 34/52] tcg: Remove USE_TCG_OPTIMIZATIONS, Richard Henderson, 2023/05/23
- [PATCH v2 41/52] target/mips: Tidy helpers for translation, Richard Henderson, 2023/05/23
- [PATCH v2 42/52] *: Add missing includes of exec/translation-block.h, Richard Henderson, 2023/05/23
- [PATCH v2 40/52] target/arm: Tidy helpers for translation, Richard Henderson, 2023/05/23
- [PATCH v2 45/52] tcg: Define IN_TCG,
Richard Henderson <=
- [PATCH v2 46/52] tcg: Fix PAGE/PROT confusion, Richard Henderson, 2023/05/23
- [PATCH v2 48/52] tcg: Remove target-specific headers from tcg.[ch], Richard Henderson, 2023/05/23
- [PATCH v2 52/52] tcg: Build once for system and once for user-only, Richard Henderson, 2023/05/23
- [PATCH v2 43/52] *: Add missing includes of exec/exec-all.h, Richard Henderson, 2023/05/23
- [PATCH v2 49/52] plugins: Move plugin_insn_append to translator.c, Richard Henderson, 2023/05/23
- [PATCH v2 50/52] plugins: Drop unused headers from exec/plugin-gen.h, Richard Henderson, 2023/05/23
- [PATCH v2 47/52] tcg: Move env defines out of NEED_CPU_H in helper-head.h, Richard Henderson, 2023/05/23