diff --git a/kernel/src/holeybytes.rs b/kernel/src/holeybytes.rs index 225ce3d..eb80658 100644 --- a/kernel/src/holeybytes.rs +++ b/kernel/src/holeybytes.rs @@ -1,13 +1,13 @@ -use core::{future::Future, task::Poll}; - -use hbvm::{ - mem::{softpaging::icache::ICache, Address}, - Vm, VmRunError, VmRunOk, -}; - use { alloc::boxed::Box, - hbvm::mem::softpaging::{HandlePageFault, SoftPagedMem}, + core::{future::Future, task::Poll}, + hbvm::{ + mem::{ + softpaging::{icache::ICache, HandlePageFault, SoftPagedMem}, + Address, + }, + Vm, VmRunError, VmRunOk, + }, }; const TIMER_QUOTIENT: usize = 100; diff --git a/repbuild/holeybytes/failure.hb b/repbuild/holeybytes/failure.hb new file mode 100644 index 0000000..0cf46f6 Binary files /dev/null and b/repbuild/holeybytes/failure.hb differ diff --git a/repbuild/holeybytes/inf_loop.hb b/repbuild/holeybytes/inf_loop.hb deleted file mode 100644 index 0a4fe61..0000000 Binary files a/repbuild/holeybytes/inf_loop.hb and /dev/null differ diff --git a/repbuild/limine.cfg b/repbuild/limine.cfg index bb56ffa..7f740f4 100644 --- a/repbuild/limine.cfg +++ b/repbuild/limine.cfg @@ -18,7 +18,7 @@ TERM_BACKDROP=008080 # Setting a default resolution for the framebuffer RESOLUTION=1024x768x24 - MODULE_PATH=boot:///inf_loop.hb + MODULE_PATH=boot:///failure.hb MODULE_CMDLINE="diskid=123456789" MODULE_PATH=boot:///ecall.hb diff --git a/repbuild/src/main.rs b/repbuild/src/main.rs index 55bcbeb..d3ed8c9 100644 --- a/repbuild/src/main.rs +++ b/repbuild/src/main.rs @@ -110,8 +110,8 @@ fn get_fs() -> Result, io::Error> { &mut fs.root_dir().create_file("background.bmp")?, )?; io::copy( - &mut File::open("repbuild/holeybytes/inf_loop.hb")?, - &mut fs.root_dir().create_file("inf_loop.hb")?, + &mut File::open("repbuild/holeybytes/failure.hb")?, + &mut fs.root_dir().create_file("failure.hb")?, )?; io::copy(