Al's system call -> kernel call renaming

This commit is contained in:
Ben Gras 2005-10-14 08:58:59 +00:00
parent abd0b53e0a
commit 32514fb5f9
27 changed files with 57 additions and 57 deletions

View file

@ -1,7 +1,7 @@
/* The system call implemented in this file: /* The kernel call implemented in this file:
* m_type: SYS_ABORT * 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_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_PROC (proc nr to get monitor params from)
* m1_i3: ABRT_MON_LEN (length of monitor params) * m1_i3: ABRT_MON_LEN (length of monitor params)

View file

@ -1,7 +1,7 @@
/* The system call implemented in this file: /* The kernel call implemented in this file:
* m_type: SYS_VIRCOPY, SYS_PHYSCOPY * 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_c1: CP_SRC_SPACE source virtual segment
* m5_l1: CP_SRC_ADDR source offset within segment * m5_l1: CP_SRC_ADDR source offset within segment
* m5_i1: CP_SRC_PROC_NR source process number * 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 /* Handle sys_vircopy() and sys_physcopy(). Copy data using virtual or
* physical addressing. Although a single handler function is used, there * 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 */ struct vir_addr vir_addr[2]; /* virtual source and destination address */
phys_bytes bytes; /* number of bytes to copy */ phys_bytes bytes; /* number of bytes to copy */

View file

@ -1,7 +1,7 @@
/* The system call implemented in this file: /* The kernel call implemented in this file:
* m_type: SYS_DEVIO * 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_i3: DIO_REQUEST (request input or output)
* m2_i1: DIO_TYPE (flag indicating byte, word, or long) * m2_i1: DIO_TYPE (flag indicating byte, word, or long)
* m2_l1: DIO_PORT (port to read/ write) * m2_l1: DIO_PORT (port to read/ write)

View file

@ -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 * 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 * m2_i1: SIG_PROC # process for which PM is done
*/ */

View file

@ -1,7 +1,7 @@
/* The system call implemented in this file: /* The kernel call implemented in this file:
* m_type: SYS_EXEC * 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_i1: PR_PROC_NR (process that did exec call)
* m1_p1: PR_STACK_PTR (new stack pointer) * m1_p1: PR_STACK_PTR (new stack pointer)
* m1_p2: PR_NAME_PTR (pointer to program name) * m1_p2: PR_NAME_PTR (pointer to program name)

View file

@ -1,7 +1,7 @@
/* The system call implemented in this file: /* The kernel call implemented in this file:
* m_type: SYS_EXIT * 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) * m1_i1: PR_PROC_NR (slot number of exiting process)
*/ */

View file

@ -1,7 +1,7 @@
/* The system call implemented in this file: /* The kernel call implemented in this file:
* m_type: SYS_FORK * 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_i1: PR_PROC_NR (child's process table slot)
* m1_i2: PR_PPROC_NR (parent, process that forked) * m1_i2: PR_PPROC_NR (parent, process that forked)
*/ */

View file

@ -1,7 +1,7 @@
/* The system call implemented in this file: /* The kernel call implemented in this file:
* m_type: SYS_GETINFO * 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_i3: I_REQUEST (what info to get)
* m1_p1: I_VAL_PTR (where to put it) * m1_p1: I_VAL_PTR (where to put it)
* m1_i1: I_VAL_LEN (maximum length expected, optional) * m1_i1: I_VAL_LEN (maximum length expected, optional)

View file

@ -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 * 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_i1: SIG_PROC # process with pending signals
* m2_l1: SIG_MAP # bit map with pending signals * m2_l1: SIG_MAP # bit map with pending signals
*/ */
@ -18,7 +18,7 @@
PUBLIC int do_getksig(m_ptr) PUBLIC int do_getksig(m_ptr)
message *m_ptr; /* pointer to request message */ 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, * one. Find a process with pending signals. If no signals are available,
* return NONE in the process number field. * return NONE in the process number field.
* It is not sufficient to ready the process when PM is informed, because * It is not sufficient to ready the process when PM is informed, because

View file

@ -1,7 +1,7 @@
/* The system call implemented in this file: /* The kernel call implemented in this file:
* m_type: SYS_INT86 * m_type: SYS_INT86
* *
* The parameters for this system call are: * The parameters for this kernel call are:
* m1_p1: INT86_REG86 * m1_p1: INT86_REG86
*/ */

View file

@ -1,7 +1,7 @@
/* The system call implemented in this file: /* The kernel call implemented in this file:
* m_type: SYS_IRQCTL * 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_c1: IRQ_REQUEST (control operation to perform)
* m5_c2: IRQ_VECTOR (irq line that must be controlled) * m5_c2: IRQ_VECTOR (irq line that must be controlled)
* m5_i1: IRQ_POLICY (irq policy allows reenabling interrupts) * m5_i1: IRQ_POLICY (irq policy allows reenabling interrupts)

View file

@ -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 * 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_i1: SIG_PROC # process to signal/ pending
* m2_i2: SIG_NUMBER # signal number to send to process * m2_i2: SIG_NUMBER # signal number to send to process
*/ */

View file

@ -1,7 +1,7 @@
/* The system call implemented in this file: /* The kernel call implemented in this file:
* m_type: SYS_MEMSET * 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_p1: MEM_PTR (virtual address)
* m2_l1: MEM_COUNT (returns physical address) * m2_l1: MEM_COUNT (returns physical address)
* m2_l2: MEM_PATTERN (size of datastructure) * m2_l2: MEM_PATTERN (size of datastructure)

View file

@ -1,7 +1,7 @@
/* The system call implemented in this file: /* The kernel call implemented in this file:
* m_type: SYS_NEWMAP * 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_i1: PR_PROC_NR (install new map for this process)
* m1_p1: PR_MEM_PTR (pointer to the new memory map) * m1_p1: PR_MEM_PTR (pointer to the new memory map)
*/ */

View file

@ -1,7 +1,7 @@
/* The system call implemented in this file: /* The kernel call implemented in this file:
* m_type: SYS_NICE * 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_i1: PR_PROC_NR process number to change priority
* m1_i2: PR_PRIORITY the new priority * m1_i2: PR_PRIORITY the new priority
*/ */

View file

@ -1,7 +1,7 @@
/* The system call implemented in this file: /* The kernel call implemented in this file:
* m_type: SYS_PRIVCTL * 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) * m1_i1: PR_PROC_NR (process number of caller)
*/ */

View file

@ -1,7 +1,7 @@
/* The system call implemented in this file: /* The kernel call implemented in this file:
* m_type: SYS_SDEVIO * 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_i3: DIO_REQUEST (request input or output)
* m2_i1: DIO_TYPE (flag indicating byte, word, or long) * m2_i1: DIO_TYPE (flag indicating byte, word, or long)
* m2_l1: DIO_PORT (port to read/ write) * m2_l1: DIO_PORT (port to read/ write)

View file

@ -1,7 +1,7 @@
/* The system call implemented in this file: /* The kernel call implemented in this file:
* m_type: SYS_SEGCTL * 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_l3: SEG_PHYS (physical base address)
* m4_l4: SEG_SIZE (size of segment) * m4_l4: SEG_SIZE (size of segment)
* m4_l1: SEG_SELECT (return segment selector here) * m4_l1: SEG_SELECT (return segment selector here)

View file

@ -1,7 +1,7 @@
/* The system call implemented in this file: /* The kernel call implemented in this file:
* m_type: SYS_SETALARM * 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_l1: ALRM_EXP_TIME (alarm's expiration time)
* m2_i2: ALRM_ABS_TIME (expiration time is absolute?) * m2_i2: ALRM_ABS_TIME (expiration time is absolute?)
* m2_l1: ALRM_TIME_LEFT (return seconds left of previous) * m2_l1: ALRM_TIME_LEFT (return seconds left of previous)

View file

@ -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 * 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_i1: SIG_PROC # process returning from handler
* m2_p1: SIG_CTXT_PTR # pointer to sigcontext structure * m2_p1: SIG_CTXT_PTR # pointer to sigcontext structure
* *

View file

@ -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 * 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_i1: SIG_PROC # process to call signal handler
* m2_p1: SIG_CTXT_PTR # pointer to sigcontext structure * m2_p1: SIG_CTXT_PTR # pointer to sigcontext structure
* m2_i3: SIG_FLAGS # flags for S_SIGRETURN call * m2_i3: SIG_FLAGS # flags for S_SIGRETURN call

View file

@ -1,7 +1,7 @@
/* The system call implemented in this file: /* The kernel call implemented in this file:
* m_type: SYS_TIMES * 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_PROC_NR (get info for this process)
* m4_l1: T_USER_TIME (return values ...) * m4_l1: T_USER_TIME (return values ...)
* m4_l2: T_SYSTEM_TIME * m4_l2: T_SYSTEM_TIME
@ -22,7 +22,7 @@ register message *m_ptr; /* pointer to request message */
register struct proc *rp; register struct proc *rp;
int proc_nr; 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 * The clock's interrupt handler may run to update the user or system time
* while in this code, but that cannot do any harm. * while in this code, but that cannot do any harm.
*/ */

View file

@ -1,7 +1,7 @@
/* The system call implemented in this file: /* The kernel call implemented in this file:
* m_type: SYS_TRACE * 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_i1: CTL_PROC_NR process that is traced
* m2_i2: CTL_REQUEST trace request * m2_i2: CTL_REQUEST trace request
* m2_l1: CTL_ADDRESS address at traced process' space * m2_l1: CTL_ADDRESS address at traced process' space

View file

@ -1,7 +1,7 @@
/* The system call implemented in this file: /* The kernel call implemented in this file:
* m_type: SYS_UMAP * 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_i1: CP_SRC_PROC_NR (process number)
* m5_c1: CP_SRC_SPACE (segment where address is: T, D, or S) * m5_c1: CP_SRC_SPACE (segment where address is: T, D, or S)
* m5_l1: CP_SRC_ADDR (virtual address) * m5_l1: CP_SRC_ADDR (virtual address)

View file

@ -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 * call may be unused when it is not defined or when it is disabled in the
* kernel's configuration. * kernel's configuration.
*/ */

View file

@ -1,7 +1,7 @@
/* The system call implemented in this file: /* The kernel call implemented in this file:
* m_type: SYS_VIRVCOPY, SYS_PHYSVCOPY * 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_i3: VCP_VEC_SIZE size of copy request vector
* m1_p1: VCP_VEC_ADDR address of vector at caller * m1_p1: VCP_VEC_ADDR address of vector at caller
* m1_i2: VCP_NR_OK number of successfull copies * 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 /* Handle sys_virvcopy() and sys_physvcopy() that pass a vector with copy
* requests. Although a single handler function is used, there are two * 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 nr_req;
int caller_pid; int caller_pid;

View file

@ -1,7 +1,7 @@
/* The system call implemented in this file: /* The kernel call implemented in this file:
* m_type: SYS_VDEVIO * 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_i3: DIO_REQUEST (request input or output)
* m2_i1: DIO_TYPE (flag indicating byte, word, or long) * m2_i1: DIO_TYPE (flag indicating byte, word, or long)
* m2_p1: DIO_VEC_ADDR (pointer to port/ value pairs) * m2_p1: DIO_VEC_ADDR (pointer to port/ value pairs)