diff --git a/blog/content/post/05-allocating-frames.md b/blog/content/post/05-allocating-frames.md index ed2958d3..67e2a6ce 100644 --- a/blog/content/post/05-allocating-frames.md +++ b/blog/content/post/05-allocating-frames.md @@ -12,13 +12,13 @@ The full source code is available on [Github][source repo]. Feel free to open is [source repo]: https://github.com/phil-opp/blog_os/tree/allocating_frames ## Preparation -We still have a really tiny stack of 64 bytes, which won't suffice for this post. So we increase it to 4096 bytes (one page) in `boot.asm`: +We still have a really tiny stack of 64 bytes, which won't suffice for this post. So we increase it to 16kB (four pages) in `boot.asm`: ```asm section .bss ... stack_bottom: - resb 4096 + resb 4096 * 4 stack_top: ``` diff --git a/blog/content/post/07-remap-the-kernel.md b/blog/content/post/07-remap-the-kernel.md index 34dfdff3..220c9915 100644 --- a/blog/content/post/07-remap-the-kernel.md +++ b/blog/content/post/07-remap-the-kernel.md @@ -1022,7 +1022,7 @@ p3_table: p2_table: resb 4096 stack_bottom: - resb 4096 * 2 + resb 4096 * 4 stack_top: ```