hw/ppc/vof: Add missing includes
[qemu.git] / bsd-user / signal.c
blob05b277c6422ea81700652c74e9cd13da1adf0962
1 /*
2 * Emulation of BSD signals
4 * Copyright (c) 2003 - 2008 Fabrice Bellard
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.
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.
16 * You should have received a copy of the GNU General Public License
17 * along with this program; if not, see <http://www.gnu.org/licenses/>.
20 #include "qemu/osdep.h"
21 #include "qemu.h"
24 * Stubbed out routines until we merge signal support from bsd-user
25 * fork.
29 * Queue a signal so that it will be send to the virtual CPU as soon as
30 * possible.
32 void queue_signal(CPUArchState *env, int sig, target_siginfo_t *info)
34 qemu_log_mask(LOG_UNIMP, "No signal queueing, dropping signal %d\n", sig);
37 void signal_init(void)
41 void process_pending_signals(CPUArchState *cpu_env)
45 void cpu_loop_exit_sigsegv(CPUState *cpu, target_ulong addr,
46 MMUAccessType access_type, bool maperr, uintptr_t ra)
48 qemu_log_mask(LOG_UNIMP, "No signal support for SIGSEGV\n");
49 /* unreachable */
50 abort();
53 void cpu_loop_exit_sigbus(CPUState *cpu, target_ulong addr,
54 MMUAccessType access_type, uintptr_t ra)
56 qemu_log_mask(LOG_UNIMP, "No signal support for SIGBUS\n");
57 /* unreachable */
58 abort();