X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fthreads%2Fswitch.S;h=244249e07c063594fc3f385937781d22b0bd2371;hb=3e21422d92edc11ed0061031e0ff37a9c1ebcd04;hp=48fc588973bfe15c016dab042bc75f37c6baba62;hpb=a149b456b80de8d3634996acc1bb6aa49dc68a35;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