From 82a48f5c98cbf0133d8b3ddafbc3d895383730f6 Mon Sep 17 00:00:00 2001 From: Able Date: Tue, 6 Dec 2022 13:24:04 -0600 Subject: [PATCH] remove path --- ableos/src/scratchpad.rs | 19 ------------------- base/boot/limine.cfg | 3 +++ 2 files changed, 3 insertions(+), 19 deletions(-) diff --git a/ableos/src/scratchpad.rs b/ableos/src/scratchpad.rs index d0922613..d5f49bb4 100644 --- a/ableos/src/scratchpad.rs +++ b/ableos/src/scratchpad.rs @@ -57,25 +57,6 @@ impl acpi::AcpiHandler for AcpiStruct { // mutex // }); -#[derive(Debug)] -pub struct Path { - pub path: Vec, -} - -impl Path { - pub fn new(path: String) -> Self { - let mut path_vec_string = vec![]; - - for part in path.split(&['\\', '/'][..]) { - path_vec_string.push(part.to_string()); - } - - Path { - path: path_vec_string, - } - } -} - /// Experimental scratchpad for testing. pub fn scratchpad() { // bruh(); diff --git a/base/boot/limine.cfg b/base/boot/limine.cfg index 5c521a4f..a26657e2 100644 --- a/base/boot/limine.cfg +++ b/base/boot/limine.cfg @@ -17,3 +17,6 @@ TERM_BACKDROP=008080 KERNEL_CMDLINE= # Setting a default resolution for the framebuffer RESOLUTION=800x600x24 + + MODULE_PATH=boot:///boot/initrd.tar + MODULE_CMDLINE=This is the first module.