Al's system call -> kernel call renaming
This commit is contained in:
parent
abd0b53e0a
commit
32514fb5f9
27 changed files with 57 additions and 57 deletions
|
@ -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)
|
||||
|
|
|
@ -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 */
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -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
|
||||
*/
|
||||
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -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)
|
||||
*/
|
||||
|
||||
|
|
|
@ -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)
|
||||
*/
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
*/
|
||||
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -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
|
||||
*/
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -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)
|
||||
*/
|
||||
|
|
|
@ -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
|
||||
*/
|
||||
|
|
|
@ -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)
|
||||
*/
|
||||
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -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
|
||||
*
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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.
|
||||
*/
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -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.
|
||||
*/
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue