Add SCB_ICSR_RETTOBASE which can be used to determinate
Whether there are preempted active exception.
Add schedule_select whcih can be used to select running
thread.
Support nested IRQ and increase IRQ performance by
doing context switch at necessary condition.
To save space, implement default device IRQ handler by weak alias.
And use IRQ_HANDLER to implement used IRQ handler.
Move irq_init and irq_disable to beginning of main.
It is needed to avoid unexcepted device IRQ.
Remove trailing space.
minor syntax tweaks
sched: suppress warnings
nvic: explain default device IRQ handler