/* DEFAULT VALUES if not defined in OMK and we want them different from lwip/opt.h */
/* Prevent having to link sys_arch.c (we don't test the API layers in unit tests) */
+#define LWIP_TIMEVAL_PRIVATE 0
#ifndef NO_SYS
#define NO_SYS 1
#endif
#define MEM_ALIGNMENT 2
#endif
+#define LWIP_DEBUG 0
+
+#define LWIP_DBG_TYPES_ON LWIP_DBG_OFF
+
+#define ETHARP_DEBUG LWIP_DBG_ON
+#define NETIF_DEBUG LWIP_DBG_ON
+#define PBUF_DEBUG LWIP_DBG_ON
+#define API_LIB_DEBUG LWIP_DBG_ON
+#define API_MSG_DEBUG LWIP_DBG_ON
+#define SOCKETS_DEBUG LWIP_DBG_ON
+#define ICMP_DEBUG LWIP_DBG_ON
+#define IGMP_DEBUG LWIP_DBG_ON
+#define INET_DEBUG LWIP_DBG_ON
+#define IP_DEBUG LWIP_DBG_ON
+#define IP_REASS_DEBUG LWIP_DBG_ON
+#define RAW_DEBUG LWIP_DBG_ON
+#define MEM_DEBUG LWIP_DBG_ON
+#define MEMP_DEBUG LWIP_DBG_ON
+#define SYS_DEBUG LWIP_DBG_ON
+#define TIMERS_DEBUG LWIP_DBG_ON
+#define TCP_DEBUG LWIP_DBG_ON
+#define TCP_INPUT_DEBUG LWIP_DBG_ON
+#define TCP_FR_DEBUG LWIP_DBG_ON
+#define TCP_RTO_DEBUG LWIP_DBG_ON
+#define TCP_CWND_DEBUG LWIP_DBG_ON
+#define TCP_WND_DEBUG LWIP_DBG_ON
+#define TCP_OUTPUT_DEBUG LWIP_DBG_ON
+#define TCP_RST_DEBUG LWIP_DBG_ON
+#define TCP_QLEN_DEBUG LWIP_DBG_ON
+#define UDP_DEBUG LWIP_DBG_ON
+#define TCPIP_DEBUG LWIP_DBG_ON
+#define PPP_DEBUG LWIP_DBG_ON
+#define SLIP_DEBUG LWIP_DBG_ON
+#define DHCP_DEBUG LWIP_DBG_ON
+#define AUTOIP_DEBUG LWIP_DBG_ON
+#define SNMP_MSG_DEBUG LWIP_DBG_ON
+#define SNMP_MIB_DEBUG LWIP_DBG_ON
+#define DNS_DEBUG LWIP_DBG_ON
+#define IP6_DEBUG LWIP_DBG_ON
+
#endif /* LWIPOPTS_CONNECTION_TO_OMK_CONFIGURATION_HEADER_FILE */
#include <rtems/rtems/sem.h>
#include <rtems/rtems/intr.h>
#include <bsp/irq-generic.h>
+#include "arch/eth_lwip_default.h"
/* Typedefs for the various port-specific types. */
#if defined(NO_SYS) && NO_SYS
rtems_interrupt_enable(pval);
}
+static inline void
+sys_arch_data_sync_barier(void){
+ _ARM_Data_synchronization_barrier();
+}
+
#endif /* __ARCH_SYS_ARCH_H__ */