1/* 2 * Copyright (c) 1995 Steven Wallace 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 13 unchanged lines hidden (view full) --- 22 * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, 23 * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT 24 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 25 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 26 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 27 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 28 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 29 * |
30 * $Id: ibcs2_sysvec.c,v 1.1 1995/10/10 07:59:11 swallace Exp $ |
31 */ 32 33#include <sys/param.h> 34#include <sys/sysent.h> 35#include <i386/ibcs2/ibcs2_syscall.h> 36 37extern int bsd_to_ibcs2_sig[]; 38extern int bsd_to_ibcs2_errno[]; 39extern struct sysent ibcs2_sysent[IBCS2_SYS_MAXSYSCALL]; |
40extern int szsigcode; 41extern char sigcode[]; |
42 43struct sysentvec ibcs2_svr3_sysvec = { 44 sizeof (ibcs2_sysent) / sizeof (ibcs2_sysent[0]), 45 ibcs2_sysent, 46 0xFF, 47 NSIG, 48 bsd_to_ibcs2_sig, 49 ELAST, 50 bsd_to_ibcs2_errno, |
51 0, /* fixup */ 52 0, /* sendsig, ignore */ 53 sigcode, /* use generic trampoline */ 54 &szsigcode, /* use generic trampoline size */ 55 0 /* prepsyscall */ |
56}; |