diff --git a/src/arch/x86_64/boot.asm b/src/arch/x86_64/boot.asm index fcd2422..0179991 100644 --- a/src/arch/x86_64/boot.asm +++ b/src/arch/x86_64/boot.asm @@ -151,7 +151,7 @@ p3_table: p2_table: resb 4096 stack_bottom: - resb 64 + resb 4096 * 4 stack_top: section .rodata diff --git a/src/lib.rs b/src/lib.rs index 2f8fca8..822aef8 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -13,8 +13,6 @@ mod vga_buffer; #[no_mangle] pub extern fn rust_main() { - // ATTENTION: we have a very small stack and no guard page - vga_buffer::clear_screen(); println!("Hello World{}", "!");