[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v2 05/11] target/translate: Restrict 'exec/cpu_ldst.h' to user em
From: |
Philippe Mathieu-Daudé |
Subject: |
[PATCH v2 05/11] target/translate: Restrict 'exec/cpu_ldst.h' to user emulation |
Date: |
Tue, 29 Aug 2023 00:13:08 +0200 |
Only handle_sigsegv_accerr_write(), declared with user
emulation, requires "exec/cpu_ldst.h" (for the abi_ptr
typedef).
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
---
include/exec/exec-all.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/include/exec/exec-all.h b/include/exec/exec-all.h
index d02517e95f..b2f5cd4c2a 100644
--- a/include/exec/exec-all.h
+++ b/include/exec/exec-all.h
@@ -21,7 +21,7 @@
#define EXEC_ALL_H
#include "cpu.h"
-#ifdef CONFIG_TCG
+#if defined(CONFIG_USER_ONLY)
#include "exec/cpu_ldst.h"
#endif
#include "exec/translation-block.h"
--
2.41.0
- [PATCH v2 00/11] target/translate: Remove unused "exec/cpu_ldst.h" / "qemu/main-loop.h", Philippe Mathieu-Daudé, 2023/08/28
- [PATCH v2 01/11] target/ppc/pmu: Include missing 'qemu/timer.h' header, Philippe Mathieu-Daudé, 2023/08/28
- [PATCH v2 02/11] target/riscv/pmu: Restrict 'qemu/log.h' include to source, Philippe Mathieu-Daudé, 2023/08/28
- [PATCH v2 03/11] target/translate: Include missing 'exec/cpu_ldst.h' header, Philippe Mathieu-Daudé, 2023/08/28
- [PATCH v2 04/11] target/translate: Remove unnecessary 'exec/cpu_ldst.h' header, Philippe Mathieu-Daudé, 2023/08/28
- [PATCH v2 05/11] target/translate: Restrict 'exec/cpu_ldst.h' to user emulation,
Philippe Mathieu-Daudé <=
- [PATCH v2 06/11] target/helpers: Remove unnecessary 'exec/cpu_ldst.h' header, Philippe Mathieu-Daudé, 2023/08/28
- [PATCH v2 07/11] target/helper: Remove unnecessary 'qemu/main-loop.h' header, Philippe Mathieu-Daudé, 2023/08/28
- [PATCH v2 08/11] target/mips: Remove unused headers in lcsr_helper.c, Philippe Mathieu-Daudé, 2023/08/28
- [PATCH v2 09/11] target/xtensa: Include missing 'qemu/atomic.h' header, Philippe Mathieu-Daudé, 2023/08/28
- [PATCH v2 10/11] qemu/processor: Remove unused 'qemu/atomic.h' header, Philippe Mathieu-Daudé, 2023/08/28
- [PATCH v2 11/11] exec/translation-block: Clean up includes, Philippe Mathieu-Daudé, 2023/08/28