RISCV-on-Microsemi-FPGA / FreeRTOS

FreeRTOS for RISC-V
25 stars 12 forks source link

Context not saved during task switch #5

Closed lgsrp closed 6 years ago

lgsrp commented 6 years ago

The context is not fully saved when task switches occur in vPortSysTickHandler() and Software_IRQHandler() in FreeRTOS_on_Mi-V_Processor. Registers are restored at the end of a task switch, but are not saved before switching tasks.

lgsrp commented 6 years ago

Closing this issue since context is in fact saved in trap_entry in entry.S