should CONFIG_USERSPACE with CONFIG_INIT_STACKS init the private stacks?


Phil Erwin Jr
 

Just noticed on my ARM Cortex-R4 build, that when building with CONFIG_USERSPACE enabled, along with CONFIG_INIT_STACKS, the private stacks are not pre-initialized.  The user stacks are indeed init'ed to 0xaaaaaaaa. 

I don't see the initialization in other architectures, either, so if I'm overlooking it, could someone point me to an example.

If not being done, is there a reason why we cannot?

Phil

Join devel@lists.zephyrproject.org to automatically receive all group messages.