Fix stack size in posts (it was increased to 16kB)

This commit is contained in:
Philipp Oppermann
2017-03-25 16:23:37 +01:00
parent 531a069a6e
commit 09b5e7b136
2 changed files with 3 additions and 3 deletions

View File

@@ -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:
```

View File

@@ -1022,7 +1022,7 @@ p3_table:
p2_table:
resb 4096
stack_bottom:
resb 4096 * 2
resb 4096 * 4
stack_top:
```