summaryrefslogtreecommitdiff
path: root/samples
diff options
context:
space:
mode:
authorBenjamin Walsh <benjamin.walsh@windriver.com>2016-02-09 17:34:02 -0500
committerGerrit Code Review <gerrit@zephyrproject.org>2016-02-10 01:35:14 +0000
commit3c66686a43ffa78932aaa6b1e2338c2f3d347a13 (patch)
tree9af1fde6cc0aa4a1f41a7e3718cfe56eeb32123e /samples
parent205d3a426562e72fe9cd17a6446d1eaa8e40535e (diff)
sys_clock: start the microkernel ticker in the MICROKERNEL init level
The ticker was always initialized in the NANOKERNEL init level. In a microkernel, this can cause problems if for the some reason the initialization of the microkernel server is delayed, such as devices initialization in the NANOKERNEL level taking non-insignificant time to complete. What happens in that case is the ticker ISR will start firing and piling up events in the microkernel server stack, and quite quickly overrun it, since it has a finite size, causing random crashes. So, in the microkernel, initialize the ticker once the microkernel server is available. There is no point in sending ticker event before anyway. Change-Id: Ie9e13184f6ad35954023faf3bbff26242284b7be Signed-off-by: Benjamin Walsh <benjamin.walsh@windriver.com>
Diffstat (limited to 'samples')
0 files changed, 0 insertions, 0 deletions