improve context switching performance
add fence around stack
add iar cortex m3 example
complete init before allowing context switching
improve arm cortex m port