fix system call implementation which is invoked from isr.
  - pendsv is used no longer