[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PULL 09/12] target/arm: Select SEMIHOSTING when using TCG
|
From: |
Peter Maydell |
|
Subject: |
[PULL 09/12] target/arm: Select SEMIHOSTING when using TCG |
|
Date: |
Fri, 12 May 2023 16:34:20 +0100 |
From: Fabiano Rosas <farosas@suse.de>
Semihosting has been made a 'default y' entry in Kconfig, which does
not work because when building --without-default-devices, the
semihosting code would not be available.
Make semihosting unconditional when TCG is present.
Fixes: 29d9efca16 ("arm/Kconfig: Do not build TCG-only boards on a KVM-only
build")
Signed-off-by: Fabiano Rosas <farosas@suse.de>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-id: 20230508181611.2621-2-farosas@suse.de
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
---
target/arm/Kconfig | 8 +-------
1 file changed, 1 insertion(+), 7 deletions(-)
diff --git a/target/arm/Kconfig b/target/arm/Kconfig
index 39f05b6420a..3fffdcb61b6 100644
--- a/target/arm/Kconfig
+++ b/target/arm/Kconfig
@@ -1,13 +1,7 @@
config ARM
bool
+ select ARM_COMPATIBLE_SEMIHOSTING if TCG
config AARCH64
bool
select ARM
-
-# This config exists just so we can make SEMIHOSTING default when TCG
-# is selected without also changing it for other architectures.
-config ARM_SEMIHOSTING
- bool
- default y if TCG && ARM
- select ARM_COMPATIBLE_SEMIHOSTING
--
2.34.1
- [PULL 00/12] target-arm queue, Peter Maydell, 2023/05/12
- [PULL 01/12] target/arm: Move translate-a32.h, arm_ldst.h, sve_ldst_internal.h to tcg/, Peter Maydell, 2023/05/12
- [PULL 04/12] target/arm: Fix handling of SW and NSW bits for stage 2 walks, Peter Maydell, 2023/05/12
- [PULL 07/12] docs: Remove unused weirdly-named cross-reference targets, Peter Maydell, 2023/05/12
- [PULL 11/12] tests/qtest: Don't run cdrom boot tests if no accelerator is present, Peter Maydell, 2023/05/12
- [PULL 02/12] target/arm: Move helper-{a64,mve,sme,sve}.h to tcg/, Peter Maydell, 2023/05/12
- [PULL 03/12] target/arm: Don't allow stage 2 page table walks to downgrade to NS, Peter Maydell, 2023/05/12
- [PULL 05/12] MAINTAINERS: Update Akihiko Odaki's email address, Peter Maydell, 2023/05/12
- [PULL 08/12] hw/mips/malta: Fix minor dead code issue, Peter Maydell, 2023/05/12
- [PULL 09/12] target/arm: Select SEMIHOSTING when using TCG,
Peter Maydell <=
- [PULL 06/12] ui: Fix pixel colour channel order for PNG screenshots, Peter Maydell, 2023/05/12
- [PULL 10/12] target/arm: Select CONFIG_ARM_V7M when TCG is enabled, Peter Maydell, 2023/05/12
- [PULL 12/12] target/arm: Correct AArch64.S2MinTxSZ 32-bit EL1 input size check, Peter Maydell, 2023/05/12
- Re: [PULL 00/12] target-arm queue, Richard Henderson, 2023/05/13