Lines Matching refs:to
7 general idea is that porting lwIP to new architectures requires only
8 small changes to a few header files and a new sys_arch
9 implementation. It is also possible to do a sys_arch implementation
12 The sys_arch provides semaphores and mailboxes to lwIP. For the full
15 functionality. Previous versions of lwIP required the sys_arch to
19 In addition to the source file providing the functionality of sys_arch,
26 either as a queue which allows multiple messages to be posted to a
38 allows both using pointers or actual OS structures to be used. This way, memory
46 Is called to initialize the sys_arch layer.
50 Creates a new semaphore. The semaphore is allocated to the memory that 'sem'
51 points to (which can be both a pointer or the actual OS structure).
68 Blocks the thread while waiting for the semaphore to be
75 milliseconds spent waiting for the semaphore to be signaled. If the
77 SYS_ARCH_TIMEOUT. If the thread didn't have to wait for the semaphore
86 When using pointers, a simple way is to check the pointer for != NULL.
100 in mailboxes are pointers. You have to define macros "_MBOX_SIZE"
115 Posts the "msg" to the mailbox. This function have to block until
120 Try to post the "msg" to the mailbox. Returns ERR_MEM if this one
126 not block the thread longer than "timeout" milliseconds (similar to
130 ptr"). The "msg" parameter maybe NULL to indicate that the message
142 This is similar to sys_arch_mbox_fetch, however if a message is not
156 When using pointers, a simple way is to check the pointer for != NULL.
169 to be implemented as well:
175 argument to the thread() function. The stack size to used for this thread is
184 want to implement this function by disabling interrupts. Task-based systems
185 might want to implement this by using a mutex or disabling tasking. This
195 This optional function does a "fast" set of critical region protection to the
212 Be carefull with using mem_malloc() in sys_arch. When malloc() refers to
214 mem_init() tries to allcate a semaphore using mem_malloc, which of course
223 to sys_arch.h.)
250 to make lwip/arch.h define the codes which are used throughout.
254 Measurement calls made throughout lwip, these can be defined to nothing.
258 sys_arch.h - Tied to sys_arch.c
265 Defines to set vars of sys_mbox_t and sys_sem_t to NULL.