Changeset View
Changeset View
Standalone View
Standalone View
sys/compat/freebsd32/freebsd32_misc.c
Show First 20 Lines • Show All 3,765 Lines • ▼ Show 20 Lines | freebsd32_ppoll(struct thread *td, struct freebsd32_ppoll_args *uap) | ||||
if (uap->set != NULL) { | if (uap->set != NULL) { | ||||
error = copyin(uap->set, &set, sizeof(set)); | error = copyin(uap->set, &set, sizeof(set)); | ||||
if (error != 0) | if (error != 0) | ||||
return (error); | return (error); | ||||
ssp = &set; | ssp = &set; | ||||
} else | } else | ||||
ssp = NULL; | ssp = NULL; | ||||
return (kern_poll(td, uap->fds, uap->nfds, tsp, ssp)); | return (kern_poll_ufds(td, uap->fds, uap->nfds, tsp, ssp)); | ||||
} | } | ||||
int | int | ||||
freebsd32_sched_rr_get_interval(struct thread *td, | freebsd32_sched_rr_get_interval(struct thread *td, | ||||
struct freebsd32_sched_rr_get_interval_args *uap) | struct freebsd32_sched_rr_get_interval_args *uap) | ||||
{ | { | ||||
struct timespec ts; | struct timespec ts; | ||||
struct timespec32 ts32; | struct timespec32 ts32; | ||||
▲ Show 20 Lines • Show All 75 Lines • Show Last 20 Lines |