Skip to content

Commit

Permalink
thanks wxdao
Browse files Browse the repository at this point in the history
  • Loading branch information
kaashoek committed Aug 30, 2018
1 parent 96e4e2f commit 6710e55
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions swtch.S
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ swtch:
movl 4(%esp), %eax
movl 8(%esp), %edx

# Save old callee-save registers
# Save old callee-saved registers
pushl %ebp
pushl %ebx
pushl %esi
Expand All @@ -21,7 +21,7 @@ swtch:
movl %esp, (%eax)
movl %edx, %esp

# Load new callee-save registers
# Load new callee-saved registers
popl %edi
popl %esi
popl %ebx
Expand Down

0 comments on commit 6710e55

Please sign in to comment.