illustris / FreeRTOS-RISCV

A port of FreeRTOS for the RISC-V ISA
75 stars 42 forks source link

Updated to conform to specification 1.10 plus cleanup #7

Closed sherrbc1 closed 7 years ago

sherrbc1 commented 7 years ago

Depending on how flexible you would like this port, all the configuration details could be moved to a newly created header file (things like where the CLINT is mapped, etc).

Changes:

Regarding the last bullet, the function would block when executing a system call. From reading I found that Spike apparently looked for the the symbols "tohost" and "fromhost" for use in a communication mechanism between the guest and host. However, I was not able to get this working properly. Perhaps it is now deprecated? It appeared to work without spinning on those symbols as it was previously implemented.

It might also be useful to maintain tags for each specification release. In this way, others may use this port at variously stages of RISC-V development.