# HG changeset patch # User John Tsiombikas # Date 1313548206 -10800 # Node ID 64a57418982436da44ad49a3f3f09ceb8092bc30 # Parent 437360696883e439e3c229f071d43802c9dc0d96 added a comment to just_forked diff -r 437360696883 -r 64a574189824 src/proc-asm.S --- a/src/proc-asm.S Tue Aug 16 03:26:53 2011 +0300 +++ b/src/proc-asm.S Wed Aug 17 05:30:06 2011 +0300 @@ -46,6 +46,10 @@ movl 4(%ebp), %eax ret + /* this is where we end up when we first context_switch to a newly forked + * process. The interrupt frame is already there, so we just call intr_ret + * to return to user space + */ .globl just_forked just_forked: call intr_ret