[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 11/11] hw/semihosting: Make the feature depend of TCG, and al
From: |
Peter Maydell |
Subject: |
Re: [PATCH 11/11] hw/semihosting: Make the feature depend of TCG, and allow to disable it |
Date: |
Mon, 16 Mar 2020 13:49:22 +0000 |
On Mon, 16 Mar 2020 at 13:45, Philippe Mathieu-Daudé <address@hidden> wrote:
>
> The semihosting feature is only meaningful when using TCG.
>
> So far only the ARM/MIPS/LM32 provide the semihosting feature.
Also m68k, nios2, xtensa. riscv eventually but not yet upstream.
>
> Do not enable it by default, and let the few targets requiring
> it to manually select it.
>
> Signed-off-by: Philippe Mathieu-Daudé <address@hidden>
> ---
> hw/semihosting/Kconfig | 4 +++-
> 1 file changed, 3 insertions(+), 1 deletion(-)
>
> diff --git a/hw/semihosting/Kconfig b/hw/semihosting/Kconfig
> index efe0a30734..06e9262af2 100644
> --- a/hw/semihosting/Kconfig
> +++ b/hw/semihosting/Kconfig
> @@ -1,3 +1,5 @@
>
> config SEMIHOSTING
> - bool
> + bool
> + depends on TCG
> + default n
OK, this is the "do not enable by default" -- where is
the "but do enable by default for the targets that use it"
part of the config change ?
thanks
-- PMM
- Re: [PATCH 06/11] accel/Kconfig: Extract accel selectors into their own config, (continued)
- [PATCH 07/11] accel/Kconfig: Add the TCG selector, Philippe Mathieu-Daudé, 2020/03/16
- [PATCH 08/11] target/Kconfig: Allow targets to use Kconfig, Philippe Mathieu-Daudé, 2020/03/16
- [PATCH 09/11] target/mips: Always enable CONFIG_SEMIHOSTING, Philippe Mathieu-Daudé, 2020/03/16
- [PATCH 10/11] target/arm: Always enable CONFIG_SEMIHOSTING, Philippe Mathieu-Daudé, 2020/03/16
- [PATCH 11/11] hw/semihosting: Make the feature depend of TCG, and allow to disable it, Philippe Mathieu-Daudé, 2020/03/16