]> xenbits.xensource.com Git - qemu-xen.git/commit
linux-user: Propagate siginfo_t through to handle_cpu_signal()
authorPeter Maydell <peter.maydell@linaro.org>
Tue, 28 Nov 2017 14:35:24 +0000 (14:35 +0000)
committerLaurent Vivier <laurent@vivier.eu>
Tue, 23 Jan 2018 13:20:52 +0000 (14:20 +0100)
commita78b1299f1bbb9608e3e3a36a7f16cf700a2789d
tree1b5726de9af6dddf26d14931d71ea93ef1146dd3
parentbfdec7f80e639cb858ed7df77da763cca85e1e61
linux-user: Propagate siginfo_t through to handle_cpu_signal()

Currently all the architecture/OS specific cpu_signal_handler()
functions call handle_cpu_signal() without passing it the
siginfo_t. We're going to want that so we can look at the si_code
to determine whether this is a SEGV_ACCERR access violation or
some other kind of fault, so change the functions to pass through
the pointer to the siginfo_t rather than just the si_addr value.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <1511879725-9576-2-git-send-email-peter.maydell@linaro.org>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
accel/tcg/user-exec.c