• z13955633063's avatar
    fix bug in rt_hw_context_switch_interrupt_do · b032dff1
    z13955633063 提交于
    	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)
    b032dff1
init.c 4.7 KB