The Pedigree Project
0.1
|
#include "arch/cc.h"
#include <stddef.h>
#include <inttypes.h>
#include <limits.h>
Go to the source code of this file.
Macros | |
#define | BIG_ENDIAN 4321 |
#define | BYTE_ORDER LITTLE_ENDIAN |
#define | LWIP_NO_STDDEF_H 0 |
#define | LWIP_NO_INTTYPES_H 0 |
#define | X8_F "02" PRIx8 |
#define | LWIP_NO_LIMITS_H 0 |
#define | LWIP_CONST_CAST(target_type, val) ((target_type)((ptrdiff_t)val)) |
#define | LWIP_ALIGNMENT_CAST(target_type, val) LWIP_CONST_CAST(target_type, val) |
#define | LWIP_PTR_NUMERIC_CAST(target_type, val) LWIP_CONST_CAST(target_type, val) |
#define | LWIP_DECLARE_MEMORY_ALIGNED(variable_name, size) u8_t variable_name[LWIP_MEM_ALIGN_BUFFER(size)] |
#define | LWIP_MEM_ALIGN_SIZE(size) (((size) + MEM_ALIGNMENT - 1U) & ~(MEM_ALIGNMENT-1U)) |
#define | LWIP_MEM_ALIGN_BUFFER(size) (((size) + MEM_ALIGNMENT - 1U)) |
#define | LWIP_MEM_ALIGN(addr) ((void *)(((mem_ptr_t)(addr) + MEM_ALIGNMENT - 1) & ~(mem_ptr_t)(MEM_ALIGNMENT-1))) |
#define | PACK_STRUCT_BEGIN |
#define | PACK_STRUCT_END |
#define | PACK_STRUCT_FIELD(x) x |
#define | PACK_STRUCT_FLD_8(x) PACK_STRUCT_FIELD(x) |
#define | PACK_STRUCT_FLD_S(x) PACK_STRUCT_FIELD(x) |
#define | LWIP_UNUSED_ARG(x) (void)x |
Support for different processor and compiler architectures
Definition in file arch.h.