<p></p>
<p><b>@bergzand</b> commented on this pull request.</p>

<hr>

<p>In <a href="https://github.com/RIOT-OS/RIOT/pull/15736#discussion_r554967419">cpu/fe310/thread_arch.c</a>:</p>
<pre style='color:#555'>>  {
-    /* Use SW intr to schedule context switch */
-    CLINT_REG(CLINT_MSIP) = 1;
+    /* function arguments are in a0 and a1 as per ABI */
+    __asm__ volatile (
+    "mv a0, %[num] \n"
+    "mv a1, %[ctx] \n"
+    "ECALL\n"
+    "ret"
+    :
</pre>
<p>Clarified!</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/RIOT-OS/RIOT/pull/15736#discussion_r554967419">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/ABE7WYBAPY5BB6LESG5KQPTSZLK75ANCNFSM4V5KKNTQ">unsubscribe</a>.<img src="https://github.com/notifications/beacon/ABE7WYHGWKX6Q7WEPOFMZ6TSZLK75A5CNFSM4V5KKNT2YY3PNVWWK3TUL52HS4DFWFIHK3DMKJSXC5LFON2FEZLWNFSXPKTDN5WW2ZLOORPWSZGOEGYQLGQ.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/RIOT-OS/RIOT/pull/15736#discussion_r554967419",
"url": "https://github.com/RIOT-OS/RIOT/pull/15736#discussion_r554967419",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>