Skip to content

Commit

Permalink
initialize stack with 0xAC
Browse files Browse the repository at this point in the history
  • Loading branch information
stlankes committed Apr 26, 2020
1 parent 07650d9 commit 286f9c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/arch/x86_64/kernel/scheduler.rs
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ impl TaskStacks {
ptr::write_bytes(
(virt_addr + KERNEL_STACK_SIZE + DEFAULT_STACK_SIZE + 3 * BasePageSize::SIZE)
as *mut u8,
0,
0xAC,
user_stack_size,
);
}
Expand Down

0 comments on commit 286f9c4

Please sign in to comment.