System abstraction layer.
More...
System abstraction layer.
Describes compiler and processor to lwIP.
|
file | cc.h |
| Compiler/platform abstraction.
|
|
file | sys_arch.h |
| OS abstraction layer.
|
|
|
kernel_pid_t | lwip_tcpip_thread |
| PID of the lwIP TCP/IP thread.
|
|
|
void | sys_lock_tcpip_core (void) |
|
void | sys_unlock_tcpip_core (void) |
|
#define | LOCK_TCPIP_CORE() sys_lock_tcpip_core() |
|
#define | UNLOCK_TCPIP_CORE() sys_unlock_tcpip_core() |
|
◆ BYTE_ORDER
platform's endianness
Definition at line 42 of file cc.h.
◆ LOCK_TCPIP_CORE
#define LOCK_TCPIP_CORE |
( |
| ) |
sys_lock_tcpip_core() |
◆ LWIP_COMPAT_MUTEX
#define LWIP_COMPAT_MUTEX (0) |
System configuration.
Definition at line 42 of file sys_arch.h.
◆ LWIP_PLATFORM_ASSERT
#define LWIP_PLATFORM_ASSERT |
( |
|
x | ) |
|
Value: do { \
printf("Assertion \"%s\" failed at %s:%d\n", x, __FILE__, __LINE__); \
fflush(NULL); \
abort(); \
} while (0)
Definition at line 96 of file cc.h.
◆ LWIP_PLATFORM_DIAG
#define LWIP_PLATFORM_DIAG |
( |
|
x | ) |
printf x |
Definition at line 92 of file cc.h.
◆ PACK_STRUCT_BEGIN
#define PACK_STRUCT_BEGIN |
Definition at line 71 of file cc.h.
◆ PACK_STRUCT_END
Definition at line 72 of file cc.h.
◆ PACK_STRUCT_FIELD
#define PACK_STRUCT_FIELD |
( |
|
x | ) |
x |
Definition at line 69 of file cc.h.
◆ PACK_STRUCT_STRUCT
#define PACK_STRUCT_STRUCT __attribute__((packed)) |
Definition at line 70 of file cc.h.
◆ S16_F
Definition at line 56 of file cc.h.
◆ S32_F
Definition at line 59 of file cc.h.
◆ SYS_ARCH_DECL_PROTECT
◆ SYS_ARCH_PROTECT
◆ SYS_ARCH_UNPROTECT
◆ sys_mbox_set_invalid
#define sys_mbox_set_invalid |
( |
|
mbox | ) |
(sys_mbox_set_invalid(mbox)) |
◆ SYS_MBOX_SIZE
#define SYS_MBOX_SIZE (8) |
◆ sys_mbox_valid
#define sys_mbox_valid |
( |
|
mbox | ) |
(sys_mbox_valid(mbox)) |
◆ sys_mutex_set_invalid
#define sys_mutex_set_invalid |
( |
|
mutex | ) |
|
◆ sys_mutex_valid
#define sys_mutex_valid |
( |
|
mutex | ) |
(sys_mutex_valid(mutex)) |
◆ sys_sem_set_invalid
#define sys_sem_set_invalid |
( |
|
sem | ) |
|
◆ sys_sem_valid
#define sys_sem_valid |
( |
|
sem | ) |
(sys_sem_valid(sem)) |
◆ SZT_F
Definition at line 62 of file cc.h.
◆ U16_F
Definition at line 55 of file cc.h.
◆ U32_F
Definition at line 58 of file cc.h.
◆ UNLOCK_TCPIP_CORE
#define UNLOCK_TCPIP_CORE |
( |
| ) |
sys_unlock_tcpip_core() |
◆ X16_F
Definition at line 57 of file cc.h.
◆ X32_F
Definition at line 60 of file cc.h.
◆ X8_F
Definition at line 54 of file cc.h.
◆ sys_mutex_t
Platform specific mutex type.
Definition at line 76 of file sys_arch.h.
◆ sys_sem_t
Platform specific semaphore type.
Definition at line 59 of file sys_arch.h.
◆ sys_thread_t
Platform specific thread type.
Definition at line 118 of file sys_arch.h.
◆ sys_mbox_set_invalid()
static void sys_mbox_set_invalid |
( |
sys_mbox_t * |
mbox | ) |
|
|
inlinestatic |
◆ sys_mbox_valid()
◆ sys_mutex_valid()
◆ sys_sem_valid()