projects
/
pintos-anon
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Improve comments.
[pintos-anon]
/
src
/
threads
/
switch.S
diff --git
a/src/threads/switch.S
b/src/threads/switch.S
index 48fc588973bfe15c016dab042bc75f37c6baba62..244249e07c063594fc3f385937781d22b0bd2371 100644
(file)
--- a/
src/threads/switch.S
+++ b/
src/threads/switch.S
@@
-21,7
+21,8
@@
switch_threads:
# but requires us to preserve %ebx, %ebp, %esi, %edi. See
# [SysV-ABI-386] pages 3-11 and 3-12 for details.
#
# but requires us to preserve %ebx, %ebp, %esi, %edi. See
# [SysV-ABI-386] pages 3-11 and 3-12 for details.
#
- # This stack frame must match the one set up by thread_create().
+ # This stack frame must match the one set up by thread_create()
+ # in size.
pushl %ebx
pushl %ebp
pushl %esi
pushl %ebx
pushl %ebp
pushl %esi