You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
assert!(count > 0x10);// 0x20 chosen arbirarily, we need _some_ free conventional memory, but not all of it. Some, especially on BIOS, may be reserved for hardware.
33
+
exit_qemu(QemuExitCode::Success);
34
+
}
35
+
36
+
/// This function is called on panic.
37
+
#[panic_handler]
38
+
#[cfg(not(test))]
39
+
fnpanic(info:&core::panic::PanicInfo) -> ! {
40
+
use core::fmt::Write;
41
+
42
+
let _ = writeln!(test_kernel_lower_memory_free::serial(),"PANIC: {}", info);
0 commit comments