From: David van Moolenbroek Date: Thu, 17 Sep 2009 20:51:34 +0000 (+0000) Subject: Kernel: correct a few SYSTEM source documentation comments X-Git-Tag: v3.1.5~143 X-Git-Url: http://zhaoyanbai.com/repos/%22http:/www.isc.org/icons/zpipe.c?a=commitdiff_plain;h=f2def7d3603c4141e2eeef10162334e8b80c8d48;p=minix.git Kernel: correct a few SYSTEM source documentation comments --- diff --git a/kernel/system/do_abort.c b/kernel/system/do_abort.c index 9223dfe39..9c219751a 100644 --- a/kernel/system/do_abort.c +++ b/kernel/system/do_abort.c @@ -3,7 +3,7 @@ * * The parameters for this kernel call are: * m1_i1: ABRT_HOW (how to abort, possibly fetch monitor params) - * m1_i2: ABRT_MON_PROC (proc nr to get monitor params from) + * m1_i2: ABRT_MON_ENDPT (proc nr to get monitor params from) * m1_i3: ABRT_MON_LEN (length of monitor params) * m1_p1: ABRT_MON_ADDR (virtual address of params) */ diff --git a/kernel/system/do_fork.c b/kernel/system/do_fork.c index 29b49c03e..2e5ee9135 100644 --- a/kernel/system/do_fork.c +++ b/kernel/system/do_fork.c @@ -2,8 +2,10 @@ * m_type: SYS_FORK * * The parameters for this kernel call are: - * m1_i1: PR_SLOT (child's process table slot) - * m1_i2: PR_ENDPT (parent, process that forked) + * m1_i1: PR_ENDPT (parent, process that forked) + * m1_i2: PR_SLOT (child's process table slot) + * m1_p1: PR_MEM_PTR (new memory map for the child) + * m1_i3: PR_FORK_FLAGS (fork flags) */ #include "../system.h" diff --git a/kernel/system/do_memset.c b/kernel/system/do_memset.c index a6f88f606..511507042 100644 --- a/kernel/system/do_memset.c +++ b/kernel/system/do_memset.c @@ -4,7 +4,7 @@ * The parameters for this kernel call are: * m2_p1: MEM_PTR (virtual address) * m2_l1: MEM_COUNT (returns physical address) - * m2_l2: MEM_PATTERN (size of datastructure) + * m2_l2: MEM_PATTERN (pattern byte to be written) */ #include "../system.h"