summaryrefslogtreecommitdiffstats
path: root/sys/alpha/linux/linux_proto.h
diff options
context:
space:
mode:
authorjulian <julian@FreeBSD.org>2001-09-12 08:38:13 +0000
committerjulian <julian@FreeBSD.org>2001-09-12 08:38:13 +0000
commit5596676e6c6c1e81e899cd0531f9b1c28a292669 (patch)
treeb1a19fcdf05759281fab0d89efb13f0fdf42102e /sys/alpha/linux/linux_proto.h
parent83e00d4274950d2b531c24692cd123538ffbddb9 (diff)
downloadFreeBSD-src-5596676e6c6c1e81e899cd0531f9b1c28a292669.zip
FreeBSD-src-5596676e6c6c1e81e899cd0531f9b1c28a292669.tar.gz
KSE Milestone 2
Note ALL MODULES MUST BE RECOMPILED make the kernel aware that there are smaller units of scheduling than the process. (but only allow one thread per process at this time). This is functionally equivalent to teh previousl -current except that there is a thread associated with each process. Sorry john! (your next MFC will be a doosie!) Reviewed by: peter@freebsd.org, dillon@freebsd.org X-MFC after: ha ha ha ha
Diffstat (limited to 'sys/alpha/linux/linux_proto.h')
-rw-r--r--sys/alpha/linux/linux_proto.h278
1 files changed, 140 insertions, 138 deletions
diff --git a/sys/alpha/linux/linux_proto.h b/sys/alpha/linux/linux_proto.h
index 9caa5ea..31f052c 100644
--- a/sys/alpha/linux/linux_proto.h
+++ b/sys/alpha/linux/linux_proto.h
@@ -15,6 +15,8 @@
struct proc;
+struct thread;
+
#define PAD_(t) (sizeof(register_t) <= sizeof(t) ? \
0 : sizeof(register_t) - sizeof(t))
@@ -594,144 +596,144 @@ struct linux_getdents64_args {
char dirent_l_[PADL_(void *)]; void * dirent; char dirent_r_[PADR_(void *)];
char count_l_[PADL_(l_uint)]; l_uint count; char count_r_[PADR_(l_uint)];
};
-int linux_fork __P((struct proc *, struct linux_fork_args *));
-int osf1_wait4 __P((struct proc *, struct osf1_wait4_args *));
-int linux_link __P((struct proc *, struct linux_link_args *));
-int linux_unlink __P((struct proc *, struct linux_unlink_args *));
-int linux_chdir __P((struct proc *, struct linux_chdir_args *));
-int linux_mknod __P((struct proc *, struct linux_mknod_args *));
-int linux_chmod __P((struct proc *, struct linux_chmod_args *));
-int linux_chown __P((struct proc *, struct linux_chown_args *));
-int linux_brk __P((struct proc *, struct linux_brk_args *));
-int linux_lseek __P((struct proc *, struct linux_lseek_args *));
-int linux_getpid __P((struct proc *, struct linux_getpid_args *));
-int linux_umount __P((struct proc *, struct linux_umount_args *));
-int linux_getuid __P((struct proc *, struct linux_getuid_args *));
-int linux_ptrace __P((struct proc *, struct linux_ptrace_args *));
-int linux_access __P((struct proc *, struct linux_access_args *));
-int linux_kill __P((struct proc *, struct linux_kill_args *));
-int linux_open __P((struct proc *, struct linux_open_args *));
-int linux_getgid __P((struct proc *, struct linux_getgid_args *));
-int osf1_sigprocmask __P((struct proc *, struct osf1_sigprocmask_args *));
-int linux_sigpending __P((struct proc *, struct linux_sigpending_args *));
-int linux_ioctl __P((struct proc *, struct linux_ioctl_args *));
-int linux_symlink __P((struct proc *, struct linux_symlink_args *));
-int linux_readlink __P((struct proc *, struct linux_readlink_args *));
-int linux_execve __P((struct proc *, struct linux_execve_args *));
-int linux_getpagesize __P((struct proc *, struct linux_getpagesize_args *));
-int linux_vfork __P((struct proc *, struct linux_vfork_args *));
-int linux_newstat __P((struct proc *, struct linux_newstat_args *));
-int linux_newlstat __P((struct proc *, struct linux_newlstat_args *));
-int linux_mmap __P((struct proc *, struct linux_mmap_args *));
-int linux_munmap __P((struct proc *, struct linux_munmap_args *));
-int linux_mprotect __P((struct proc *, struct linux_mprotect_args *));
-int linux_madvise __P((struct proc *, struct linux_madvise_args *));
-int linux_vhangup __P((struct proc *, struct linux_vhangup_args *));
-int linux_setgroups __P((struct proc *, struct linux_setgroups_args *));
-int linux_getgroups __P((struct proc *, struct linux_getgroups_args *));
-int linux_setpgid __P((struct proc *, struct linux_setpgid_args *));
-int osf1_setitimer __P((struct proc *, struct osf1_setitimer_args *));
-int linux_gethostname __P((struct proc *, struct linux_gethostname_args *));
-int linux_getdtablesize __P((struct proc *, struct linux_getdtablesize_args *));
-int linux_newfstat __P((struct proc *, struct linux_newfstat_args *));
-int linux_fcntl __P((struct proc *, struct linux_fcntl_args *));
-int osf1_select __P((struct proc *, struct osf1_select_args *));
-int osf1_socket __P((struct proc *, struct osf1_socket_args *));
-int linux_connect __P((struct proc *, struct linux_connect_args *));
-int osf1_sigreturn __P((struct proc *, struct osf1_sigreturn_args *));
-int osf1_sigsuspend __P((struct proc *, struct osf1_sigsuspend_args *));
-int linux_recvmsg __P((struct proc *, struct linux_recvmsg_args *));
-int linux_sendmsg __P((struct proc *, struct linux_sendmsg_args *));
-int osf1_gettimeofday __P((struct proc *, struct osf1_gettimeofday_args *));
-int osf1_getrusage __P((struct proc *, struct osf1_getrusage_args *));
-int linux_rename __P((struct proc *, struct linux_rename_args *));
-int linux_truncate __P((struct proc *, struct linux_truncate_args *));
-int osf1_sendto __P((struct proc *, struct osf1_sendto_args *));
-int linux_socketpair __P((struct proc *, struct linux_socketpair_args *));
-int linux_mkdir __P((struct proc *, struct linux_mkdir_args *));
-int linux_rmdir __P((struct proc *, struct linux_rmdir_args *));
-int linux_getrlimit __P((struct proc *, struct linux_getrlimit_args *));
-int linux_setrlimit __P((struct proc *, struct linux_setrlimit_args *));
-int linux_quotactl __P((struct proc *, struct linux_quotactl_args *));
-int osf1_sigaction __P((struct proc *, struct osf1_sigaction_args *));
-int linux_msgctl __P((struct proc *, struct linux_msgctl_args *));
-int linux_msgget __P((struct proc *, struct linux_msgget_args *));
-int linux_msgrcv __P((struct proc *, struct linux_msgrcv_args *));
-int linux_msgsnd __P((struct proc *, struct linux_msgsnd_args *));
-int linux_semctl __P((struct proc *, struct linux_semctl_args *));
-int linux_semget __P((struct proc *, struct linux_semget_args *));
-int linux_semop __P((struct proc *, struct linux_semop_args *));
-int linux_lchown __P((struct proc *, struct linux_lchown_args *));
-int linux_shmat __P((struct proc *, struct linux_shmat_args *));
-int linux_shmctl __P((struct proc *, struct linux_shmctl_args *));
-int linux_shmdt __P((struct proc *, struct linux_shmdt_args *));
-int linux_shmget __P((struct proc *, struct linux_shmget_args *));
-int linux_msync __P((struct proc *, struct linux_msync_args *));
-int linux_getpgid __P((struct proc *, struct linux_getpgid_args *));
-int linux_getsid __P((struct proc *, struct linux_getsid_args *));
-int linux_sigaltstack __P((struct proc *, struct linux_sigaltstack_args *));
-int osf1_sysinfo __P((struct proc *, struct osf1_sysinfo_args *));
-int linux_sysfs __P((struct proc *, struct linux_sysfs_args *));
-int osf1_getsysinfo __P((struct proc *, struct osf1_getsysinfo_args *));
-int osf1_setsysinfo __P((struct proc *, struct osf1_setsysinfo_args *));
-int linux_bdflush __P((struct proc *, struct linux_bdflush_args *));
-int linux_sethae __P((struct proc *, struct linux_sethae_args *));
-int linux_mount __P((struct proc *, struct linux_mount_args *));
-int linux_old_adjtimex __P((struct proc *, struct linux_old_adjtimex_args *));
-int linux_swapoff __P((struct proc *, struct linux_swapoff_args *));
-int linux_getdents __P((struct proc *, struct linux_getdents_args *));
-int linux_create_module __P((struct proc *, struct linux_create_module_args *));
-int linux_init_module __P((struct proc *, struct linux_init_module_args *));
-int linux_delete_module __P((struct proc *, struct linux_delete_module_args *));
-int linux_get_kernel_syms __P((struct proc *, struct linux_get_kernel_syms_args *));
-int linux_syslog __P((struct proc *, struct linux_syslog_args *));
-int linux_reboot __P((struct proc *, struct linux_reboot_args *));
-int linux_clone __P((struct proc *, struct linux_clone_args *));
-int linux_uselib __P((struct proc *, struct linux_uselib_args *));
-int linux_sysinfo __P((struct proc *, struct linux_sysinfo_args *));
-int linux_sysctl __P((struct proc *, struct linux_sysctl_args *));
-int linux_oldumount __P((struct proc *, struct linux_oldumount_args *));
-int linux_times __P((struct proc *, struct linux_times_args *));
-int linux_personality __P((struct proc *, struct linux_personality_args *));
-int linux_setfsuid __P((struct proc *, struct linux_setfsuid_args *));
-int linux_setfsgid __P((struct proc *, struct linux_setfsgid_args *));
-int linux_ustat __P((struct proc *, struct linux_ustat_args *));
-int linux_statfs __P((struct proc *, struct linux_statfs_args *));
-int linux_fstatfs __P((struct proc *, struct linux_fstatfs_args *));
-int linux_sched_setscheduler __P((struct proc *, struct linux_sched_setscheduler_args *));
-int linux_sched_getscheduler __P((struct proc *, struct linux_sched_getscheduler_args *));
-int linux_sched_get_priority_max __P((struct proc *, struct linux_sched_get_priority_max_args *));
-int linux_sched_get_priority_min __P((struct proc *, struct linux_sched_get_priority_min_args *));
-int linux_newuname __P((struct proc *, struct linux_newuname_args *));
-int linux_mremap __P((struct proc *, struct linux_mremap_args *));
-int linux_nfsservctl __P((struct proc *, struct linux_nfsservctl_args *));
-int linux_pciconfig_read __P((struct proc *, struct linux_pciconfig_read_args *));
-int linux_pciconfig_write __P((struct proc *, struct linux_pciconfig_write_args *));
-int linux_query_module __P((struct proc *, struct linux_query_module_args *));
-int linux_prctl __P((struct proc *, struct linux_prctl_args *));
-int linux_pread __P((struct proc *, struct linux_pread_args *));
-int linux_pwrite __P((struct proc *, struct linux_pwrite_args *));
-int linux_rt_sigreturn __P((struct proc *, struct linux_rt_sigreturn_args *));
-int linux_rt_sigaction __P((struct proc *, struct linux_rt_sigaction_args *));
-int linux_rt_sigprocmask __P((struct proc *, struct linux_rt_sigprocmask_args *));
-int linux_rt_sigpending __P((struct proc *, struct linux_rt_sigpending_args *));
-int linux_rt_sigtimedwait __P((struct proc *, struct linux_rt_sigtimedwait_args *));
-int linux_rt_sigqueueinfo __P((struct proc *, struct linux_rt_sigqueueinfo_args *));
-int linux_rt_sigsuspend __P((struct proc *, struct linux_rt_sigsuspend_args *));
-int linux_select __P((struct proc *, struct linux_select_args *));
-int linux_getitimer __P((struct proc *, struct linux_getitimer_args *));
-int linux_setitimer __P((struct proc *, struct linux_setitimer_args *));
-int linux_utimes __P((struct proc *, struct linux_utimes_args *));
-int linux_wait4 __P((struct proc *, struct linux_wait4_args *));
-int linux_adjtimex __P((struct proc *, struct linux_adjtimex_args *));
-int linux_getcwd __P((struct proc *, struct linux_getcwd_args *));
-int linux_capget __P((struct proc *, struct linux_capget_args *));
-int linux_capset __P((struct proc *, struct linux_capset_args *));
-int linux_sendfile __P((struct proc *, struct linux_sendfile_args *));
-int linux_pivot_root __P((struct proc *, struct linux_pivot_root_args *));
-int linux_mincore __P((struct proc *, struct linux_mincore_args *));
-int linux_pciconfig_iobase __P((struct proc *, struct linux_pciconfig_iobase_args *));
-int linux_getdents64 __P((struct proc *, struct linux_getdents64_args *));
+int linux_fork __P((struct thread *, struct linux_fork_args *));
+int osf1_wait4 __P((struct thread *, struct osf1_wait4_args *));
+int linux_link __P((struct thread *, struct linux_link_args *));
+int linux_unlink __P((struct thread *, struct linux_unlink_args *));
+int linux_chdir __P((struct thread *, struct linux_chdir_args *));
+int linux_mknod __P((struct thread *, struct linux_mknod_args *));
+int linux_chmod __P((struct thread *, struct linux_chmod_args *));
+int linux_chown __P((struct thread *, struct linux_chown_args *));
+int linux_brk __P((struct thread *, struct linux_brk_args *));
+int linux_lseek __P((struct thread *, struct linux_lseek_args *));
+int linux_getpid __P((struct thread *, struct linux_getpid_args *));
+int linux_umount __P((struct thread *, struct linux_umount_args *));
+int linux_getuid __P((struct thread *, struct linux_getuid_args *));
+int linux_ptrace __P((struct thread *, struct linux_ptrace_args *));
+int linux_access __P((struct thread *, struct linux_access_args *));
+int linux_kill __P((struct thread *, struct linux_kill_args *));
+int linux_open __P((struct thread *, struct linux_open_args *));
+int linux_getgid __P((struct thread *, struct linux_getgid_args *));
+int osf1_sigprocmask __P((struct thread *, struct osf1_sigprocmask_args *));
+int linux_sigpending __P((struct thread *, struct linux_sigpending_args *));
+int linux_ioctl __P((struct thread *, struct linux_ioctl_args *));
+int linux_symlink __P((struct thread *, struct linux_symlink_args *));
+int linux_readlink __P((struct thread *, struct linux_readlink_args *));
+int linux_execve __P((struct thread *, struct linux_execve_args *));
+int linux_getpagesize __P((struct thread *, struct linux_getpagesize_args *));
+int linux_vfork __P((struct thread *, struct linux_vfork_args *));
+int linux_newstat __P((struct thread *, struct linux_newstat_args *));
+int linux_newlstat __P((struct thread *, struct linux_newlstat_args *));
+int linux_mmap __P((struct thread *, struct linux_mmap_args *));
+int linux_munmap __P((struct thread *, struct linux_munmap_args *));
+int linux_mprotect __P((struct thread *, struct linux_mprotect_args *));
+int linux_madvise __P((struct thread *, struct linux_madvise_args *));
+int linux_vhangup __P((struct thread *, struct linux_vhangup_args *));
+int linux_setgroups __P((struct thread *, struct linux_setgroups_args *));
+int linux_getgroups __P((struct thread *, struct linux_getgroups_args *));
+int linux_setpgid __P((struct thread *, struct linux_setpgid_args *));
+int osf1_setitimer __P((struct thread *, struct osf1_setitimer_args *));
+int linux_gethostname __P((struct thread *, struct linux_gethostname_args *));
+int linux_getdtablesize __P((struct thread *, struct linux_getdtablesize_args *));
+int linux_newfstat __P((struct thread *, struct linux_newfstat_args *));
+int linux_fcntl __P((struct thread *, struct linux_fcntl_args *));
+int osf1_select __P((struct thread *, struct osf1_select_args *));
+int osf1_socket __P((struct thread *, struct osf1_socket_args *));
+int linux_connect __P((struct thread *, struct linux_connect_args *));
+int osf1_sigreturn __P((struct thread *, struct osf1_sigreturn_args *));
+int osf1_sigsuspend __P((struct thread *, struct osf1_sigsuspend_args *));
+int linux_recvmsg __P((struct thread *, struct linux_recvmsg_args *));
+int linux_sendmsg __P((struct thread *, struct linux_sendmsg_args *));
+int osf1_gettimeofday __P((struct thread *, struct osf1_gettimeofday_args *));
+int osf1_getrusage __P((struct thread *, struct osf1_getrusage_args *));
+int linux_rename __P((struct thread *, struct linux_rename_args *));
+int linux_truncate __P((struct thread *, struct linux_truncate_args *));
+int osf1_sendto __P((struct thread *, struct osf1_sendto_args *));
+int linux_socketpair __P((struct thread *, struct linux_socketpair_args *));
+int linux_mkdir __P((struct thread *, struct linux_mkdir_args *));
+int linux_rmdir __P((struct thread *, struct linux_rmdir_args *));
+int linux_getrlimit __P((struct thread *, struct linux_getrlimit_args *));
+int linux_setrlimit __P((struct thread *, struct linux_setrlimit_args *));
+int linux_quotactl __P((struct thread *, struct linux_quotactl_args *));
+int osf1_sigaction __P((struct thread *, struct osf1_sigaction_args *));
+int linux_msgctl __P((struct thread *, struct linux_msgctl_args *));
+int linux_msgget __P((struct thread *, struct linux_msgget_args *));
+int linux_msgrcv __P((struct thread *, struct linux_msgrcv_args *));
+int linux_msgsnd __P((struct thread *, struct linux_msgsnd_args *));
+int linux_semctl __P((struct thread *, struct linux_semctl_args *));
+int linux_semget __P((struct thread *, struct linux_semget_args *));
+int linux_semop __P((struct thread *, struct linux_semop_args *));
+int linux_lchown __P((struct thread *, struct linux_lchown_args *));
+int linux_shmat __P((struct thread *, struct linux_shmat_args *));
+int linux_shmctl __P((struct thread *, struct linux_shmctl_args *));
+int linux_shmdt __P((struct thread *, struct linux_shmdt_args *));
+int linux_shmget __P((struct thread *, struct linux_shmget_args *));
+int linux_msync __P((struct thread *, struct linux_msync_args *));
+int linux_getpgid __P((struct thread *, struct linux_getpgid_args *));
+int linux_getsid __P((struct thread *, struct linux_getsid_args *));
+int linux_sigaltstack __P((struct thread *, struct linux_sigaltstack_args *));
+int osf1_sysinfo __P((struct thread *, struct osf1_sysinfo_args *));
+int linux_sysfs __P((struct thread *, struct linux_sysfs_args *));
+int osf1_getsysinfo __P((struct thread *, struct osf1_getsysinfo_args *));
+int osf1_setsysinfo __P((struct thread *, struct osf1_setsysinfo_args *));
+int linux_bdflush __P((struct thread *, struct linux_bdflush_args *));
+int linux_sethae __P((struct thread *, struct linux_sethae_args *));
+int linux_mount __P((struct thread *, struct linux_mount_args *));
+int linux_old_adjtimex __P((struct thread *, struct linux_old_adjtimex_args *));
+int linux_swapoff __P((struct thread *, struct linux_swapoff_args *));
+int linux_getdents __P((struct thread *, struct linux_getdents_args *));
+int linux_create_module __P((struct thread *, struct linux_create_module_args *));
+int linux_init_module __P((struct thread *, struct linux_init_module_args *));
+int linux_delete_module __P((struct thread *, struct linux_delete_module_args *));
+int linux_get_kernel_syms __P((struct thread *, struct linux_get_kernel_syms_args *));
+int linux_syslog __P((struct thread *, struct linux_syslog_args *));
+int linux_reboot __P((struct thread *, struct linux_reboot_args *));
+int linux_clone __P((struct thread *, struct linux_clone_args *));
+int linux_uselib __P((struct thread *, struct linux_uselib_args *));
+int linux_sysinfo __P((struct thread *, struct linux_sysinfo_args *));
+int linux_sysctl __P((struct thread *, struct linux_sysctl_args *));
+int linux_oldumount __P((struct thread *, struct linux_oldumount_args *));
+int linux_times __P((struct thread *, struct linux_times_args *));
+int linux_personality __P((struct thread *, struct linux_personality_args *));
+int linux_setfsuid __P((struct thread *, struct linux_setfsuid_args *));
+int linux_setfsgid __P((struct thread *, struct linux_setfsgid_args *));
+int linux_ustat __P((struct thread *, struct linux_ustat_args *));
+int linux_statfs __P((struct thread *, struct linux_statfs_args *));
+int linux_fstatfs __P((struct thread *, struct linux_fstatfs_args *));
+int linux_sched_setscheduler __P((struct thread *, struct linux_sched_setscheduler_args *));
+int linux_sched_getscheduler __P((struct thread *, struct linux_sched_getscheduler_args *));
+int linux_sched_get_priority_max __P((struct thread *, struct linux_sched_get_priority_max_args *));
+int linux_sched_get_priority_min __P((struct thread *, struct linux_sched_get_priority_min_args *));
+int linux_newuname __P((struct thread *, struct linux_newuname_args *));
+int linux_mremap __P((struct thread *, struct linux_mremap_args *));
+int linux_nfsservctl __P((struct thread *, struct linux_nfsservctl_args *));
+int linux_pciconfig_read __P((struct thread *, struct linux_pciconfig_read_args *));
+int linux_pciconfig_write __P((struct thread *, struct linux_pciconfig_write_args *));
+int linux_query_module __P((struct thread *, struct linux_query_module_args *));
+int linux_prctl __P((struct thread *, struct linux_prctl_args *));
+int linux_pread __P((struct thread *, struct linux_pread_args *));
+int linux_pwrite __P((struct thread *, struct linux_pwrite_args *));
+int linux_rt_sigreturn __P((struct thread *, struct linux_rt_sigreturn_args *));
+int linux_rt_sigaction __P((struct thread *, struct linux_rt_sigaction_args *));
+int linux_rt_sigprocmask __P((struct thread *, struct linux_rt_sigprocmask_args *));
+int linux_rt_sigpending __P((struct thread *, struct linux_rt_sigpending_args *));
+int linux_rt_sigtimedwait __P((struct thread *, struct linux_rt_sigtimedwait_args *));
+int linux_rt_sigqueueinfo __P((struct thread *, struct linux_rt_sigqueueinfo_args *));
+int linux_rt_sigsuspend __P((struct thread *, struct linux_rt_sigsuspend_args *));
+int linux_select __P((struct thread *, struct linux_select_args *));
+int linux_getitimer __P((struct thread *, struct linux_getitimer_args *));
+int linux_setitimer __P((struct thread *, struct linux_setitimer_args *));
+int linux_utimes __P((struct thread *, struct linux_utimes_args *));
+int linux_wait4 __P((struct thread *, struct linux_wait4_args *));
+int linux_adjtimex __P((struct thread *, struct linux_adjtimex_args *));
+int linux_getcwd __P((struct thread *, struct linux_getcwd_args *));
+int linux_capget __P((struct thread *, struct linux_capget_args *));
+int linux_capset __P((struct thread *, struct linux_capset_args *));
+int linux_sendfile __P((struct thread *, struct linux_sendfile_args *));
+int linux_pivot_root __P((struct thread *, struct linux_pivot_root_args *));
+int linux_mincore __P((struct thread *, struct linux_mincore_args *));
+int linux_pciconfig_iobase __P((struct thread *, struct linux_pciconfig_iobase_args *));
+int linux_getdents64 __P((struct thread *, struct linux_getdents64_args *));
#ifdef COMPAT_43
OpenPOWER on IntegriCloud