X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fthreads%2Fstart.S;h=92e7fb8a281b7833071c4b8aa6da19e32e2faee7;hb=14448b1cf4852f99278a01b1d99b8fc070fc2ff2;hp=fe2200b80384ebb7a050b2294488b325a6c0c8d6;hpb=de12f8c36a4277afbf141433f678c10ef37fc44d;p=pintos-anon diff --git a/src/threads/start.S b/src/threads/start.S index fe2200b..92e7fb8 100644 --- a/src/threads/start.S +++ b/src/threads/start.S @@ -173,6 +173,7 @@ start: mov %ax, %gs mov %ax, %ss addl $LOADER_PHYS_BASE, %esp + movl $0, %ebp #### Call main().