Skip to content
Commit 483f5daa authored by Ken Liu's avatar Ken Liu
Browse files

Core: Fix NULL thread indicator caused fault



The current thread indicator 'CURR_THRD' is NULL before first
context switching. This leads to save runtime context into a NULL
address and cause a Bus Fault in the specified platform. Create a
dedicated scheduler start function to set a CURR_THRD default value
and add assert to ensure the integrity of thread pointers.

Change-Id: Ifcd3f10c8e648adccadecc2ee3ea70a9c318d7cf
Signed-off-by: default avatarKen Liu <ken.liu@arm.com>
parent 964c7d8b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment