lwip-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [lwip-users] lwip and MPU (FreeRTOS-MPU)


From: Simon Goldschmidt
Subject: Re: [lwip-users] lwip and MPU (FreeRTOS-MPU)
Date: Thu, 30 Aug 2012 12:46:50 +0200

jblackarty wrote:
> My aim is to form a something like "network domain", which will
> include lwip, ethernet driver, network-related application threads and
> associated data. Their crash must be separated from the entire system.

Given the nature of network communication, for such clean separation, you would 
have to create an API layer that does not need communicating threads to share 
memory with lwIP. The most tricky part here would be sharing TX/RX data between 
those threads: to prevent having a priviledged-mode handler copying the data 
between protection regions, you would have to adapt memory protection on the 
fly (i.e. or TX data, TX pbuf's contents may be written by the application 
thread and read by lwIP, for RX, lwIP may write and the application may read 
only).

However, although this seems interesting, lwIP's design is far away from this 
(yet?).


Simon



reply via email to

[Prev in Thread] Current Thread [Next in Thread]