diff options
author | archie <archie@FreeBSD.org> | 2002-09-25 18:10:42 +0000 |
---|---|---|
committer | archie <archie@FreeBSD.org> | 2002-09-25 18:10:42 +0000 |
commit | 904b65e85dd276aa2fb13c05b6eea79860a6855f (patch) | |
tree | 33219152bf2278891abb4870867b5943ed735b0d /sys/compat | |
parent | 3df40ef43851716731330fa4b3988b6e3693cf22 (diff) | |
download | FreeBSD-src-904b65e85dd276aa2fb13c05b6eea79860a6855f.zip FreeBSD-src-904b65e85dd276aa2fb13c05b6eea79860a6855f.tar.gz |
Make the following name changes to KSE related functions, etc., to better
represent their purpose and minimize namespace conflicts:
kse_fn_t -> kse_func_t
struct thread_mailbox -> struct kse_thr_mailbox
thread_interrupt() -> kse_thr_interrupt()
kse_yield() -> kse_release()
kse_new() -> kse_create()
Add missing declaration of kse_thr_interrupt() to <sys/kse.h>.
Regenerate the various generated syscall files. Minor style fixes.
Reviewed by: julian
Diffstat (limited to 'sys/compat')
-rw-r--r-- | sys/compat/freebsd32/freebsd32_proto.h | 2 | ||||
-rw-r--r-- | sys/compat/freebsd32/freebsd32_syscall.h | 6 | ||||
-rw-r--r-- | sys/compat/freebsd32/freebsd32_sysent.c | 6 | ||||
-rw-r--r-- | sys/compat/freebsd32/syscalls.master | 8 |
4 files changed, 11 insertions, 11 deletions
diff --git a/sys/compat/freebsd32/freebsd32_proto.h b/sys/compat/freebsd32/freebsd32_proto.h index 36b9e73..d7b14b7 100644 --- a/sys/compat/freebsd32/freebsd32_proto.h +++ b/sys/compat/freebsd32/freebsd32_proto.h @@ -10,8 +10,8 @@ #define _IA32_SYSPROTO_H_ #include <sys/signal.h> - #include <sys/acl.h> +#include <posix4/_semaphore.h> struct proc; diff --git a/sys/compat/freebsd32/freebsd32_syscall.h b/sys/compat/freebsd32/freebsd32_syscall.h index e457152..7aeb701 100644 --- a/sys/compat/freebsd32/freebsd32_syscall.h +++ b/sys/compat/freebsd32/freebsd32_syscall.h @@ -279,9 +279,9 @@ #define IA32_SYS_nmount 378 #define IA32_SYS_kse_exit 379 #define IA32_SYS_kse_wakeup 380 -#define IA32_SYS_kse_new 381 -#define IA32_SYS_thread_wakeup 382 -#define IA32_SYS_kse_yield 383 +#define IA32_SYS_kse_create 381 +#define IA32_SYS_kse_thr_interrupt 382 +#define IA32_SYS_kse_release 383 #define IA32_SYS_kenv 390 #define IA32_SYS_lchflags 391 #define IA32_SYS_uuidgen 392 diff --git a/sys/compat/freebsd32/freebsd32_sysent.c b/sys/compat/freebsd32/freebsd32_sysent.c index a385596..9d7d934 100644 --- a/sys/compat/freebsd32/freebsd32_sysent.c +++ b/sys/compat/freebsd32/freebsd32_sysent.c @@ -398,9 +398,9 @@ struct sysent ia32_sysent[] = { { AS(nmount_args), (sy_call_t *)nmount }, /* 378 = nmount */ { 0, (sy_call_t *)kse_exit }, /* 379 = kse_exit */ { 0, (sy_call_t *)kse_wakeup }, /* 380 = kse_wakeup */ - { AS(kse_new_args), (sy_call_t *)kse_new }, /* 381 = kse_new */ - { AS(thread_wakeup_args), (sy_call_t *)thread_wakeup }, /* 382 = thread_wakeup */ - { 0, (sy_call_t *)kse_yield }, /* 383 = kse_yield */ + { AS(kse_create_args), (sy_call_t *)kse_create }, /* 381 = kse_create */ + { AS(kse_thr_interrupt_args), (sy_call_t *)kse_thr_interrupt }, /* 382 = kse_thr_interrupt */ + { 0, (sy_call_t *)kse_release }, /* 383 = kse_release */ { 0, (sy_call_t *)nosys }, /* 384 = __mac_get_proc */ { 0, (sy_call_t *)nosys }, /* 385 = __mac_set_proc */ { 0, (sy_call_t *)nosys }, /* 386 = __mac_get_fd */ diff --git a/sys/compat/freebsd32/syscalls.master b/sys/compat/freebsd32/syscalls.master index 6de1c57..7d5b17c 100644 --- a/sys/compat/freebsd32/syscalls.master +++ b/sys/compat/freebsd32/syscalls.master @@ -547,10 +547,10 @@ int flags); } 379 NOPROTO BSD { int kse_exit(void); } 380 NOPROTO BSD { int kse_wakeup(void); } -381 NOPROTO BSD { int kse_new(struct kse_mailbox * mbx, \ - int new_grp_flag); } -382 NOPROTO BSD { int thread_wakeup(struct thread_mailbox *tmbx); } -383 NOPROTO BSD { int kse_yield(void); } +381 NOPROTO BSD { int kse_create(struct kse_mailbox *mbx, \ + int newgroup); } +382 NOPROTO BSD { int kse_thr_interrupt(struct kse_thr_mailbox *tmbx); } +383 NOPROTO BSD { int kse_release(void); } 384 UNIMPL BSD __mac_get_proc 385 UNIMPL BSD __mac_set_proc 386 UNIMPL BSD __mac_get_fd |