Changeset View
Changeset View
Standalone View
Standalone View
sys/compat/linux/linux.h
Show First 20 Lines • Show All 167 Lines • ▼ Show 20 Lines | |||||
#define LINUX_SIGRTMIN 32 | #define LINUX_SIGRTMIN 32 | ||||
#define LINUX_SIGRTMAX 64 | #define LINUX_SIGRTMAX 64 | ||||
#define LINUX_SIG_VALID(sig) ((sig) <= LINUX_SIGRTMAX && (sig) > 0) | #define LINUX_SIG_VALID(sig) ((sig) <= LINUX_SIGRTMAX && (sig) > 0) | ||||
int linux_to_bsd_signal(int sig); | int linux_to_bsd_signal(int sig); | ||||
int bsd_to_linux_signal(int sig); | int bsd_to_linux_signal(int sig); | ||||
extern LIST_HEAD(futex_list, futex) futex_list; | |||||
extern struct mtx futex_mtx; | |||||
void linux_dev_shm_create(void); | void linux_dev_shm_create(void); | ||||
void linux_dev_shm_destroy(void); | void linux_dev_shm_destroy(void); | ||||
/* | /* | ||||
* mask=0 is not sensible for this application, so it will be taken to mean | * mask=0 is not sensible for this application, so it will be taken to mean | ||||
* a mask equivalent to the value. Otherwise, (word & mask) == value maps to | * a mask equivalent to the value. Otherwise, (word & mask) == value maps to | ||||
* (word & ~mask) | value in a bitfield for the platform we're converting to. | * (word & ~mask) | value in a bitfield for the platform we're converting to. | ||||
*/ | */ | ||||
▲ Show 20 Lines • Show All 85 Lines • Show Last 20 Lines |