[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH 4/7] target/mips: Honour -semihosting-config userspace=on

From: Philippe Mathieu-Daudé
Subject: Re: [PATCH 4/7] target/mips: Honour -semihosting-config userspace=on
Date: Tue, 16 Aug 2022 02:33:46 +0200
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:91.0) Gecko/20100101 Thunderbird/91.12.0

On 15/8/22 21:03, Peter Maydell wrote:
Honour the commandline -semihosting-config userspace=on option,
instead of always permitting userspace semihosting calls in system
emulation mode, by passing the correct value to the is_userspace
argument of semihosting_enabled().

Note that this is a behaviour change: if the user wants to
do semihosting calls from userspace they must now specifically
enable them on the command line.

MIPS semihosting is not implemented for linux-user builds.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
  target/mips/tcg/translate.c               | 9 +++++----
  target/mips/tcg/micromips_translate.c.inc | 6 +++---
  target/mips/tcg/mips16e_translate.c.inc   | 2 +-
  target/mips/tcg/nanomips_translate.c.inc  | 4 ++--
  4 files changed, 11 insertions(+), 10 deletions(-)

Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>

reply via email to

[Prev in Thread] Current Thread [Next in Thread]