X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fthreads%2Fswitch.S;h=244249e07c063594fc3f385937781d22b0bd2371;hb=51352183b5bd8c3671c24d927f5c69ab7ea04e83;hp=48fc588973bfe15c016dab042bc75f37c6baba62;hpb=424970679fb7dec648531888ae26919b784de1b6;p=pintos-anon diff --git a/src/threads/switch.S b/src/threads/switch.S index 48fc588..244249e 100644 --- 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. # - # 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