summaryrefslogtreecommitdiffstats
path: root/include/exec
diff options
context:
space:
mode:
authorGiuseppe Musacchio2019-10-01 18:39:52 +0200
committerPalmer Dabbelt2019-10-28 15:47:27 +0100
commit2921343b3df93e4848034ec615c01ee221212c3a (patch)
tree10146679519bfe9eade69487326f6aa6fb0a2c27 /include/exec
parentriscv: sifive_u: Add ethernet0 to the aliases node (diff)
downloadqemu-2921343b3df93e4848034ec615c01ee221212c3a.tar.gz
qemu-2921343b3df93e4848034ec615c01ee221212c3a.tar.xz
qemu-2921343b3df93e4848034ec615c01ee221212c3a.zip
linux-user/riscv: Propagate fault address
The CPU loop tagged all the queued signals as QEMU_SI_KILL while it was filling the `_sigfault` part of `siginfo`: this caused QEMU to copy the wrong fields over to the userspace program. Make sure the fault address recorded by the MMU is is stored in the CPU environment structure. In case of memory faults store the exception address into `siginfo`. Signed-off-by: Giuseppe Musacchio <thatlemon@gmail.com> Reviewed-by: Palmer Dabbelt <palmer@sifive.com> Signed-off-by: Palmer Dabbelt <palmer@sifive.com>
Diffstat (limited to 'include/exec')
0 files changed, 0 insertions, 0 deletions