diff --git a/run/moros-fuse.py b/run/moros-fuse.py index b6faecb9..fa76e812 100644 --- a/run/moros-fuse.py +++ b/run/moros-fuse.py @@ -9,7 +9,7 @@ from threading import Lock BLOCK_SIZE = 512 -SUPERBLOCK_ADDR = 4096 * BLOCK_SIZE +SUPERBLOCK_ADDR = 2 * 4096 * BLOCK_SIZE BITMAP_ADDR = SUPERBLOCK_ADDR + 2 * BLOCK_SIZE ENTRY_SIZE = (1 + 4 + 4 + 8 + 1) diff --git a/src/lib.rs b/src/lib.rs index 3c26ba5f..fa0c9983 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -19,7 +19,7 @@ pub mod usr; use bootloader::BootInfo; -const KERNEL_SIZE: usize = 2 << 20; // 2 MB +const KERNEL_SIZE: usize = 4 << 20; // 2 MB pub fn init(boot_info: &'static BootInfo) { sys::vga::init();