]> git.proxmox.com Git - mirror_qemu.git/blame - bsd-user/signal.c
Merge remote-tracking branch 'remotes/stefanha-gitlab/tags/block-pull-request' into...
[mirror_qemu.git] / bsd-user / signal.c
CommitLineData
84778508
BS
1/*
2 * Emulation of BSD signals
3 *
4 * Copyright (c) 2003 - 2008 Fabrice Bellard
5 *
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation; either version 2 of the License, or
9 * (at your option) any later version.
10 *
11 * This program is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU General Public License for more details.
15 *
16 * You should have received a copy of the GNU General Public License
8167ee88 17 * along with this program; if not, see <http://www.gnu.org/licenses/>.
84778508 18 */
84778508 19
5abfac27 20#include "qemu/osdep.h"
84778508 21#include "qemu.h"
84778508 22
835b04ed
WL
23/*
24 * Stubbed out routines until we merge signal support from bsd-user
25 * fork.
26 */
27
5abfac27
WL
28/*
29 * Queue a signal so that it will be send to the virtual CPU as soon as
30 * possible.
31 */
32void queue_signal(CPUArchState *env, int sig, target_siginfo_t *info)
33{
34 qemu_log_mask(LOG_UNIMP, "No signal queueing, dropping signal %d\n", sig);
35}
36
84778508
BS
37void signal_init(void)
38{
39}
40
9349b4f9 41void process_pending_signals(CPUArchState *cpu_env)
84778508
BS
42{
43}
835b04ed
WL
44
45void cpu_loop_exit_sigsegv(CPUState *cpu, target_ulong addr,
46 MMUAccessType access_type, bool maperr, uintptr_t ra)
47{
48 qemu_log_mask(LOG_UNIMP, "No signal support for SIGSEGV\n");
49 /* unreachable */
50 abort();
51}
52
53void cpu_loop_exit_sigbus(CPUState *cpu, target_ulong addr,
54 MMUAccessType access_type, uintptr_t ra)
55{
56 qemu_log_mask(LOG_UNIMP, "No signal support for SIGBUS\n");
57 /* unreachable */
58 abort();
59}