mirror of
https://github.com/reactos/reactos.git
synced 2025-07-31 08:42:05 +00:00
[TCPIP] Synchronize LWIP code to 2.2.0
- take code from STABLE-2_2_0_RELEASE commit on https://git.savannah.gnu.org/git/lwip.git - remove lwip/contrib directory - do required changes due to upgrade in * CMakeLists.txt * include/lwip/arch/cc.h * include/lwip/arch/sys_arch.h * include/lwip/lwipopts.h * include/tcpip.h * ip/CMakeLists.txt * ip/lwip_glue/lwip_glue.h * ip/lwip_glue/tcp.c * ip/transport/tcp/if.c * tcpip/icmp.c CORE-13098
This commit is contained in:
parent
bc94df7288
commit
d6eebaa47a
449 changed files with 132870 additions and 38788 deletions
|
@ -15,23 +15,6 @@ free(void *mem);
|
|||
void *
|
||||
realloc(void *mem, size_t size);
|
||||
|
||||
/* mem_trim() must trim the buffer without relocating it.
|
||||
* Since we can't do that, we just return the buffer passed in unchanged */
|
||||
#define mem_trim(_m_, _s_) (_m_)
|
||||
|
||||
/* Unsigned int types */
|
||||
typedef unsigned char u8_t;
|
||||
typedef unsigned short u16_t;
|
||||
typedef unsigned long u32_t;
|
||||
|
||||
/* Signed int types */
|
||||
typedef signed char s8_t;
|
||||
typedef signed short s16_t;
|
||||
typedef signed long s32_t;
|
||||
|
||||
/* Memory pointer */
|
||||
typedef ULONG_PTR mem_ptr_t;
|
||||
|
||||
/* Printf/DPRINT formatters */
|
||||
#define U16_F "hu"
|
||||
#define S16_F "hd"
|
||||
|
|
|
@ -27,6 +27,9 @@ typedef struct _LWIP_MESSAGE_CONTAINER
|
|||
|
||||
#define sys_jiffies() sys_now()
|
||||
|
||||
/* There is no such thing as "from ISR" for us */
|
||||
#define sys_mbox_trypost_fromisr sys_mbox_trypost
|
||||
|
||||
/* NULL definitions */
|
||||
#define SYS_MBOX_NULL NULL
|
||||
#define SYS_SEM_NULL NULL
|
||||
|
|
|
@ -11,6 +11,7 @@
|
|||
/* Define LWIP_COMPAT_MUTEX if the port has no mutexes and binary semaphores
|
||||
should be used instead */
|
||||
#define LWIP_COMPAT_MUTEX 1
|
||||
#define LWIP_COMPAT_MUTEX_ALLOWED 1
|
||||
|
||||
#define MEM_ALIGNMENT 4
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue