Skip to content

Commit

Permalink
Fix comment
Browse files Browse the repository at this point in the history
Signed-off-by: Nick Spinale <[email protected]>
  • Loading branch information
nspin committed Mar 16, 2024
1 parent 15fb542 commit d3a8138
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crates/sel4-initialize-tls/src/on_stack/reserve.rs
Original file line number Diff line number Diff line change
Expand Up @@ -99,8 +99,8 @@ cfg_if! {
common_asm!(),
r#"
mov r10, rsp
sub r10, rdi // rdi: segment_size
and r10, rsi // rsi: segment_align_down_mask
sub r10, rdi // rdi: reservation_size
and r10, rsi // rsi: reservation_align_down_mask
mov rax, r10 // save reservation_start for later
and r10, ~(16 - 1) // align stack
mov rsp, r10
Expand Down

0 comments on commit d3a8138

Please sign in to comment.