qemu-devel
[Top][All Lists]
Advanced

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

Re: [PATCH 1/9] target/arm: Restrict v7-M MMU helpers to sysemu TCG


From: Richard Henderson
Subject: Re: [PATCH 1/9] target/arm: Restrict v7-M MMU helpers to sysemu TCG
Date: Mon, 6 Feb 2023 08:48:27 -1000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.4.2

On 2/6/23 02:17, Philippe Mathieu-Daudé wrote:
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
---
  target/arm/helper.c   | 2 +-
  target/arm/m_helper.c | 4 ++--
  2 files changed, 3 insertions(+), 3 deletions(-)

This seems like it would break linux-user with -cpu cortex-m3, which is used for gcc testing, iirc.

(Real m-profile can't run linux, but using the same thumb abi makes testing easier than using semihosting and initializing a board model.)

OTOH, we should be able to hard-code the mmuidx for user-only:

    mprofile ? ARMMMUIdx_MUser : ARMMMUIdx_E10_0


r~



reply via email to

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