diff --git a/src/fs/mod.rs b/src/fs/mod.rs new file mode 100644 index 0000000000000000000000000000000000000000..0e52c293f8232e7be07ff4d15c2d7e2b0612ef30 --- /dev/null +++ b/src/fs/mod.rs @@ -0,0 +1,5 @@ +//! Everything related to the File System (fs) +//! +//! Contains modules for the Virtual File System (vfs) and an ext2 implementations + +pub mod node; diff --git a/src/fs/node.rs b/src/fs/node.rs new file mode 100644 index 0000000000000000000000000000000000000000..04f304b5e56f295aa0de8fb62de2bb8992b4bdf5 --- /dev/null +++ b/src/fs/node.rs @@ -0,0 +1,3 @@ +//! Interface for files, directories and symbolic links +//! +//! The general structure of the file systems is the Node Graph in Unix style. diff --git a/src/kernel/device/mod.rs b/src/kernel/device/mod.rs index 7c98a7c782196fbefd6ab3de8d106946d9b5820c..f0648a72e04fb934920369841d99b5144518e4ba 100644 --- a/src/kernel/device/mod.rs +++ b/src/kernel/device/mod.rs @@ -7,7 +7,8 @@ use conquer_once::spin::OnceCell; use log::info; use spin::Mutex; -use crate::kernel::device::ata::IdeController; +use crate::kernel::device::ata::{IdeController, BLOCK_SIZE}; +use crate::println; #[allow(clippy::same_name_method)] mod ata; diff --git a/src/main.rs b/src/main.rs index 357314dc15d395e682e043f7868523f403ec06b4..af1b0a65bb733811ce76e6aa807c060c9c464609 100644 --- a/src/main.rs +++ b/src/main.rs @@ -66,6 +66,7 @@ extern crate alloc; mod encoding; +mod fs; mod kernel; mod macros; mod mutex;