not working

This commit is contained in:
2025-02-27 01:16:07 +00:00
parent ac0b47a45c
commit 3b6e272fd2
22 changed files with 448 additions and 50 deletions
+11 -1
View File
@@ -3,10 +3,11 @@
extern crate alloc;
use alloc::vec;
use libk::{
drivers::{
async_io::task::{Executor, Task},
io,
io::{self, framebuffer::colour::Colour},
},
prelude::*,
util::shell::shell,
@@ -27,6 +28,15 @@ extern "C" fn kmain() -> ! {
println!("Dimensions: {}x{} (px)", dimensions2.0, dimensions2.1);
println!("Dimensions: {}x{} (chars)", dimensions.0, dimensions.1);
let vector = vec![0; 100];
println!("vec 100 works");
let vector2 = vec![0; 1000];
println!("vec 1000 works");
let vector3 = vec![0; 10000];
println!("vec 10000 works");
let vector4 = vec![vec![Colour::Black; 1000]; 1000];
println!("vec 100000 works");
let mut executor = Executor::new();
executor.spawn(Task::new(shell()));
executor.run();