]> Git Repo - qemu.git/commit
target/arm: Define arm_cpu_do_unaligned_access for user-only
authorRichard Henderson <[email protected]>
Fri, 26 Jun 2020 03:31:12 +0000 (20:31 -0700)
committerPeter Maydell <[email protected]>
Fri, 26 Jun 2020 13:31:12 +0000 (14:31 +0100)
commit0d1762e931f8a694f261c604daba605bcda70928
tree2090b1ec236a0f80f282186d706b50b47b8b06e3
parentdad3015f55f8d48f84f0eae36021a9c6f9587e57
target/arm: Define arm_cpu_do_unaligned_access for user-only

Use the same code as system mode, so that we generate the same
exception + syndrome for the unaligned access.

For the moment, if MTE is enabled so that this path is reachable,
this would generate a SIGSEGV in the user-only cpu_loop.  Decoding
the syndrome to produce the proper SIGBUS will be done later.

Reviewed-by: Peter Maydell <[email protected]>
Signed-off-by: Richard Henderson <[email protected]>
Message-id: 20200626033144[email protected]
Signed-off-by: Peter Maydell <[email protected]>
target/arm/cpu.c
target/arm/tlb_helper.c
This page took 0.025455 seconds and 4 git commands to generate.