setup but not working

This commit is contained in:
2025-02-22 23:12:46 +00:00
parent 72fe78cbc6
commit 27b0ed634c
8 changed files with 120 additions and 13 deletions
+6
View File
@@ -6,6 +6,8 @@ extern crate alloc;
use alloc::vec::Vec;
use foundry_os::{println, println_log};
use lib_async::task::{Executor, Task};
use lib_keyboard::print_keypresses;
#[no_mangle]
unsafe extern "C" fn kmain() -> ! {
@@ -46,5 +48,9 @@ unsafe extern "C" fn kmain() -> ! {
"
);
let mut executor = Executor::new();
executor.spawn(Task::new(print_keypresses()));
executor.try_run();
loop {}
}