This commit is contained in:
chyyuu 2022-05-15 04:20:42 +00:00
parent 58b6139260
commit 883627cdb9

View File

@ -90,7 +90,7 @@
}
<span class="kw">pub</span> <span class="kw">fn</span> <span class="ident">shutdown</span>(<span class="ident">exit_code</span>: <span class="ident">usize</span>) -&gt; <span class="op">!</span> {
<span class="ident">sbi_call</span>(<span class="ident">SBI_SHUTDOWN</span>, <span class="number">0</span>, <span class="number">0</span>, <span class="number">0</span>);
<span class="ident">sbi_call</span>(<span class="ident">SBI_SHUTDOWN</span>, <span class="ident">exit_code</span>, <span class="number">0</span>, <span class="number">0</span>);
<span class="macro">panic!</span>(<span class="string">&quot;It should shutdown!&quot;</span>);
}
</code></pre></div>