commit | 4fe98a46f551a87230ae577579ab2b569929cbce | [log] [tgz] |
---|---|---|
author | Peter Mitsis <peter.mitsis@windriver.com> | Mon May 25 14:31:59 2015 -0400 |
committer | Anas Nashif <anas.nashif@intel.com> | Fri Feb 05 20:14:14 2016 -0500 |
tree | fc677f5832735f4d5db1c08fbc6c1e40b1ace8f3 | |
parent | c9ac95a43aa46e0714a8db10d4d8f940c952acaf [diff] |
Initialize stack area in _NewContext() Instead of initializing the stack (when INIT_STACKS is enabled) in start_task() and _fiber_start(), do it in _NewContext(). This helps to both reduce code duplication AND ensure that all contexts get an initialized stack (previously the background/idle task's was missed). Change-Id: If2d50309d2be48fac937f5d0ae96b9de185c0fe2 Signed-off-by: Peter Mitsis <peter.mitsis@windriver.com>