OSDN Git Service

linux-user/aarch64: Pass syndrome to EXC_*_ABORT
authorRichard Henderson <richard.henderson@linaro.org>
Fri, 12 Feb 2021 18:48:57 +0000 (10:48 -0800)
committerPeter Maydell <peter.maydell@linaro.org>
Tue, 16 Feb 2021 13:16:56 +0000 (13:16 +0000)
commit8db94ab4e5db798b29ad73aad42af0da9c09ec35
treeaa1867013bc5c902f2e54b8062e34999d999a62a
parent1fe27859427bd377a45708310947de54c687d9ff
linux-user/aarch64: Pass syndrome to EXC_*_ABORT

A proper syndrome is required to fill in the proper si_code.
Use page_get_flags to determine permission vs translation for user-only.

Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Message-id: 20210212184902.1251044-27-richard.henderson@linaro.org
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
linux-user/aarch64/cpu_loop.c
target/arm/tlb_helper.c