Rename paramctl to setgrant.

This commit is contained in:
Ben Gras
2006-06-23 15:35:05 +00:00
parent add4be444f
commit 3b814d36d1
10 changed files with 63 additions and 61 deletions

View File

@@ -289,7 +289,7 @@
# define SYS_SAFECOPYFROM (KERNEL_CALL + 31) /* sys_safecopyfrom() */
# define SYS_SAFECOPYTO (KERNEL_CALL + 32) /* sys_safecopyto() */
# define SYS_VSAFECOPY (KERNEL_CALL + 33) /* sys_vsafecopy() */
# define SYS_PARAMCTL (KERNEL_CALL + 34) /* sys_paramctl() */
# define SYS_SETGRANT (KERNEL_CALL + 34) /* sys_setgrant() */
#define NR_SYS_CALLS 35 /* number of system calls */
@@ -303,7 +303,7 @@
*/
#define SYS_PRIV_ADD_IRQ 4 /* Add IRQ */
/* Subfunctions for SYS_PARAMCTL */
/* Subfunctions for SYS_SETGRANT */
#define SYS_PARAM_SET_GRANT 1 /* Set address and size of grant table */
/* Field names for SYS_MEMSET, SYS_SEGCTL. */
@@ -447,11 +447,9 @@
#define CTL_ADDRESS m2_l1 /* address at traced process' space */
#define CTL_DATA m2_l2 /* data field for tracing */
/* Field names for SYS_PARAMCTL */
#define PCTL_REQ m2_i1 /* request code */
#define PCTL_INT1 m2_i2 /* int param 1 */
#define PCTL_INT2 m2_i3 /* int param 2 */
#define PCTL_ADDR1 m2_p1 /* address param 1 */
/* Field names for SYS_SETGRANT */
#define SG_ADDR m2_p1 /* address */
#define SG_SIZE m2_i2 /* no. of entries */
/* Field names for SYS_KILL, SYS_SIGCTL */
#define SIG_REQUEST m2_l2 /* PM signal control request */

View File

@@ -37,7 +37,7 @@ _PROTOTYPE( int sys_exit, (endpoint_t proc));
_PROTOTYPE( int sys_trace, (int req, endpoint_t proc, long addr, long *data_p));
_PROTOTYPE( int sys_privctl, (endpoint_t proc, int req, int i, void *p));
_PROTOTYPE( int sys_paramctl, (int req, int int1, void *addr1, int int2));
_PROTOTYPE( int sys_setgrant, (cp_grant_t *grants, int ngrants));
_PROTOTYPE( int sys_nice, (endpoint_t proc, int priority));
_PROTOTYPE( int sys_int86, (struct reg86u *reg86p));