mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-01 14:53:54 -06:00
linux-user: Implement signals for openrisc
All of the existing code was boilerplate from elsewhere, and would crash the guest upon the first signal. Signed-off-by: Richard Henderson <richard.henderson@linaro.org> Signed-off-by: Stafford Horne <shorne@gmail.com> --- v2: Add a comment to the new definition of target_pt_regs. Install the signal mask into the ucontext. v3: Incorporate feedback from Laurent.
This commit is contained in:
parent
ecbed7280c
commit
e8f29049b1
4 changed files with 92 additions and 152 deletions
|
@ -236,7 +236,7 @@ int do_sigprocmask(int how, const sigset_t *set, sigset_t *oldset)
|
|||
return 0;
|
||||
}
|
||||
|
||||
#if !defined(TARGET_OPENRISC) && !defined(TARGET_NIOS2)
|
||||
#if !defined(TARGET_NIOS2)
|
||||
/* Just set the guest's signal mask to the specified value; the
|
||||
* caller is assumed to have called block_signals() already.
|
||||
*/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue