[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 05/24] target/i386/helper: Include missing 'exec/translation-bloc
From: |
Philippe Mathieu-Daudé |
Subject: |
[PATCH 05/24] target/i386/helper: Include missing 'exec/translation-block.h' header |
Date: |
Thu, 14 Nov 2024 02:12:50 +0100 |
TB compile flags are defined in "exec/translation-block.h".
Include it in order to avoid when refactoring:
target/i386/helper.c:536:28: error: use of undeclared identifier 'CF_PCREL'
536 | if (tcg_cflags_has(cs, CF_PCREL)) {
| ^
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
---
target/i386/helper.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/target/i386/helper.c b/target/i386/helper.c
index 01a268a30b..75c52e2143 100644
--- a/target/i386/helper.c
+++ b/target/i386/helper.c
@@ -21,6 +21,7 @@
#include "qapi/qapi-events-run-state.h"
#include "cpu.h"
#include "exec/exec-all.h"
+#include "exec/translation-block.h"
#include "sysemu/runstate.h"
#ifndef CONFIG_USER_ONLY
#include "sysemu/hw_accel.h"
--
2.45.2
- Re: [PATCH 02/24] exec/cpu-defs: Remove unnecessary headers, (continued)
- [PATCH 04/24] accel/tcg: Include missing 'exec/translation-block.h' header, Philippe Mathieu-Daudé, 2024/11/13
- [PATCH 05/24] target/i386/helper: Include missing 'exec/translation-block.h' header,
Philippe Mathieu-Daudé <=
- [PATCH 06/24] target/rx/cpu: Include missing 'exec/translation-block.h' header, Philippe Mathieu-Daudé, 2024/11/13
- [PATCH 07/24] system/watchpoint: Include missing 'exec/cpu-all.h' header, Philippe Mathieu-Daudé, 2024/11/13
- [PATCH 08/24] linux-user/aarch64/mte: Include missing 'user/abitypes.h' header, Philippe Mathieu-Daudé, 2024/11/13