diff options
author | rsc <rsc> | 2007-09-27 20:38:53 +0000 |
---|---|---|
committer | rsc <rsc> | 2007-09-27 20:38:53 +0000 |
commit | c95bde8163eca7a19c95f3b05156e0ad33312589 (patch) | |
tree | a884f62568fff045687c5047c7ff640a2adbf4ca /swtch.S | |
parent | 4f74de0edc243ffdae0233eb5c84d09c44677ccf (diff) | |
download | xv6-labs-c95bde8163eca7a19c95f3b05156e0ad33312589.tar.gz xv6-labs-c95bde8163eca7a19c95f3b05156e0ad33312589.tar.bz2 xv6-labs-c95bde8163eca7a19c95f3b05156e0ad33312589.zip |
yank out stack overflow checking ugliness
Diffstat (limited to 'swtch.S')
-rw-r--r-- | swtch.S | 4 |
1 files changed, 0 insertions, 4 deletions
@@ -16,14 +16,10 @@ swtch: movl %esi, 20(%eax) movl %edi, 24(%eax) movl %ebp, 28(%eax) - movl %ss, %ebx - movl %ebx, 32(%eax) # Load new registers movl 4(%esp), %eax # not 8(%esp) - popped return address above - movl 32(%eax), %ebx - movl %ebx, %ss movl 28(%eax), %ebp movl 24(%eax), %edi movl 20(%eax), %esi |