Skip to content

Commit f09adf6

Browse files
committed
fix: disable qemu interrupt logs and fix clippy issues
1 parent 9dc5fbc commit f09adf6

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

kernel/src/main.rs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ use core::panic::PanicInfo;
1414
#[cfg(userspace)]
1515
use kernel::userspace;
1616
use kernel::{
17-
framebuffer, hlt_loop, println,
17+
framebuffer, println,
1818
task::{Task, executor::Executor, keyboard},
1919
};
2020

@@ -77,8 +77,6 @@ fn kernel_main(boot_info: &'static mut BootInfo) -> ! {
7777
executor.spawn(Task::new(keyboard::print_keypresses()));
7878
executor.run();
7979

80-
hlt_loop();
81-
8280
#[cfg(test)]
8381
test_main();
8482
}

src/main.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ fn main() {
1111
.arg(format!("format=raw,file={uefi_path}"));
1212
cmd.arg("-bios").arg(ovmf_prebuilt::ovmf_pure_efi());
1313
cmd.arg("-monitor").arg("stdio");
14-
cmd.arg("-d").arg("int");
14+
// cmd.arg("-d").arg("int");
1515
cmd.arg("-no-reboot");
1616
cmd.arg("-no-shutdown");
1717
cmd.arg("-s");

0 commit comments

Comments
 (0)