[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PULL 13/16] target/riscv: Restrict semihosting to TCG
From: |
Alex Bennée |
Subject: |
[PULL 13/16] target/riscv: Restrict semihosting to TCG |
Date: |
Mon, 22 Jul 2024 12:04:10 +0100 |
From: Philippe Mathieu-Daudé <philmd@linaro.org>
Semihosting currently uses the TCG probe_access API. To prepare for
encoding the TCG dependency in Kconfig, do not enable it unless TCG
is available.
Suggested-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Anton Johansson <anjo@rev.ng>
Message-Id: <20240717105723.58965-7-philmd@linaro.org>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <20240718094523.1198645-14-alex.bennee@linaro.org>
diff --git a/target/riscv/Kconfig b/target/riscv/Kconfig
index 5f30df22f2..c332616d36 100644
--- a/target/riscv/Kconfig
+++ b/target/riscv/Kconfig
@@ -1,9 +1,9 @@
config RISCV32
bool
- select ARM_COMPATIBLE_SEMIHOSTING # for do_common_semihosting()
+ imply ARM_COMPATIBLE_SEMIHOSTING if TCG
select DEVICE_TREE # needed by boot.c
config RISCV64
bool
- select ARM_COMPATIBLE_SEMIHOSTING # for do_common_semihosting()
+ imply ARM_COMPATIBLE_SEMIHOSTING if TCG
select DEVICE_TREE # needed by boot.c
--
2.39.2
- [PULL 05/16] plugins: fix mem callback array size, (continued)
- [PULL 05/16] plugins: fix mem callback array size, Alex Bennée, 2024/07/22
- [PULL 09/16] target/m68k: Add semihosting stub, Alex Bennée, 2024/07/22
- [PULL 08/16] semihosting: Include missing 'gdbstub/syscalls.h' header, Alex Bennée, 2024/07/22
- [PULL 12/16] target/mips: Restrict semihosting to TCG, Alex Bennée, 2024/07/22
- [PULL 16/16] tests/tcg/aarch64: Fix test-mte.py, Alex Bennée, 2024/07/22
- [PULL 06/16] tests/plugins: use qemu_plugin_outs for inline stats, Alex Bennée, 2024/07/22
- [PULL 10/16] target/mips: Add semihosting stub, Alex Bennée, 2024/07/22
- [PULL 15/16] semihosting: Restrict to TCG, Alex Bennée, 2024/07/22
- [PULL 11/16] target/m68k: Restrict semihosting to TCG, Alex Bennée, 2024/07/22
- [PULL 14/16] target/xtensa: Restrict semihosting to TCG, Alex Bennée, 2024/07/22
- [PULL 13/16] target/riscv: Restrict semihosting to TCG,
Alex Bennée <=
- Re: [PULL 00/16] Final bits for 9.1-rc0 (docker, plugins, gdbstub, semihosting), Philippe Mathieu-Daudé, 2024/07/22