Changeset View
Changeset View
Standalone View
Standalone View
sys/sys/umtx.h
Context not available. | |||||
#define UMTX_OP_SHM 25 | #define UMTX_OP_SHM 25 | ||||
#define UMTX_OP_ROBUST_LISTS 26 | #define UMTX_OP_ROBUST_LISTS 26 | ||||
/* | |||||
* Flags for ops; the double-underbar convention must be maintained for future | |||||
* additions for the sake of libsysdecode. | |||||
*/ | |||||
#define UMTX_OP__I386 0x40000000 | |||||
#define UMTX_OP__32BIT 0x80000000 | |||||
/* Flags for UMTX_OP_CV_WAIT */ | /* Flags for UMTX_OP_CV_WAIT */ | ||||
#define CVWAIT_CHECK_UNPARKING 0x01 | #define CVWAIT_CHECK_UNPARKING 0x01 | ||||
#define CVWAIT_ABSTIME 0x02 | #define CVWAIT_ABSTIME 0x02 | ||||
Context not available. | |||||
void umtx_thread_alloc(struct thread *); | void umtx_thread_alloc(struct thread *); | ||||
void umtx_thread_exit(struct thread *); | void umtx_thread_exit(struct thread *); | ||||
struct umtx_copyops { | |||||
int (*copyin_timeout)(const void *uaddr, struct timespec *tsp); | |||||
int (*copyin_umtx_time)(const void *uaddr, size_t size, | |||||
struct _umtx_time *tp); | |||||
int (*copyin_robust_lists)(const void *uaddr, size_t size, | |||||
struct umtx_robust_lists_params *rbp); | |||||
int (*copyout_timeout)(void *uaddr, size_t size, | |||||
struct timespec *tsp); | |||||
const size_t timespec_sz; | |||||
const size_t umtx_time_sz; | |||||
const bool compat32; | |||||
}; | |||||
#ifdef COMPAT_FREEBSD32 | |||||
extern const struct umtx_copyops umtx_native_ops32; | |||||
#endif | |||||
#endif /* !_KERNEL */ | #endif /* !_KERNEL */ | ||||
#endif /* !_SYS_UMTX_H_ */ | #endif /* !_SYS_UMTX_H_ */ | ||||
Context not available. |