diff --git a/kernel/src/holeybytes.rs b/kernel/src/holeybytes.rs index 225ce3d3..eb80658c 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 00000000..0cf46f6a 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 0a4fe615..00000000 Binary files a/repbuild/holeybytes/inf_loop.hb and /dev/null differ diff --git a/repbuild/limine.cfg b/repbuild/limine.cfg index bb56ffa1..7f740f44 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 55bcbebe..d3ed8c9d 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(