mirror of
https://github.com/LearningOS/rust-based-os-comp2022.git
synced 2026-02-08 12:53:34 +08:00
20 lines
349 B
Rust
20 lines
349 B
Rust
#![no_std]
|
|
|
|
extern crate alloc;
|
|
|
|
mod block_dev;
|
|
mod layout;
|
|
mod efs;
|
|
mod bitmap;
|
|
mod vfs;
|
|
mod block_cache;
|
|
|
|
/// Use a block size of 512 bytes
|
|
pub const BLOCK_SZ: usize = 512;
|
|
pub use block_dev::BlockDevice;
|
|
pub use efs::EasyFileSystem;
|
|
pub use vfs::Inode;
|
|
use layout::*;
|
|
use bitmap::Bitmap;
|
|
use block_cache::{get_block_cache, block_cache_sync_all};
|