Added fsync

This commit is contained in:
manu 2002-04-02 20:29:52 +00:00
parent ee37f0c738
commit 4bca6e2fd0
5 changed files with 19 additions and 15 deletions

View File

@ -1,10 +1,10 @@
/* $NetBSD: irix_syscall.h,v 1.32 2002/04/02 19:58:38 manu Exp $ */
/* $NetBSD: irix_syscall.h,v 1.33 2002/04/02 20:29:52 manu Exp $ */
/*
* System call numbers.
*
* DO NOT EDIT-- this file is automatically generated.
* created from NetBSD: syscalls.master,v 1.30 2002/03/28 10:36:15 manu Exp
* created from NetBSD: syscalls.master,v 1.31 2002/04/02 19:58:39 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: "fsync" ret: "int" args: "int" */
#define IRIX_SYS_fsync 146
/* syscall: "systeminfo" ret: "long" args: "int" "char *" "long" */
#define IRIX_SYS_systeminfo 156

View File

@ -1,10 +1,10 @@
/* $NetBSD: irix_syscallargs.h,v 1.32 2002/04/02 19:58:38 manu Exp $ */
/* $NetBSD: irix_syscallargs.h,v 1.33 2002/04/02 20:29:52 manu Exp $ */
/*
* System call argument lists.
*
* DO NOT EDIT-- this file is automatically generated.
* created from NetBSD: syscalls.master,v 1.30 2002/03/28 10:36:15 manu Exp
* created from NetBSD: syscalls.master,v 1.31 2002/04/02 19:58:39 manu Exp
*/
#ifndef _IRIX_SYS__SYSCALLARGS_H_
@ -267,6 +267,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_fsync(struct proc *, void *, register_t *);
int irix_sys_systeminfo(struct proc *, void *, register_t *);
int irix_sys_xstat(struct proc *, void *, register_t *);
int irix_sys_lxstat(struct proc *, void *, register_t *);

View File

@ -1,14 +1,14 @@
/* $NetBSD: irix_syscalls.c,v 1.32 2002/04/02 19:58:38 manu Exp $ */
/* $NetBSD: irix_syscalls.c,v 1.33 2002/04/02 20:29:52 manu Exp $ */
/*
* System call names.
*
* DO NOT EDIT-- this file is automatically generated.
* created from NetBSD: syscalls.master,v 1.30 2002/03/28 10:36:15 manu Exp
* created from NetBSD: syscalls.master,v 1.31 2002/04/02 19:58:39 manu Exp
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: irix_syscalls.c,v 1.32 2002/04/02 19:58:38 manu Exp $");
__KERNEL_RCSID(0, "$NetBSD: irix_syscalls.c,v 1.33 2002/04/02 20:29:52 manu Exp $");
#if defined(_KERNEL_OPT)
#if defined(_KERNEL_OPT)
@ -193,7 +193,7 @@ const char *const irix_syscallnames[] = {
"#143 (unimplemented getpgrp)", /* 143 = unimplemented getpgrp */
"#144 (unimplemented setpgrp)", /* 144 = unimplemented setpgrp */
"#145 (unimplemented vhangup)", /* 145 = unimplemented vhangup */
"#146 (unimplemented fsync)", /* 146 = unimplemented fsync */
"fsync", /* 146 = fsync */
"#147 (unimplemented fchdir)", /* 147 = unimplemented fchdir */
"#148 (unimplemented getrlimit)", /* 148 = unimplemented getrlimit */
"#149 (unimplemented setrlimit)", /* 149 = unimplemented setrlimit */

View File

@ -1,14 +1,14 @@
/* $NetBSD: irix_sysent.c,v 1.32 2002/04/02 19:58:39 manu Exp $ */
/* $NetBSD: irix_sysent.c,v 1.33 2002/04/02 20:29:52 manu Exp $ */
/*
* System call switch table.
*
* DO NOT EDIT-- this file is automatically generated.
* created from NetBSD: syscalls.master,v 1.30 2002/03/28 10:36:15 manu Exp
* created from NetBSD: syscalls.master,v 1.31 2002/04/02 19:58:39 manu Exp
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: irix_sysent.c,v 1.32 2002/04/02 19:58:39 manu Exp $");
__KERNEL_RCSID(0, "$NetBSD: irix_sysent.c,v 1.33 2002/04/02 20:29:52 manu Exp $");
#if defined(_KERNEL_OPT)
#include "opt_ntp.h"
@ -342,8 +342,8 @@ struct sysent irix_sysent[] = {
sys_nosys }, /* 144 = unimplemented setpgrp */
{ 0, 0, 0,
sys_nosys }, /* 145 = unimplemented vhangup */
{ 0, 0, 0,
sys_nosys }, /* 146 = unimplemented fsync */
{ 1, s(struct sys_fsync_args), 0,
sys_fsync }, /* 146 = fsync */
{ 0, 0, 0,
sys_nosys }, /* 147 = unimplemented fchdir */
{ 0, 0, 0,

View File

@ -1,4 +1,4 @@
$NetBSD: syscalls.master,v 1.31 2002/04/02 19:58:39 manu Exp $
$NetBSD: syscalls.master,v 1.32 2002/04/02 20:29:52 manu Exp $
; @(#)syscalls.master 8.1 (Berkeley) 7/19/93
@ -262,7 +262,7 @@
143 UNIMPL getpgrp
144 UNIMPL setpgrp
145 UNIMPL vhangup
146 UNIMPL fsync
146 NOARGS { int sys_fsync(int fd); }
147 UNIMPL fchdir
148 UNIMPL getrlimit
149 UNIMPL setrlimit