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.
|
| |
|
|
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() |
| |
|
|
#define | X8_F "02" PRIx8 |
| |
|
#define | U16_F PRIu16 |
| |
|
#define | S16_F PRId16 |
| |
|
#define | X16_F PRIx16 |
| |
|
#define | U32_F PRIu32 |
| |
|
#define | S32_F PRId32 |
| |
|
#define | X32_F PRIx32 |
| |
|
#define | SZT_F PRIuPTR |
| |
|
|
#define | PACK_STRUCT_FIELD(x) x |
| |
|
#define | PACK_STRUCT_STRUCT __attribute__((packed)) |
| |
|
#define | PACK_STRUCT_BEGIN |
| |
|
#define | PACK_STRUCT_END |
| |
|
|
#define | LWIP_PLATFORM_DIAG(x) printf x |
| |
| #define | LWIP_PLATFORM_ASSERT(x) |
| |
◆ 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.