From: Frans Kaashoek Date: Thu, 30 Aug 2018 17:48:47 +0000 (-0400) Subject: thanks wxdao X-Git-Url: https://git.devinivas.org/?a=commitdiff_plain;h=6710e5589d192789fe1e4b5ad7598309d88ebd79;p=cs3210-lab1.git thanks wxdao --- diff --git a/swtch.S b/swtch.S index de612bd..63a7dcc 100644 --- a/swtch.S +++ b/swtch.S @@ -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 @@ -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