1
0
Fork 0
forked from koniifer/ableos

remove path

This commit is contained in:
Able 2022-12-06 13:24:04 -06:00
parent 403e410797
commit 82a48f5c98
2 changed files with 3 additions and 19 deletions

View file

@ -57,25 +57,6 @@ impl acpi::AcpiHandler for AcpiStruct {
// mutex
// });
#[derive(Debug)]
pub struct Path {
pub path: Vec<String>,
}
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();

View file

@ -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.