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

Koen Zandberg notifications at github.com
Mon Jan 11 11:53:57 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.

[Our own version](https://github.com/RIOT-OS/RIOT/blob/master/cpu/fe310/include/vendor/encoding.h#L863-L874) has them though…

You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20210111/a5142569/attachment.htm>

More information about the notifications mailing list