1*2fe8fb19SBen Gras/* $NetBSD: __sigtramp2.S,v 1.1 2006/09/23 17:39:34 cherry Exp $ */ 2*2fe8fb19SBen Gras 3*2fe8fb19SBen Gras#include "SYS.h" 4*2fe8fb19SBen Gras 5*2fe8fb19SBen Gras/* XXX: Fix this when we look at signal handling */ 6*2fe8fb19SBen Gras 7*2fe8fb19SBen GrasENTRY(__sigtramp_siginfo_2, 2) 8*2fe8fb19SBen Gras /* XXX: get pointer to ucontext */ 9*2fe8fb19SBen Gras /* setcontext() ie. CALLSYS_NOERROR(setcontext) */ 10*2fe8fb19SBen Gras /* get error code */ 11*2fe8fb19SBen Gras CALLSYS_NOERROR(exit) /* exit */ 12*2fe8fb19SBen GrasEND(__sigtramp_siginfo_2)