[riot-notifications] [RIOT-OS/RIOT] fe310: Use ecall instruction for thread yield (#15736)

Marian Buschsieweke notifications at github.com
Mon Jan 11 13:26:34 CET 2021


Let's wait for @nmeum to see if this also fixes his use case. But generally speaking, I like using `ECALL` due to the additional flexibility the arguments provide. Combined with a memory protection unit this could be used to implement a real syscall interface and a somewhat isolated user space. (We might for simplicity just share the heap for `malloc()` and friends between threads.)

And also: It is faster :-)

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/RIOT-OS/RIOT/pull/15736#issuecomment-757919848
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20210111/402bf58e/attachment.htm>


More information about the notifications mailing list