Deleted Added
full compact
ibcs2_sysvec.c (59753) ibcs2_sysvec.c (68520)
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 *
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 * $FreeBSD: head/sys/i386/ibcs2/ibcs2_sysvec.c 59753 2000-04-29 13:32:16Z peter $
30 * $FreeBSD: head/sys/i386/ibcs2/ibcs2_sysvec.c 68520 2000-11-09 08:25:48Z marcel $
31 */
32
33#include <sys/param.h>
34#include <sys/kernel.h>
35#include <sys/module.h>
36#include <sys/sysent.h>
37#include <sys/signalvar.h>
38#include <sys/proc.h>

--- 18 unchanged lines hidden (view full) ---

57 bsd_to_ibcs2_errno,
58 0, /* trap-to-signal translation function */
59 0, /* fixup */
60 sendsig,
61 sigcode, /* use generic trampoline */
62 &szsigcode, /* use generic trampoline size */
63 0, /* prepsyscall */
64 "IBCS2 COFF",
31 */
32
33#include <sys/param.h>
34#include <sys/kernel.h>
35#include <sys/module.h>
36#include <sys/sysent.h>
37#include <sys/signalvar.h>
38#include <sys/proc.h>

--- 18 unchanged lines hidden (view full) ---

57 bsd_to_ibcs2_errno,
58 0, /* trap-to-signal translation function */
59 0, /* fixup */
60 sendsig,
61 sigcode, /* use generic trampoline */
62 &szsigcode, /* use generic trampoline size */
63 0, /* prepsyscall */
64 "IBCS2 COFF",
65 NULL /* we don't have a COFF coredump function */
65 NULL, /* we don't have a COFF coredump function */
66 NULL,
67 IBCS2_MINSIGSTKSZ
66};
67
68/*
69 * Create an "ibcs2" module that does nothing but allow checking for
70 * the presence of the subsystem.
71 */
72static int
73ibcs2_modevent(module_t mod, int type, void *unused)

--- 21 unchanged lines hidden ---
68};
69
70/*
71 * Create an "ibcs2" module that does nothing but allow checking for
72 * the presence of the subsystem.
73 */
74static int
75ibcs2_modevent(module_t mod, int type, void *unused)

--- 21 unchanged lines hidden ---