On 2/6/23 02:17, Philippe Mathieu-Daudé wrote:
Signed-off-by: Philippe Mathieu-Daudé <phi...@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