5 #include <vga-overlay.h>
10 typedef uint16_t u16_t;
11 typedef uint32_t u32_t;
13 typedef int16_t s16_t;
14 typedef int32_t s32_t;
15 typedef uint32_t mem_ptr_t;
17 #define PACK_STRUCT_FIELD(x) x __attribute__((packed))
18 #define PACK_STRUCT_STRUCT __attribute__((packed))
19 #define PACK_STRUCT_BEGIN
20 #define PACK_STRUCT_END
22 #define BYTE_ORDER LITTLE_ENDIAN
28 #define LWIP_PLATFORM_BYTESWAP 1
29 #define LWIP_PLATFORM_HTONS(x) htons(x)
30 #define LWIP_PLATFORM_HTONL(x) htonl(x)
32 #define LWIP_PLATFORM_DIAG(x) outputf x
33 #define LWIP_PLATFORM_ASSERT(x) dologf("ASSERT FAILED: %s\n", (x));