Deleted Added
full compact
linux_sysent.c (134839) linux_sysent.c (143198)
1/*
2 * System call switch table.
3 *
4 * DO NOT EDIT-- this file is automatically generated.
1/*
2 * System call switch table.
3 *
4 * DO NOT EDIT-- this file is automatically generated.
5 * $FreeBSD: head/sys/i386/linux/linux_sysent.c 134839 2004-09-06 09:33:30Z dfr $
6 * created from FreeBSD: src/sys/i386/linux/syscalls.master,v 1.58 2004/09/06 09:32:59 dfr Exp
5 * $FreeBSD: head/sys/i386/linux/linux_sysent.c 143198 2005-03-07 00:23:58Z sobomax $
6 * created from FreeBSD: src/sys/i386/linux/syscalls.master,v 1.59 2005/03/07 00:18:06 sobomax Exp
7 */
8
9#include "opt_compat.h"
10#include <sys/param.h>
11#include <sys/sysent.h>
12#include <sys/sysproto.h>
7 */
8
9#include "opt_compat.h"
10#include <sys/param.h>
11#include <sys/sysent.h>
12#include <sys/sysproto.h>
13#include <compat/linux/linux_sysproto.h>
13#include <i386/linux/linux.h>
14#include <i386/linux/linux_proto.h>
15
16#define AS(name) (sizeof(struct name) / sizeof(register_t))
17
18/* The casts are bogus but will do for now. */
19struct sysent linux_sysent[] = {
14#include <i386/linux/linux.h>
15#include <i386/linux/linux_proto.h>
16
17#define AS(name) (sizeof(struct name) / sizeof(register_t))
18
19/* The casts are bogus but will do for now. */
20struct sysent linux_sysent[] = {
21#define nosys linux_nosys
20 { 0, (sy_call_t *)nosys }, /* 0 = setup */
21 { SYF_MPSAFE | AS(sys_exit_args), (sy_call_t *)sys_exit }, /* 1 = exit */
22 { SYF_MPSAFE | 0, (sy_call_t *)linux_fork }, /* 2 = linux_fork */
23 { SYF_MPSAFE | AS(read_args), (sy_call_t *)read }, /* 3 = read */
24 { SYF_MPSAFE | AS(write_args), (sy_call_t *)write }, /* 4 = write */
25 { AS(linux_open_args), (sy_call_t *)linux_open }, /* 5 = linux_open */
26 { SYF_MPSAFE | AS(close_args), (sy_call_t *)close }, /* 6 = close */
27 { SYF_MPSAFE | AS(linux_waitpid_args), (sy_call_t *)linux_waitpid }, /* 7 = linux_waitpid */

--- 261 unchanged lines hidden ---
22 { 0, (sy_call_t *)nosys }, /* 0 = setup */
23 { SYF_MPSAFE | AS(sys_exit_args), (sy_call_t *)sys_exit }, /* 1 = exit */
24 { SYF_MPSAFE | 0, (sy_call_t *)linux_fork }, /* 2 = linux_fork */
25 { SYF_MPSAFE | AS(read_args), (sy_call_t *)read }, /* 3 = read */
26 { SYF_MPSAFE | AS(write_args), (sy_call_t *)write }, /* 4 = write */
27 { AS(linux_open_args), (sy_call_t *)linux_open }, /* 5 = linux_open */
28 { SYF_MPSAFE | AS(close_args), (sy_call_t *)close }, /* 6 = close */
29 { SYF_MPSAFE | AS(linux_waitpid_args), (sy_call_t *)linux_waitpid }, /* 7 = linux_waitpid */

--- 261 unchanged lines hidden ---