1*1b4e358aSWarner Losh /* 2*1b4e358aSWarner Losh * x86_64 signal definitions 3*1b4e358aSWarner Losh * 4*1b4e358aSWarner Losh * 5*1b4e358aSWarner Losh * This program is free software; you can redistribute it and/or modify 6*1b4e358aSWarner Losh * it under the terms of the GNU General Public License as published by 7*1b4e358aSWarner Losh * the Free Software Foundation; either version 2 of the License, or 8*1b4e358aSWarner Losh * (at your option) any later version. 9*1b4e358aSWarner Losh * 10*1b4e358aSWarner Losh * This program is distributed in the hope that it will be useful, 11*1b4e358aSWarner Losh * but WITHOUT ANY WARRANTY; without even the implied warranty of 12*1b4e358aSWarner Losh * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13*1b4e358aSWarner Losh * GNU General Public License for more details. 14*1b4e358aSWarner Losh * 15*1b4e358aSWarner Losh * You should have received a copy of the GNU General Public License 16*1b4e358aSWarner Losh * along with this program; if not, see <http://www.gnu.org/licenses/>. 17*1b4e358aSWarner Losh */ 18*1b4e358aSWarner Losh 19*1b4e358aSWarner Losh #include "qemu.h" 20*1b4e358aSWarner Losh 21*1b4e358aSWarner Losh /* 22*1b4e358aSWarner Losh * Compare to amd64/amd64/machdep.c sendsig() 23*1b4e358aSWarner Losh * Assumes that target stack frame memory is locked. 24*1b4e358aSWarner Losh */ 25*1b4e358aSWarner Losh abi_long set_sigtramp_args(CPUX86State *regs, 26*1b4e358aSWarner Losh int sig, struct target_sigframe *frame, abi_ulong frame_addr, 27*1b4e358aSWarner Losh struct target_sigaction *ka) 28*1b4e358aSWarner Losh { 29*1b4e358aSWarner Losh /* XXX return -TARGET_EOPNOTSUPP; */ 30*1b4e358aSWarner Losh return 0; 31*1b4e358aSWarner Losh } 32*1b4e358aSWarner Losh 33*1b4e358aSWarner Losh /* Compare to amd64/amd64/machdep.c get_mcontext() */ 34*1b4e358aSWarner Losh abi_long get_mcontext(CPUX86State *regs, 35*1b4e358aSWarner Losh target_mcontext_t *mcp, int flags) 36*1b4e358aSWarner Losh { 37*1b4e358aSWarner Losh /* XXX */ 38*1b4e358aSWarner Losh return -TARGET_EOPNOTSUPP; 39*1b4e358aSWarner Losh } 40*1b4e358aSWarner Losh 41*1b4e358aSWarner Losh /* Compare to amd64/amd64/machdep.c set_mcontext() */ 42*1b4e358aSWarner Losh abi_long set_mcontext(CPUX86State *regs, 43*1b4e358aSWarner Losh target_mcontext_t *mcp, int srflag) 44*1b4e358aSWarner Losh { 45*1b4e358aSWarner Losh /* XXX */ 46*1b4e358aSWarner Losh return -TARGET_EOPNOTSUPP; 47*1b4e358aSWarner Losh } 48*1b4e358aSWarner Losh 49*1b4e358aSWarner Losh abi_long get_ucontext_sigreturn(CPUX86State *regs, 50*1b4e358aSWarner Losh abi_ulong target_sf, abi_ulong *target_uc) 51*1b4e358aSWarner Losh { 52*1b4e358aSWarner Losh /* XXX */ 53*1b4e358aSWarner Losh *target_uc = 0; 54*1b4e358aSWarner Losh return -TARGET_EOPNOTSUPP; 55*1b4e358aSWarner Losh } 56