save mie into stack msh running normaly
save sp to old thread clear rt_thread_switch_interrupt_flag always enable interrupt after rt_hw_context_switch judeg the type of interrupt in trap_entry, then call handler(Machine timer interrupt of Machine external interrupt)
enable interrupt after return form rt_hw_context_switch
it will lead to interrupt again in interrupt