add comments for qemu-exit
This commit is contained in:
parent
f25fe0431c
commit
ad3fac45d5
1 changed files with 1 additions and 1 deletions
|
@ -45,7 +45,7 @@ pub fn irq_handler() {
|
|||
plic.complete(0, IntrTargetPriority::Supervisor, intr_src_id);
|
||||
}
|
||||
|
||||
|
||||
//ref:: https://github.com/andre-richter/qemu-exit
|
||||
use core::arch::asm;
|
||||
|
||||
const EXIT_SUCCESS: u32 = 0x5555; // Equals `exit(0)`. qemu successful exit
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue