From: Ben Gras Date: Fri, 14 Oct 2005 08:58:59 +0000 (+0000) Subject: Al's system call -> kernel call renaming X-Git-Tag: v3.1.2a~624 X-Git-Url: http://zhaoyanbai.com/repos/?a=commitdiff_plain;h=32514fb5f9cfdbdf272226c9dba7e74354441cc7;p=minix.git Al's system call -> kernel call renaming --- diff --git a/kernel/system/do_abort.c b/kernel/system/do_abort.c index 658124b4f..9130ac059 100644 --- a/kernel/system/do_abort.c +++ b/kernel/system/do_abort.c @@ -1,7 +1,7 @@ -/* The system call implemented in this file: +/* The kernel call implemented in this file: * m_type: SYS_ABORT * - * The parameters for this system call are: + * 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_i3: ABRT_MON_LEN (length of monitor params) diff --git a/kernel/system/do_copy.c b/kernel/system/do_copy.c index 5e458978b..9c1431835 100644 --- a/kernel/system/do_copy.c +++ b/kernel/system/do_copy.c @@ -1,7 +1,7 @@ -/* The system call implemented in this file: +/* The kernel call implemented in this file: * m_type: SYS_VIRCOPY, SYS_PHYSCOPY * - * The parameters for this system call are: + * The parameters for this kernel call are: * m5_c1: CP_SRC_SPACE source virtual segment * m5_l1: CP_SRC_ADDR source offset within segment * m5_i1: CP_SRC_PROC_NR source process number @@ -24,7 +24,7 @@ register message *m_ptr; /* pointer to request message */ { /* Handle sys_vircopy() and sys_physcopy(). Copy data using virtual or * physical addressing. Although a single handler function is used, there - * are two different system calls so that permissions can be checked. + * are two different kernel calls so that permissions can be checked. */ struct vir_addr vir_addr[2]; /* virtual source and destination address */ phys_bytes bytes; /* number of bytes to copy */ diff --git a/kernel/system/do_devio.c b/kernel/system/do_devio.c index 5d22d63b8..36241523a 100644 --- a/kernel/system/do_devio.c +++ b/kernel/system/do_devio.c @@ -1,7 +1,7 @@ -/* The system call implemented in this file: +/* The kernel call implemented in this file: * m_type: SYS_DEVIO * - * The parameters for this system call are: + * The parameters for this kernel call are: * m2_i3: DIO_REQUEST (request input or output) * m2_i1: DIO_TYPE (flag indicating byte, word, or long) * m2_l1: DIO_PORT (port to read/ write) diff --git a/kernel/system/do_endksig.c b/kernel/system/do_endksig.c index 1dca1d432..7e8038649 100644 --- a/kernel/system/do_endksig.c +++ b/kernel/system/do_endksig.c @@ -1,7 +1,7 @@ -/* The system call that is implemented in this file: +/* The kernel call that is implemented in this file: * m_type: SYS_ENDKSIG * - * The parameters for this system call are: + * The parameters for this kernel call are: * m2_i1: SIG_PROC # process for which PM is done */ diff --git a/kernel/system/do_exec.c b/kernel/system/do_exec.c index c322e5206..932d42eca 100644 --- a/kernel/system/do_exec.c +++ b/kernel/system/do_exec.c @@ -1,7 +1,7 @@ -/* The system call implemented in this file: +/* The kernel call implemented in this file: * m_type: SYS_EXEC * - * The parameters for this system call are: + * The parameters for this kernel call are: * m1_i1: PR_PROC_NR (process that did exec call) * m1_p1: PR_STACK_PTR (new stack pointer) * m1_p2: PR_NAME_PTR (pointer to program name) diff --git a/kernel/system/do_exit.c b/kernel/system/do_exit.c index 67fb1d18d..2bf89992a 100644 --- a/kernel/system/do_exit.c +++ b/kernel/system/do_exit.c @@ -1,7 +1,7 @@ -/* The system call implemented in this file: +/* The kernel call implemented in this file: * m_type: SYS_EXIT * - * The parameters for this system call are: + * The parameters for this kernel call are: * m1_i1: PR_PROC_NR (slot number of exiting process) */ diff --git a/kernel/system/do_fork.c b/kernel/system/do_fork.c index a500da249..ec56cd919 100644 --- a/kernel/system/do_fork.c +++ b/kernel/system/do_fork.c @@ -1,7 +1,7 @@ -/* The system call implemented in this file: +/* The kernel call implemented in this file: * m_type: SYS_FORK * - * The parameters for this system call are: + * The parameters for this kernel call are: * m1_i1: PR_PROC_NR (child's process table slot) * m1_i2: PR_PPROC_NR (parent, process that forked) */ diff --git a/kernel/system/do_getinfo.c b/kernel/system/do_getinfo.c index 9159a79d1..f6bed77a3 100644 --- a/kernel/system/do_getinfo.c +++ b/kernel/system/do_getinfo.c @@ -1,7 +1,7 @@ -/* The system call implemented in this file: +/* The kernel call implemented in this file: * m_type: SYS_GETINFO * - * The parameters for this system call are: + * The parameters for this kernel call are: * m1_i3: I_REQUEST (what info to get) * m1_p1: I_VAL_PTR (where to put it) * m1_i1: I_VAL_LEN (maximum length expected, optional) diff --git a/kernel/system/do_getksig.c b/kernel/system/do_getksig.c index d20d2f205..1910d7df0 100644 --- a/kernel/system/do_getksig.c +++ b/kernel/system/do_getksig.c @@ -1,7 +1,7 @@ -/* The system call that is implemented in this file: +/* The kernel call that is implemented in this file: * m_type: SYS_GETKSIG * - * The parameters for this system call are: + * The parameters for this kernel call are: * m2_i1: SIG_PROC # process with pending signals * m2_l1: SIG_MAP # bit map with pending signals */ @@ -18,7 +18,7 @@ PUBLIC int do_getksig(m_ptr) message *m_ptr; /* pointer to request message */ { -/* PM is ready to accept signals and repeatedly does a system call to get +/* PM is ready to accept signals and repeatedly does a kernel call to get * one. Find a process with pending signals. If no signals are available, * return NONE in the process number field. * It is not sufficient to ready the process when PM is informed, because diff --git a/kernel/system/do_int86.c b/kernel/system/do_int86.c index 004d4b9ea..36df4ecde 100644 --- a/kernel/system/do_int86.c +++ b/kernel/system/do_int86.c @@ -1,7 +1,7 @@ -/* The system call implemented in this file: +/* The kernel call implemented in this file: * m_type: SYS_INT86 * - * The parameters for this system call are: + * The parameters for this kernel call are: * m1_p1: INT86_REG86 */ diff --git a/kernel/system/do_irqctl.c b/kernel/system/do_irqctl.c index 8282d6306..3998e6cf9 100644 --- a/kernel/system/do_irqctl.c +++ b/kernel/system/do_irqctl.c @@ -1,7 +1,7 @@ -/* The system call implemented in this file: +/* The kernel call implemented in this file: * m_type: SYS_IRQCTL * - * The parameters for this system call are: + * The parameters for this kernel call are: * m5_c1: IRQ_REQUEST (control operation to perform) * m5_c2: IRQ_VECTOR (irq line that must be controlled) * m5_i1: IRQ_POLICY (irq policy allows reenabling interrupts) diff --git a/kernel/system/do_kill.c b/kernel/system/do_kill.c index 442a0e4e8..9b87a1fe7 100644 --- a/kernel/system/do_kill.c +++ b/kernel/system/do_kill.c @@ -1,7 +1,7 @@ -/* The system call that is implemented in this file: +/* The kernel call that is implemented in this file: * m_type: SYS_KILL * - * The parameters for this system call are: + * The parameters for this kernel call are: * m2_i1: SIG_PROC # process to signal/ pending * m2_i2: SIG_NUMBER # signal number to send to process */ diff --git a/kernel/system/do_memset.c b/kernel/system/do_memset.c index eafaf2898..a6f88f606 100644 --- a/kernel/system/do_memset.c +++ b/kernel/system/do_memset.c @@ -1,7 +1,7 @@ -/* The system call implemented in this file: +/* The kernel call implemented in this file: * m_type: SYS_MEMSET * - * The parameters for this system call are: + * 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) diff --git a/kernel/system/do_newmap.c b/kernel/system/do_newmap.c index 330c33bc5..f99f65dec 100644 --- a/kernel/system/do_newmap.c +++ b/kernel/system/do_newmap.c @@ -1,7 +1,7 @@ -/* The system call implemented in this file: +/* The kernel call implemented in this file: * m_type: SYS_NEWMAP * - * The parameters for this system call are: + * The parameters for this kernel call are: * m1_i1: PR_PROC_NR (install new map for this process) * m1_p1: PR_MEM_PTR (pointer to the new memory map) */ diff --git a/kernel/system/do_nice.c b/kernel/system/do_nice.c index c879f7e97..cb0ad6692 100644 --- a/kernel/system/do_nice.c +++ b/kernel/system/do_nice.c @@ -1,7 +1,7 @@ -/* The system call implemented in this file: +/* The kernel call implemented in this file: * m_type: SYS_NICE * - * The parameters for this system call are: + * The parameters for this kernel call are: * m1_i1: PR_PROC_NR process number to change priority * m1_i2: PR_PRIORITY the new priority */ diff --git a/kernel/system/do_privctl.c b/kernel/system/do_privctl.c index bfd06a445..b87619278 100644 --- a/kernel/system/do_privctl.c +++ b/kernel/system/do_privctl.c @@ -1,7 +1,7 @@ -/* The system call implemented in this file: +/* The kernel call implemented in this file: * m_type: SYS_PRIVCTL * - * The parameters for this system call are: + * The parameters for this kernel call are: * m1_i1: PR_PROC_NR (process number of caller) */ diff --git a/kernel/system/do_sdevio.c b/kernel/system/do_sdevio.c index 976db7f97..831a18b87 100644 --- a/kernel/system/do_sdevio.c +++ b/kernel/system/do_sdevio.c @@ -1,7 +1,7 @@ -/* The system call implemented in this file: +/* The kernel call implemented in this file: * m_type: SYS_SDEVIO * - * The parameters for this system call are: + * The parameters for this kernel call are: * m2_i3: DIO_REQUEST (request input or output) * m2_i1: DIO_TYPE (flag indicating byte, word, or long) * m2_l1: DIO_PORT (port to read/ write) diff --git a/kernel/system/do_segctl.c b/kernel/system/do_segctl.c index b9f6f0017..b6bdd00f4 100644 --- a/kernel/system/do_segctl.c +++ b/kernel/system/do_segctl.c @@ -1,7 +1,7 @@ -/* The system call implemented in this file: +/* The kernel call implemented in this file: * m_type: SYS_SEGCTL * - * The parameters for this system call are: + * The parameters for this kernel call are: * m4_l3: SEG_PHYS (physical base address) * m4_l4: SEG_SIZE (size of segment) * m4_l1: SEG_SELECT (return segment selector here) diff --git a/kernel/system/do_setalarm.c b/kernel/system/do_setalarm.c index 85a456874..a20d32383 100644 --- a/kernel/system/do_setalarm.c +++ b/kernel/system/do_setalarm.c @@ -1,7 +1,7 @@ -/* The system call implemented in this file: +/* The kernel call implemented in this file: * m_type: SYS_SETALARM * - * The parameters for this system call are: + * The parameters for this kernel call are: * m2_l1: ALRM_EXP_TIME (alarm's expiration time) * m2_i2: ALRM_ABS_TIME (expiration time is absolute?) * m2_l1: ALRM_TIME_LEFT (return seconds left of previous) diff --git a/kernel/system/do_sigreturn.c b/kernel/system/do_sigreturn.c index 9b8bed414..a821d3b3c 100644 --- a/kernel/system/do_sigreturn.c +++ b/kernel/system/do_sigreturn.c @@ -1,7 +1,7 @@ -/* The system call that is implemented in this file: +/* The kernel call that is implemented in this file: * m_type: SYS_SIGRETURN * - * The parameters for this system call are: + * The parameters for this kernel call are: * m2_i1: SIG_PROC # process returning from handler * m2_p1: SIG_CTXT_PTR # pointer to sigcontext structure * diff --git a/kernel/system/do_sigsend.c b/kernel/system/do_sigsend.c index f37048388..712152712 100644 --- a/kernel/system/do_sigsend.c +++ b/kernel/system/do_sigsend.c @@ -1,7 +1,7 @@ -/* The system call that is implemented in this file: +/* The kernel call that is implemented in this file: * m_type: SYS_SIGSEND * - * The parameters for this system call are: + * The parameters for this kernel call are: * m2_i1: SIG_PROC # process to call signal handler * m2_p1: SIG_CTXT_PTR # pointer to sigcontext structure * m2_i3: SIG_FLAGS # flags for S_SIGRETURN call diff --git a/kernel/system/do_times.c b/kernel/system/do_times.c index bbd925bcc..53b9bec24 100644 --- a/kernel/system/do_times.c +++ b/kernel/system/do_times.c @@ -1,7 +1,7 @@ -/* The system call implemented in this file: +/* The kernel call implemented in this file: * m_type: SYS_TIMES * - * The parameters for this system call are: + * The parameters for this kernel call are: * m4_l1: T_PROC_NR (get info for this process) * m4_l1: T_USER_TIME (return values ...) * m4_l2: T_SYSTEM_TIME @@ -22,7 +22,7 @@ register message *m_ptr; /* pointer to request message */ register struct proc *rp; int proc_nr; - /* Insert the times needed by the SYS_TIMES system call in the message. + /* Insert the times needed by the SYS_TIMES kernel call in the message. * The clock's interrupt handler may run to update the user or system time * while in this code, but that cannot do any harm. */ diff --git a/kernel/system/do_trace.c b/kernel/system/do_trace.c index 7b7328a07..0e62842eb 100644 --- a/kernel/system/do_trace.c +++ b/kernel/system/do_trace.c @@ -1,7 +1,7 @@ -/* The system call implemented in this file: +/* The kernel call implemented in this file: * m_type: SYS_TRACE * - * The parameters for this system call are: + * The parameters for this kernel call are: * m2_i1: CTL_PROC_NR process that is traced * m2_i2: CTL_REQUEST trace request * m2_l1: CTL_ADDRESS address at traced process' space diff --git a/kernel/system/do_umap.c b/kernel/system/do_umap.c index 79956e19f..04c981e72 100644 --- a/kernel/system/do_umap.c +++ b/kernel/system/do_umap.c @@ -1,7 +1,7 @@ -/* The system call implemented in this file: +/* The kernel call implemented in this file: * m_type: SYS_UMAP * - * The parameters for this system call are: + * The parameters for this kernel call are: * m5_i1: CP_SRC_PROC_NR (process number) * m5_c1: CP_SRC_SPACE (segment where address is: T, D, or S) * m5_l1: CP_SRC_ADDR (virtual address) diff --git a/kernel/system/do_unused.c b/kernel/system/do_unused.c index 61bfba040..4e2b0001b 100644 --- a/kernel/system/do_unused.c +++ b/kernel/system/do_unused.c @@ -1,4 +1,4 @@ -/* This file provides a catch-all handler for unused system calls. A system +/* This file provides a catch-all handler for unused kernel calls. A kernel * call may be unused when it is not defined or when it is disabled in the * kernel's configuration. */ diff --git a/kernel/system/do_vcopy.c b/kernel/system/do_vcopy.c index 47260cfc5..8db9e9526 100644 --- a/kernel/system/do_vcopy.c +++ b/kernel/system/do_vcopy.c @@ -1,7 +1,7 @@ -/* The system call implemented in this file: +/* The kernel call implemented in this file: * m_type: SYS_VIRVCOPY, SYS_PHYSVCOPY * - * The parameters for this system call are: + * The parameters for this kernel call are: * m1_i3: VCP_VEC_SIZE size of copy request vector * m1_p1: VCP_VEC_ADDR address of vector at caller * m1_i2: VCP_NR_OK number of successfull copies @@ -23,7 +23,7 @@ register message *m_ptr; /* pointer to request message */ { /* Handle sys_virvcopy() and sys_physvcopy() that pass a vector with copy * requests. Although a single handler function is used, there are two - * different system calls so that permissions can be checked. + * different kernel calls so that permissions can be checked. */ int nr_req; int caller_pid; diff --git a/kernel/system/do_vdevio.c b/kernel/system/do_vdevio.c index f79fbff47..54a5d65f2 100644 --- a/kernel/system/do_vdevio.c +++ b/kernel/system/do_vdevio.c @@ -1,7 +1,7 @@ -/* The system call implemented in this file: +/* The kernel call implemented in this file: * m_type: SYS_VDEVIO * - * The parameters for this system call are: + * The parameters for this kernel call are: * m2_i3: DIO_REQUEST (request input or output) * m2_i1: DIO_TYPE (flag indicating byte, word, or long) * m2_p1: DIO_VEC_ADDR (pointer to port/ value pairs)