[go: nahoru, domu]

Skip to content

Commit

Permalink
setting rsp is no longer needed because scheduler set rsp now
Browse files Browse the repository at this point in the history
  • Loading branch information
PauloMigAlmeida committed Dec 20, 2021
1 parent 528c56d commit 86e3bb5
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/user/start.asm
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,6 @@ user_entry:
; The System V ABI requires the direction flag to be clear on function entry.
cld

; Set up RSP otherwise syscall/sysret fail since the context switch doesn't carry \
; RSP value for ring 3 like it does when using IRETQ
mov rsp, 0x40000

; ELF specification dictates that we must clean BSS area before init
;
Expand Down

0 comments on commit 86e3bb5

Please sign in to comment.