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/kern/kern_kse.c | |
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/kern/kern_kse.c')
-rw-r--r-- | sys/kern/kern_kse.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/kern/kern_kse.c b/sys/kern/kern_kse.c index c722498..5d4fcd4 100644 --- a/sys/kern/kern_kse.c +++ b/sys/kern/kern_kse.c @@ -339,13 +339,13 @@ thread_export_context(struct thread *td) #endif /* Export the user/machine context. */ error = copyin((caddr_t)td->td_mailbox + - offsetof(struct thread_mailbox, tm_context), + offsetof(struct kse_thr_mailbox, tm_context), &uc, sizeof(ucontext_t)); if (error == 0) { thread_getcontext(td, &uc); error = copyout(&uc, (caddr_t)td->td_mailbox + - offsetof(struct thread_mailbox, tm_context), + offsetof(struct kse_thr_mailbox, tm_context), sizeof(ucontext_t)); } @@ -353,7 +353,7 @@ thread_export_context(struct thread *td) addr1 = (caddr_t)ke->ke_mailbox + offsetof(struct kse_mailbox, km_completed); addr2 = (caddr_t)td->td_mailbox - + offsetof(struct thread_mailbox , tm_next); + + offsetof(struct kse_thr_mailbox, tm_next); /* Then link it into it's KSE's list of completed threads. */ if (!error) { error = td2_mbx = fuword(addr1); |