Skip to content

Commit

Permalink
consts.rs, thread.rs: update comments
Browse files Browse the repository at this point in the history
  • Loading branch information
schoettner committed Jun 17, 2024
1 parent 071f2b6 commit 2979f9b
Show file tree
Hide file tree
Showing 2 changed files with 256 additions and 88 deletions.
5 changes: 3 additions & 2 deletions os/kernel/src/consts.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@


pub const MAIN_USER_STACK_START: usize = 0x400000000000;
pub const MAX_USER_STACK_SIZE: usize = 0x40000000;
pub const MAIN_USER_STACK_START: usize = 0x400000000000; // 10 TiB
pub const MAX_USER_STACK_SIZE: usize = 0x40000000; // 1 GiB
pub const KERNEL_STACK_PAGES: usize = 64;
pub const STACK_ENTRY_SIZE: usize = 8;
Loading

0 comments on commit 2979f9b

Please sign in to comment.