Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/compat/linux/arch/arm Generated files for ARMLinux binar...
details: https://anonhg.NetBSD.org/src/rev/022cee0d8cb3
branches: trunk
changeset: 520599:022cee0d8cb3
user: bjh21 <bjh21%NetBSD.org@localhost>
date: Mon Jan 14 23:17:16 2002 +0000
description:
Generated files for ARMLinux binary compatibility.
diffstat:
sys/compat/linux/arch/arm/linux_syscall.h | 539 ++++++++++++
sys/compat/linux/arch/arm/linux_syscallargs.h | 699 ++++++++++++++++
sys/compat/linux/arch/arm/linux_syscalls.c | 257 ++++++
sys/compat/linux/arch/arm/linux_sysent.c | 1061 +++++++++++++++++++++++++
4 files changed, 2556 insertions(+), 0 deletions(-)
diffs (truncated from 2572 to 300 lines):
diff -r 5f2039c89392 -r 022cee0d8cb3 sys/compat/linux/arch/arm/linux_syscall.h
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/sys/compat/linux/arch/arm/linux_syscall.h Mon Jan 14 23:17:16 2002 +0000
@@ -0,0 +1,539 @@
+/* $NetBSD: linux_syscall.h,v 1.1 2002/01/14 23:17:16 bjh21 Exp $ */
+
+/*
+ * System call numbers.
+ *
+ * DO NOT EDIT-- this file is automatically generated.
+ * created from NetBSD: syscalls.master,v 1.1 2002/01/14 23:14:41 bjh21 Exp
+ */
+
+/* syscall: "syscall" ret: "int" args: */
+#define LINUX_SYS_syscall 0
+
+/* syscall: "exit" ret: "int" args: "int" */
+#define LINUX_SYS_exit 1
+
+/* syscall: "fork" ret: "int" args: */
+#define LINUX_SYS_fork 2
+
+/* syscall: "read" ret: "int" args: "int" "char *" "u_int" */
+#define LINUX_SYS_read 3
+
+/* syscall: "write" ret: "int" args: "int" "char *" "u_int" */
+#define LINUX_SYS_write 4
+
+/* syscall: "open" ret: "int" args: "const char *" "int" "int" */
+#define LINUX_SYS_open 5
+
+/* syscall: "close" ret: "int" args: "int" */
+#define LINUX_SYS_close 6
+
+/* syscall: "waitpid" ret: "int" args: "int" "int *" "int" */
+#define LINUX_SYS_waitpid 7
+
+/* syscall: "creat" ret: "int" args: "const char *" "int" */
+#define LINUX_SYS_creat 8
+
+/* syscall: "link" ret: "int" args: "const char *" "const char *" */
+#define LINUX_SYS_link 9
+
+/* syscall: "unlink" ret: "int" args: "const char *" */
+#define LINUX_SYS_unlink 10
+
+/* syscall: "execve" ret: "int" args: "const char *" "char **" "char **" */
+#define LINUX_SYS_execve 11
+
+/* syscall: "chdir" ret: "int" args: "const char *" */
+#define LINUX_SYS_chdir 12
+
+/* syscall: "time" ret: "int" args: "linux_time_t *" */
+#define LINUX_SYS_time 13
+
+/* syscall: "mknod" ret: "int" args: "const char *" "int" "int" */
+#define LINUX_SYS_mknod 14
+
+/* syscall: "chmod" ret: "int" args: "const char *" "int" */
+#define LINUX_SYS_chmod 15
+
+/* syscall: "lchown16" ret: "int" args: "const char *" "int" "int" */
+#define LINUX_SYS_lchown16 16
+
+ /* 17 is obsolete break */
+ /* 18 is obsolete ostat */
+/* syscall: "lseek" ret: "long" args: "int" "long" "int" */
+#define LINUX_SYS_lseek 19
+
+/* syscall: "getpid" ret: "pid_t" args: */
+#define LINUX_SYS_getpid 20
+
+ /* 22 is obsolete umount */
+/* syscall: "setuid" ret: "int" args: "uid_t" */
+#define LINUX_SYS_setuid 23
+
+/* syscall: "getuid" ret: "uid_t" args: */
+#define LINUX_SYS_getuid 24
+
+/* syscall: "stime" ret: "int" args: "linux_time_t *" */
+#define LINUX_SYS_stime 25
+
+/* syscall: "ptrace" ret: "int" args: "int" "int" "int" "int" */
+#define LINUX_SYS_ptrace 26
+
+/* syscall: "alarm" ret: "int" args: "unsigned int" */
+#define LINUX_SYS_alarm 27
+
+ /* 28 is obsolete ofstat */
+/* syscall: "pause" ret: "int" args: */
+#define LINUX_SYS_pause 29
+
+/* syscall: "utime" ret: "int" args: "const char *" "struct linux_utimbuf *" */
+#define LINUX_SYS_utime 30
+
+ /* 31 is obsolete stty */
+ /* 32 is obsolete gtty */
+/* syscall: "access" ret: "int" args: "const char *" "int" */
+#define LINUX_SYS_access 33
+
+/* syscall: "nice" ret: "int" args: "int" */
+#define LINUX_SYS_nice 34
+
+ /* 35 is obsolete ftime */
+/* syscall: "sync" ret: "int" args: */
+#define LINUX_SYS_sync 36
+
+/* syscall: "kill" ret: "int" args: "int" "int" */
+#define LINUX_SYS_kill 37
+
+/* syscall: "rename" ret: "int" args: "const char *" "const char *" */
+#define LINUX_SYS_rename 38
+
+/* syscall: "mkdir" ret: "int" args: "const char *" "int" */
+#define LINUX_SYS_mkdir 39
+
+/* syscall: "rmdir" ret: "int" args: "const char *" */
+#define LINUX_SYS_rmdir 40
+
+/* syscall: "dup" ret: "int" args: "u_int" */
+#define LINUX_SYS_dup 41
+
+/* syscall: "pipe" ret: "int" args: "int *" */
+#define LINUX_SYS_pipe 42
+
+/* syscall: "times" ret: "int" args: "struct times *" */
+#define LINUX_SYS_times 43
+
+ /* 44 is obsolete prof */
+/* syscall: "brk" ret: "int" args: "char *" */
+#define LINUX_SYS_brk 45
+
+/* syscall: "setgid" ret: "int" args: "gid_t" */
+#define LINUX_SYS_setgid 46
+
+/* syscall: "getgid" ret: "gid_t" args: */
+#define LINUX_SYS_getgid 47
+
+/* syscall: "signal" ret: "int" args: "int" "linux_handler_t" */
+#define LINUX_SYS_signal 48
+
+/* syscall: "geteuid" ret: "uid_t" args: */
+#define LINUX_SYS_geteuid 49
+
+/* syscall: "getegid" ret: "gid_t" args: */
+#define LINUX_SYS_getegid 50
+
+/* syscall: "acct" ret: "int" args: "char *" */
+#define LINUX_SYS_acct 51
+
+ /* 53 is obsolete lock */
+/* syscall: "ioctl" ret: "int" args: "int" "u_long" "caddr_t" */
+#define LINUX_SYS_ioctl 54
+
+/* syscall: "fcntl" ret: "int" args: "int" "int" "void *" */
+#define LINUX_SYS_fcntl 55
+
+ /* 56 is obsolete mpx */
+/* syscall: "setpgid" ret: "int" args: "int" "int" */
+#define LINUX_SYS_setpgid 57
+
+ /* 58 is obsolete ulimit */
+/* syscall: "olduname" ret: "int" args: "struct linux_old_utsname *" */
+#define LINUX_SYS_olduname 59
+
+/* syscall: "umask" ret: "int" args: "int" */
+#define LINUX_SYS_umask 60
+
+/* syscall: "chroot" ret: "int" args: "char *" */
+#define LINUX_SYS_chroot 61
+
+/* syscall: "dup2" ret: "int" args: "u_int" "u_int" */
+#define LINUX_SYS_dup2 63
+
+/* syscall: "getppid" ret: "pid_t" args: */
+#define LINUX_SYS_getppid 64
+
+/* syscall: "getpgrp" ret: "int" args: */
+#define LINUX_SYS_getpgrp 65
+
+/* syscall: "setsid" ret: "int" args: */
+#define LINUX_SYS_setsid 66
+
+/* syscall: "sigaction" ret: "int" args: "int" "const struct linux_old_sigaction *" "struct linux_old_sigaction *" */
+#define LINUX_SYS_sigaction 67
+
+/* syscall: "siggetmask" ret: "int" args: */
+#define LINUX_SYS_siggetmask 68
+
+/* syscall: "sigsetmask" ret: "int" args: "linux_old_sigset_t" */
+#define LINUX_SYS_sigsetmask 69
+
+/* syscall: "setreuid" ret: "int" args: "uid_t" "uid_t" */
+#define LINUX_SYS_setreuid 70
+
+/* syscall: "setregid" ret: "int" args: "gid_t" "gid_t" */
+#define LINUX_SYS_setregid 71
+
+/* syscall: "sigsuspend" ret: "int" args: "caddr_t" "int" "int" */
+#define LINUX_SYS_sigsuspend 72
+
+/* syscall: "sigpending" ret: "int" args: "linux_old_sigset_t *" */
+#define LINUX_SYS_sigpending 73
+
+/* syscall: "sethostname" ret: "int" args: "char *" "u_int" */
+#define LINUX_SYS_sethostname 74
+
+/* syscall: "setrlimit" ret: "int" args: "u_int" "struct orlimit *" */
+#define LINUX_SYS_setrlimit 75
+
+/* syscall: "getrlimit" ret: "int" args: "u_int" "struct orlimit *" */
+#define LINUX_SYS_getrlimit 76
+
+/* syscall: "getrusage" ret: "int" args: "int" "struct rusage *" */
+#define LINUX_SYS_getrusage 77
+
+/* syscall: "gettimeofday" ret: "int" args: "struct timeval *" "struct timezone *" */
+#define LINUX_SYS_gettimeofday 78
+
+/* syscall: "settimeofday" ret: "int" args: "struct timeval *" "struct timezone *" */
+#define LINUX_SYS_settimeofday 79
+
+/* syscall: "getgroups" ret: "int" args: "u_int" "gid_t *" */
+#define LINUX_SYS_getgroups 80
+
+/* syscall: "setgroups" ret: "int" args: "u_int" "gid_t *" */
+#define LINUX_SYS_setgroups 81
+
+/* syscall: "oldselect" ret: "int" args: "struct linux_oldselect *" */
+#define LINUX_SYS_oldselect 82
+
+/* syscall: "symlink" ret: "int" args: "const char *" "const char *" */
+#define LINUX_SYS_symlink 83
+
+/* syscall: "oolstat" ret: "int" args: "const char *" "struct stat43 *" */
+#define LINUX_SYS_oolstat 84
+
+/* syscall: "readlink" ret: "int" args: "const char *" "char *" "int" */
+#define LINUX_SYS_readlink 85
+
+/* syscall: "uselib" ret: "int" args: "const char *" */
+#define LINUX_SYS_uselib 86
+
+ /* 86 is excluded uselib */
+/* syscall: "swapon" ret: "int" args: "char *" */
+#define LINUX_SYS_swapon 87
+
+/* syscall: "reboot" ret: "int" args: "int" "int" "int" "void *" */
+#define LINUX_SYS_reboot 88
+
+/* syscall: "readdir" ret: "int" args: "int" "caddr_t" "unsigned int" */
+#define LINUX_SYS_readdir 89
+
+/* syscall: "old_mmap" ret: "int" args: "struct linux_oldmmap *" */
+#define LINUX_SYS_old_mmap 90
+
+/* syscall: "munmap" ret: "int" args: "caddr_t" "int" */
+#define LINUX_SYS_munmap 91
+
+/* syscall: "truncate" ret: "int" args: "const char *" "long" */
+#define LINUX_SYS_truncate 92
+
+/* syscall: "ftruncate" ret: "int" args: "int" "long" */
+#define LINUX_SYS_ftruncate 93
+
+/* syscall: "fchmod" ret: "int" args: "int" "int" */
+#define LINUX_SYS_fchmod 94
+
+/* syscall: "fchown16" ret: "int" args: "int" "int" "int" */
+#define LINUX_SYS_fchown16 95
+
+/* syscall: "getpriority" ret: "int" args: "int" "int" */
+#define LINUX_SYS_getpriority 96
+
+/* syscall: "setpriority" ret: "int" args: "int" "int" "int" */
+#define LINUX_SYS_setpriority 97
+
+/* syscall: "profil" ret: "int" args: "caddr_t" "u_int" "u_int" "u_int" */
+#define LINUX_SYS_profil 98
+
+/* syscall: "statfs" ret: "int" args: "const char *" "struct linux_statfs *" */
+#define LINUX_SYS_statfs 99
+
+/* syscall: "fstatfs" ret: "int" args: "int" "struct linux_statfs *" */
+#define LINUX_SYS_fstatfs 100
+
+/* syscall: "socketcall" ret: "int" args: "int" "void *" */
+#define LINUX_SYS_socketcall 102
+
+/* syscall: "setitimer" ret: "int" args: "u_int" "struct itimerval *" "struct itimerval *" */
+#define LINUX_SYS_setitimer 104
+
+/* syscall: "getitimer" ret: "int" args: "u_int" "struct itimerval *" */
+#define LINUX_SYS_getitimer 105
+
+/* syscall: "stat" ret: "int" args: "const char *" "struct linux_stat *" */
+#define LINUX_SYS_stat 106
+
+/* syscall: "lstat" ret: "int" args: "const char *" "struct linux_stat *" */
+#define LINUX_SYS_lstat 107
Home |
Main Index |
Thread Index |
Old Index