ReactOS 0.4.16-dev-306-g647d351
|
Go to the source code of this file.
Macros | |
#define | SYS_ARCH_TIMEOUT 0xffffffffUL |
#define | SYS_MBOX_EMPTY SYS_ARCH_TIMEOUT |
#define | LWIP_COMPAT_MUTEX 0 |
#define | sys_sem_wait(sem) sys_arch_sem_wait(sem, 0) |
#define | sys_sem_valid_val(sem) sys_sem_valid(&(sem)) |
#define | sys_sem_set_invalid_val(sem) sys_sem_set_invalid(&(sem)) |
#define | sys_mbox_tryfetch(mbox, msg) sys_arch_mbox_tryfetch(mbox, msg) |
#define | sys_mbox_fetch(mbox, msg) sys_arch_mbox_fetch(mbox, msg, 0) |
#define | sys_mbox_valid_val(mbox) sys_mbox_valid(&(mbox)) |
#define | sys_mbox_set_invalid_val(mbox) sys_mbox_set_invalid(&(mbox)) |
#define | LWIP_MARK_TCPIP_THREAD() |
#define | SYS_ARCH_DECL_PROTECT(lev) |
#define | SYS_ARCH_PROTECT(lev) |
#define | SYS_ARCH_UNPROTECT(lev) |
#define | SYS_ARCH_INC(var, val) |
#define | SYS_ARCH_DEC(var, val) |
#define | SYS_ARCH_GET(var, ret) |
#define | SYS_ARCH_SET(var, val) |
#define | SYS_ARCH_LOCKED(code) |
Typedefs | |
typedef void(* | lwip_thread_fn) (void *arg) |
OS abstraction layer
Definition in file sys.h.
#define LWIP_COMPAT_MUTEX 0 |
#define SYS_ARCH_DECL_PROTECT | ( | lev | ) |
#define SYS_ARCH_TIMEOUT 0xffffffffUL |
#define SYS_MBOX_EMPTY SYS_ARCH_TIMEOUT |
sys_mbox_tryfetch() returns SYS_MBOX_EMPTY if appropriate. For now we use the same magic value, but we allow this to change in future.
#define sys_mbox_fetch | ( | mbox, | |
msg | |||
) | sys_arch_mbox_fetch(mbox, msg, 0) |
#define sys_mbox_set_invalid_val | ( | mbox | ) | sys_mbox_set_invalid(&(mbox)) |
Same as sys_mbox_set_invalid() but taking a value, not a pointer
#define sys_mbox_tryfetch | ( | mbox, | |
msg | |||
) | sys_arch_mbox_tryfetch(mbox, msg) |
#define sys_mbox_valid_val | ( | mbox | ) | sys_mbox_valid(&(mbox)) |
Same as sys_mbox_valid() but taking a value, not a pointer
#define sys_sem_set_invalid_val | ( | sem | ) | sys_sem_set_invalid(&(sem)) |
Same as sys_sem_set_invalid() but taking a value, not a pointer
#define sys_sem_valid_val | ( | sem | ) | sys_sem_valid(&(sem)) |
Same as sys_sem_valid() but taking a value, not a pointer
#define sys_sem_wait | ( | sem | ) | sys_arch_sem_wait(sem, 0) |
Ticks/jiffies since power up.
Definition at line 48 of file sys_arch.c.