Small refactoring
Small refactoring

When marking a task 'ready' compare the priority of this task with
the running task, to determine if a new running task selection / context
switch is needed.

0x8000-0000/fx3,0x8000-0000/fx3