Function ostd::arch::x86::qemu::exit_qemu

source ยท
pub fn exit_qemu(exit_code: QemuExitCode) -> !
Expand description

Exits QEMU with the given exit code.

This function assumes that the kernel is run in QEMU with the following QEMU command line arguments that specifies the ISA debug exit device: -device isa-debug-exit,iobase=0xf4,iosize=0x04.