This commit is contained in:
matt 2000-08-11 22:17:58 +00:00
parent 4153441571
commit e4dc804075
4 changed files with 20 additions and 11 deletions

View File

@ -1,10 +1,10 @@
/* $NetBSD: ibcs2_syscall.h,v 1.25 2000/01/10 03:12:19 matt Exp $ */
/* $NetBSD: ibcs2_syscall.h,v 1.26 2000/08/11 22:17:58 matt Exp $ */
/*
* System call numbers.
*
* DO NOT EDIT-- this file is automatically generated.
* created from NetBSD: syscalls.master,v 1.21 2000/01/10 03:10:15 matt Exp
* created from NetBSD: syscalls.master,v 1.22 2000/08/11 22:14:07 matt Exp
*/
/* syscall: "syscall" ret: "int" args: */
@ -97,6 +97,9 @@
/* syscall: "utime" ret: "int" args: "const char *" "struct ibcs2_utimbuf *" */
#define IBCS2_SYS_utime 30
/* syscall: "gtty" ret: "int" args: "int" "struct ibcs2_sgttyb *" */
#define IBCS2_SYS_gtty 32
/* syscall: "access" ret: "int" args: "const char *" "int" */
#define IBCS2_SYS_access 33

View File

@ -1,10 +1,10 @@
/* $NetBSD: ibcs2_syscallargs.h,v 1.25 2000/01/10 03:12:19 matt Exp $ */
/* $NetBSD: ibcs2_syscallargs.h,v 1.26 2000/08/11 22:17:58 matt Exp $ */
/*
* System call argument lists.
*
* DO NOT EDIT-- this file is automatically generated.
* created from NetBSD: syscalls.master,v 1.21 2000/01/10 03:10:15 matt Exp
* created from NetBSD: syscalls.master,v 1.22 2000/08/11 22:14:07 matt Exp
*/
#ifndef _IBCS2_SYS__SYSCALLARGS_H_
@ -123,6 +123,11 @@ struct ibcs2_sys_utime_args {
syscallarg(struct ibcs2_utimbuf *) buf;
};
struct ibcs2_sys_gtty_args {
syscallarg(int) fd;
syscallarg(struct ibcs2_sgttyb *) tb;
};
struct ibcs2_sys_access_args {
syscallarg(const char *) path;
syscallarg(int) flags;
@ -447,6 +452,7 @@ int ibcs2_sys_alarm __P((struct proc *, void *, register_t *));
int ibcs2_sys_fstat __P((struct proc *, void *, register_t *));
int ibcs2_sys_pause __P((struct proc *, void *, register_t *));
int ibcs2_sys_utime __P((struct proc *, void *, register_t *));
int ibcs2_sys_gtty __P((struct proc *, void *, register_t *));
int ibcs2_sys_access __P((struct proc *, void *, register_t *));
int ibcs2_sys_nice __P((struct proc *, void *, register_t *));
int ibcs2_sys_statfs __P((struct proc *, void *, register_t *));

View File

@ -1,10 +1,10 @@
/* $NetBSD: ibcs2_syscalls.c,v 1.24 2000/01/10 03:12:19 matt Exp $ */
/* $NetBSD: ibcs2_syscalls.c,v 1.25 2000/08/11 22:17:58 matt Exp $ */
/*
* System call names.
*
* DO NOT EDIT-- this file is automatically generated.
* created from NetBSD: syscalls.master,v 1.21 2000/01/10 03:10:15 matt Exp
* created from NetBSD: syscalls.master,v 1.22 2000/08/11 22:14:07 matt Exp
*/
#if defined(_KERNEL) && !defined(_LKM)
@ -53,7 +53,7 @@ char *ibcs2_syscallnames[] = {
"pause", /* 29 = pause */
"utime", /* 30 = utime */
"#31 (unimplemented was stty)", /* 31 = unimplemented was stty */
"#32 (unimplemented was gtty)", /* 32 = unimplemented was gtty */
"gtty", /* 32 = gtty */
"access", /* 33 = access */
"nice", /* 34 = nice */
"statfs", /* 35 = statfs */

View File

@ -1,10 +1,10 @@
/* $NetBSD: ibcs2_sysent.c,v 1.25 2000/01/10 03:12:19 matt Exp $ */
/* $NetBSD: ibcs2_sysent.c,v 1.26 2000/08/11 22:17:58 matt Exp $ */
/*
* System call switch table.
*
* DO NOT EDIT-- this file is automatically generated.
* created from NetBSD: syscalls.master,v 1.21 2000/01/10 03:10:15 matt Exp
* created from NetBSD: syscalls.master,v 1.22 2000/08/11 22:14:07 matt Exp
*/
#include "opt_sysv.h"
@ -85,8 +85,8 @@ struct sysent ibcs2_sysent[] = {
ibcs2_sys_utime }, /* 30 = utime */
{ 0, 0,
sys_nosys }, /* 31 = unimplemented was stty */
{ 0, 0,
sys_nosys }, /* 32 = unimplemented was gtty */
{ 2, s(struct ibcs2_sys_gtty_args),
ibcs2_sys_gtty }, /* 32 = gtty */
{ 2, s(struct ibcs2_sys_access_args),
ibcs2_sys_access }, /* 33 = access */
{ 1, s(struct ibcs2_sys_nice_args),