mirror of
https://github.com/rcore-os/rCore-Tutorial-v3.git
synced 2024-11-24 18:36:24 +04:00
deploy: c234d1417b
This commit is contained in:
parent
58b6139260
commit
883627cdb9
@ -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>) -> <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">"It should shutdown!"</span>);
|
||||
}
|
||||
</code></pre></div>
|
||||
|
Loading…
Reference in New Issue
Block a user