On 4/7/2022 4:08 pm, Sebastian Huber wrote:
> On 29/06/2022 15:07, Sebastian Huber wrote:
>> At some point during system initialization, the idle threads are created.
>> Afterwards, the boot processor basically executes within the context of an 
>> idle
>> thread with thread dispatching disabled.  On some architectures, the
>> thread-local storage area of the associated thread must be set in dedicated
>> processor registers.  Add the new CPU port function to do this:
>>
>> void _CPU_Use_thread_local_storage( const Context_Control *context )
>>
>> Close #4672.
> 
> Any comments to this patch?

I did wonder about the boot processor executing within the idle thread's context
comment.

What code is the boot processor executing in the context of the idle thread?

How does that execution effect the stack allocated to the idle thread?

I have always considered the idle thread's stack as small because it does 
nothing.

Chris
_______________________________________________
devel mailing list
devel@rtems.org
http://lists.rtems.org/mailman/listinfo/devel

Reply via email to