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

Koen Zandberg notifications at github.com
Mon Jan 11 11:30:10 CET 2021


@bergzand commented on this pull request.



> +            case 8:  /* ECALL from user mode */
+            case 11: /* ECALL from machine mode */

Of course, the [risc-v encoding.h](https://github.com/riscv/riscv-opcodes/blob/master/encoding.h#L193-L207) doesn't define them, but I can extend that file with the common exceptions.

-- 
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#discussion_r554949850
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20210111/2d9cad9c/attachment.htm>


More information about the notifications mailing list