kern

changeset 58:64a574189824

added a comment to just_forked
author John Tsiombikas <nuclear@member.fsf.org>
date Wed, 17 Aug 2011 05:30:06 +0300
parents 437360696883
children ef9cc2e90277
files src/proc-asm.S
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
line diff
     1.1 --- a/src/proc-asm.S	Tue Aug 16 03:26:53 2011 +0300
     1.2 +++ b/src/proc-asm.S	Wed Aug 17 05:30:06 2011 +0300
     1.3 @@ -46,6 +46,10 @@
     1.4  	movl 4(%ebp), %eax
     1.5  	ret
     1.6  
     1.7 +	/* this is where we end up when we first context_switch to a newly forked
     1.8 +	 * process. The interrupt frame is already there, so we just call intr_ret
     1.9 +	 * to return to user space
    1.10 +	 */
    1.11  	.globl just_forked
    1.12  just_forked:
    1.13  	call intr_ret