mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-02 23:33:54 -06:00
bsd-user/signal.c: implement force_sig_fault
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>
This commit is contained in:
parent
c0d2691ccc
commit
0ef5998973
2 changed files with 32 additions and 0 deletions
14
bsd-user/signal-common.h
Normal file
14
bsd-user/signal-common.h
Normal file
|
@ -0,0 +1,14 @@
|
|||
/*
|
||||
* 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
|
Loading…
Add table
Add a link
Reference in a new issue