Added one more system call: msync

This commit is contained in:
manu 2002-04-20 16:56:28 +00:00
parent 21d2265eea
commit e67d46d7af
5 changed files with 20 additions and 15 deletions

View File

@ -1,10 +1,10 @@
/* $NetBSD: irix_syscall.h,v 1.36 2002/04/16 20:15:47 manu Exp $ */
/* $NetBSD: irix_syscall.h,v 1.37 2002/04/20 16:56:28 manu Exp $ */
/*
* System call numbers.
*
* DO NOT EDIT-- this file is automatically generated.
* created from NetBSD: syscalls.master,v 1.34 2002/04/14 21:50:50 manu Exp
* created from NetBSD: syscalls.master,v 1.35 2002/04/16 20:15:48 manu Exp
*/
/* syscall: "syscall" ret: "int" args: */
@ -298,6 +298,9 @@
/* syscall: "mprotect" ret: "int" args: "void *" "int" "int" */
#define IRIX_SYS_mprotect 136
/* syscall: "__msync13" ret: "int" args: "void *" "size_t" "int" */
#define IRIX_SYS___msync13 137
/* syscall: "getpgrp" ret: "int" args: */
#define IRIX_SYS_getpgrp 143

View File

@ -1,10 +1,10 @@
/* $NetBSD: irix_syscallargs.h,v 1.36 2002/04/16 20:15:47 manu Exp $ */
/* $NetBSD: irix_syscallargs.h,v 1.37 2002/04/20 16:56:28 manu Exp $ */
/*
* System call argument lists.
*
* DO NOT EDIT-- this file is automatically generated.
* created from NetBSD: syscalls.master,v 1.34 2002/04/14 21:50:50 manu Exp
* created from NetBSD: syscalls.master,v 1.35 2002/04/16 20:15:48 manu Exp
*/
#ifndef _IRIX_SYS__SYSCALLARGS_H_
@ -281,6 +281,7 @@ int irix_sys_prctl(struct proc *, void *, register_t *);
int svr4_sys_mmap(struct proc *, void *, register_t *);
int sys_munmap(struct proc *, void *, register_t *);
int sys_mprotect(struct proc *, void *, register_t *);
int sys___msync13(struct proc *, void *, register_t *);
int sys_getpgrp(struct proc *, void *, register_t *);
int irix_sys_setpgrp(struct proc *, void *, register_t *);
int sys_fsync(struct proc *, void *, register_t *);

View File

@ -1,14 +1,14 @@
/* $NetBSD: irix_syscalls.c,v 1.36 2002/04/16 20:15:47 manu Exp $ */
/* $NetBSD: irix_syscalls.c,v 1.37 2002/04/20 16:56:29 manu Exp $ */
/*
* System call names.
*
* DO NOT EDIT-- this file is automatically generated.
* created from NetBSD: syscalls.master,v 1.34 2002/04/14 21:50:50 manu Exp
* created from NetBSD: syscalls.master,v 1.35 2002/04/16 20:15:48 manu Exp
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: irix_syscalls.c,v 1.36 2002/04/16 20:15:47 manu Exp $");
__KERNEL_RCSID(0, "$NetBSD: irix_syscalls.c,v 1.37 2002/04/20 16:56:29 manu Exp $");
#if defined(_KERNEL_OPT)
#if defined(_KERNEL_OPT)
@ -184,7 +184,7 @@ const char *const irix_syscallnames[] = {
"mmap", /* 134 = mmap */
"munmap", /* 135 = munmap */
"mprotect", /* 136 = mprotect */
"#137 (unimplemented msync)", /* 137 = unimplemented msync */
"__msync13", /* 137 = __msync13 */
"#138 (unimplemented madvise)", /* 138 = unimplemented madvise */
"#139 (unimplemented pagelock)", /* 139 = unimplemented pagelock */
"#140 (unimplemented getpagesize)", /* 140 = unimplemented getpagesize */

View File

@ -1,14 +1,14 @@
/* $NetBSD: irix_sysent.c,v 1.36 2002/04/16 20:15:48 manu Exp $ */
/* $NetBSD: irix_sysent.c,v 1.37 2002/04/20 16:56:29 manu Exp $ */
/*
* System call switch table.
*
* DO NOT EDIT-- this file is automatically generated.
* created from NetBSD: syscalls.master,v 1.34 2002/04/14 21:50:50 manu Exp
* created from NetBSD: syscalls.master,v 1.35 2002/04/16 20:15:48 manu Exp
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: irix_sysent.c,v 1.36 2002/04/16 20:15:48 manu Exp $");
__KERNEL_RCSID(0, "$NetBSD: irix_sysent.c,v 1.37 2002/04/20 16:56:29 manu Exp $");
#if defined(_KERNEL_OPT)
#include "opt_ntp.h"
@ -324,8 +324,8 @@ struct sysent irix_sysent[] = {
sys_munmap }, /* 135 = munmap */
{ 3, s(struct sys_mprotect_args), 0,
sys_mprotect }, /* 136 = mprotect */
{ 0, 0, 0,
sys_nosys }, /* 137 = unimplemented msync */
{ 3, s(struct sys___msync13_args), 0,
sys___msync13 }, /* 137 = __msync13 */
{ 0, 0, 0,
sys_nosys }, /* 138 = unimplemented madvise */
{ 0, 0, 0,

View File

@ -1,4 +1,4 @@
$NetBSD: syscalls.master,v 1.35 2002/04/16 20:15:48 manu Exp $
$NetBSD: syscalls.master,v 1.36 2002/04/20 16:56:29 manu Exp $
; @(#)syscalls.master 8.1 (Berkeley) 7/19/93
@ -254,7 +254,8 @@
int prot, int flags, int fd, svr4_off_t pos); }
135 NOARGS { int sys_munmap(void *addr, int len); }
136 NOARGS { int sys_mprotect(void *addr, int len, int prot); }
137 UNIMPL msync
137 NOARGS { int sys___msync13(void *addr, \
size_t len, int flags); }
138 UNIMPL madvise
139 UNIMPL pagelock
140 UNIMPL getpagesize