Changeset View
Changeset View
Standalone View
Standalone View
head/sys/sys/proc.h
Show First 20 Lines • Show All 999 Lines • ▼ Show 20 Lines | |||||
extern void (*cpu_idle_hook)(sbintime_t); /* Hook to machdep CPU idler. */ | extern void (*cpu_idle_hook)(sbintime_t); /* Hook to machdep CPU idler. */ | ||||
void cpu_switch(struct thread *, struct thread *, struct mtx *); | void cpu_switch(struct thread *, struct thread *, struct mtx *); | ||||
void cpu_throw(struct thread *, struct thread *) __dead2; | void cpu_throw(struct thread *, struct thread *) __dead2; | ||||
void unsleep(struct thread *); | void unsleep(struct thread *); | ||||
void userret(struct thread *, struct trapframe *); | void userret(struct thread *, struct trapframe *); | ||||
void cpu_exit(struct thread *); | void cpu_exit(struct thread *); | ||||
void exit1(struct thread *, int, int) __dead2; | void exit1(struct thread *, int, int) __dead2; | ||||
void cpu_copy_thread(struct thread *td, struct thread *td0); | |||||
int cpu_fetch_syscall_args(struct thread *td, struct syscall_args *sa); | int cpu_fetch_syscall_args(struct thread *td, struct syscall_args *sa); | ||||
void cpu_fork(struct thread *, struct proc *, struct thread *, int); | void cpu_fork(struct thread *, struct proc *, struct thread *, int); | ||||
void cpu_set_fork_handler(struct thread *, void (*)(void *), void *); | void cpu_fork_kthread_handler(struct thread *, void (*)(void *), void *); | ||||
void cpu_set_syscall_retval(struct thread *, int); | void cpu_set_syscall_retval(struct thread *, int); | ||||
void cpu_set_upcall(struct thread *td, struct thread *td0); | void cpu_set_upcall(struct thread *, void (*)(void *), void *, | ||||
void cpu_set_upcall_kse(struct thread *, void (*)(void *), void *, | |||||
stack_t *); | stack_t *); | ||||
int cpu_set_user_tls(struct thread *, void *tls_base); | int cpu_set_user_tls(struct thread *, void *tls_base); | ||||
void cpu_thread_alloc(struct thread *); | void cpu_thread_alloc(struct thread *); | ||||
void cpu_thread_clean(struct thread *); | void cpu_thread_clean(struct thread *); | ||||
void cpu_thread_exit(struct thread *); | void cpu_thread_exit(struct thread *); | ||||
void cpu_thread_free(struct thread *); | void cpu_thread_free(struct thread *); | ||||
void cpu_thread_swapin(struct thread *); | void cpu_thread_swapin(struct thread *); | ||||
void cpu_thread_swapout(struct thread *); | void cpu_thread_swapout(struct thread *); | ||||
▲ Show 20 Lines • Show All 60 Lines • Show Last 20 Lines |