1 Jun 2005 03:17
Re: Stack filling.
Joel Sherrill <joel@...> wrote: > Till Straumann wrote: > >> Will the stack filling be optional? There might be concerns about >> performance >> suffering, especially on slower CPUs. > > > This is my concern also. I do not want it in the code base for > thread creation by default either. Agreed. > It would be OK to have a > shared support routine in score to fill a thread stack Ok. > but it > should be turned on/referenced by either a capture engine > extension or the stack check extension. > The capture engine is designed to be installed at runtime. This means the configuration change is not made until after RTEMS is running so some tasks missing having the stack initialised. How does the current stack checker handle this ? Could we make this an RTEMS debug flag ?(Continue reading)
But I think that this seems to be a high price to be paid for a simple
operation, such as masking of interrupt. These routines you mentioned are
relatively heavy, a lot of code.
And it requires some significant redesign, as for now it simply will not
work: the BSP_remove_rtems_irq_handler() masks the SIU interrupt and stores
the "new" mask in the same ppc_chached_mask variable which is restored in the
RSS Feed