metalsvm/lwip/src/include/arch/sys_arch.h
Stefan Lankes 7ecdc87d89 integration of MetalSVM features into LwIP
- setting LwIP macro NO_SYS to 0
- this approach based on Carl-Benedikt Krueger's LwIP branch "krueger"
2011-06-05 21:39:57 +02:00

22 lines
351 B
C

#ifndef __ARCH_SYS_ARCH_H__
#define __ARCH_SYS_ARCH_H__
#include <asm/tasks.h>
#include <metalsvm/mailbox.h>
typedef sem_t sys_mutex_t;
typedef struct
{
sem_t sem;
int valid;
} sys_sem_t;
typedef struct
{ mailbox_ptr_t mailbox;
int valid;
} sys_mbox_t;
typedef tid_t* sys_thread_t;
#endif /* __ARCH_SYS_ARCH_H__ */