forked from AbleOS/ableos
remove path
This commit is contained in:
parent
403e410797
commit
82a48f5c98
|
@ -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();
|
||||
|
|
|
@ -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.
|
||||
|
|
Loading…
Reference in a new issue