mirror of
https://github.com/qemu/qemu.git
synced 2025-10-18 17:44:16 +00:00

Start to implement the force_sig_fault code. This currently just calls queue_signal(). The bsd-user fork version of that will handle this the synchronous nature of this call. Add signal-common.h to hold signal helper functions like force_sig_fault. Signed-off-by: Stacey Son <sson@FreeBSD.org> Signed-off-by: Kyle Evans <kevans@freebsd.org> Signed-off-by: Warner Losh <imp@bsdimp.com> Reviewed-by: Peter Maydell <peter.maydell@linaro.org> Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
15 lines
234 B
C
15 lines
234 B
C
/*
|
|
* Emulation of BSD signals
|
|
*
|
|
* Copyright (c) 2013 Stacey Son
|
|
*
|
|
* SPDX-License-Identifier: GPL-2.0-or-later
|
|
*/
|
|
|
|
#ifndef SIGNAL_COMMON_H
|
|
#define SIGNAL_COMMON_H
|
|
|
|
void force_sig_fault(int sig, int code, abi_ulong addr);
|
|
|
|
#endif
|