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: Richard Barry
Subject: Re: [lwip-users] lwip and MPU (FreeRTOS-MPU)
Date: Thu, 30 Aug 2012 14:12:53 +0100
User-agent: Mozilla/5.0 (Windows NT 5.1; rv:15.0) Gecko/20120824 Thunderbird/15.0

On 30/08/2012 13:26, jblackarty wrote:
>> Hi,
>>
>> do you mean this situation?
>>
>> Thread A = tcpip thread - stack protected by MPU, only A and
>> privileged mode can access it
>> Thread B = user thread - stack protected by MPU, only B and privileged
>> mode can access it
>> [...]
> 
> Yes.
> 
>> The privileged kernel does not use the task stack for its own 
>> variables/return
>> addresses/etc.
> 
> Richard, I'm going to surprise you. It does! 

Of course - you are right when you make API function calls.  In my mind
I was just thinking about the tick interrupt and context switch
interrupt - which uses the system stack.


Regards,
Richard.

+ http://www.FreeRTOS.org
Designed for microcontrollers.  More than 7000 downloads per month.

+ http://www.FreeRTOS.org/trace
15 interconnected trace views. An indispensable productivity tool.






reply via email to

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