Compiler definition file for MityDSP lwIP port. More...
#include <string.h>#include <stdlib.h>#include <errno.h>Macros | |
| #define | BYTE_ORDER LITTLE_ENDIAN |
| #define | U16_F "hu" |
| #define | S16_F "hd" |
| #define | X16_F "hx" |
| #define | U32_F "u" |
| #define | S32_F "d" |
| #define | X32_F "x" |
| #define | PACK_STRUCT_STRUCT |
| #define | LWIP_PLATFORM_ASSERT(x) sys_arch_assert((x), __LINE__, __FILE__) |
| #define | LWIP_PLATFORM_DIAG(x) if (lwip_printf != NULL) { lwip_printf x; } |
| #define | LWIP_PROVIDE_ERRNO |
Typedefs | |
| typedef unsigned char | u8_t |
| typedef char | s8_t |
| typedef unsigned short | u16_t |
| typedef short | s16_t |
| typedef unsigned int | u32_t |
| typedef int | s32_t |
| typedef unsigned int | mem_ptr_t |
Functions | |
| void | sys_arch_assert (const char *msg, int line, const char *file) |
Variables | |
| void(* | lwip_printf )(const char *fmt,...) |
| Define default lwip_printf function. | |
Compiler definition file for MityDSP lwIP port.
o 0 | / Copyright (c) 2007 (CL)—o Critical Link, LLC \ O
| #define BYTE_ORDER LITTLE_ENDIAN |
| #define U16_F "hu" |
| #define S16_F "hd" |
| #define X16_F "hx" |
| #define U32_F "u" |
| #define S32_F "d" |
| #define X32_F "x" |
| #define PACK_STRUCT_STRUCT |
| #define LWIP_PLATFORM_ASSERT | ( | x | ) | sys_arch_assert((x), __LINE__, __FILE__) |
| #define LWIP_PLATFORM_DIAG | ( | x | ) | if (lwip_printf != NULL) { lwip_printf x; } |
| #define LWIP_PROVIDE_ERRNO |
| typedef unsigned char u8_t |
| typedef char s8_t |
| typedef unsigned short u16_t |
| typedef short s16_t |
| typedef unsigned int u32_t |
| typedef int s32_t |
| typedef unsigned int mem_ptr_t |
| void sys_arch_assert | ( | const char * | apMsg, |
| int | anLine, | ||
| const char * | apFile | ||
| ) |
Upon failure of an assertion this routine creates an error string, passes it to any registered assertion handlers, and then aborts the current thread.
| [in] | apMsg | Text message associate with assertion. |
| [in] | anLine | Line number assertion occurred on. |
| [in] | apFile | File that assertion occurred in. |
| void(* lwip_printf)(const char *fmt,...) |
Define default lwip_printf function.