This commit is contained in:
thorpej 1999-04-29 17:20:37 +00:00
parent fb1f070eba
commit 0792acce0d
4 changed files with 22 additions and 11 deletions

View File

@ -1,10 +1,10 @@
/* $NetBSD: osf1_syscall.h,v 1.26 1999/04/29 02:11:51 cgd Exp $ */
/* $NetBSD: osf1_syscall.h,v 1.27 1999/04/29 17:20:37 thorpej Exp $ */
/*
* System call numbers.
*
* DO NOT EDIT-- this file is automatically generated.
* created from NetBSD: syscalls.master,v 1.20 1999/04/29 02:10:07 cgd Exp
* created from NetBSD: syscalls.master,v 1.21 1999/04/29 17:19:47 thorpej Exp
*/
/* syscall: "syscall" ret: "int" args: */
@ -91,6 +91,9 @@
/* syscall: "pipe" ret: "int" args: */
#define OSF1_SYS_pipe 42
/* syscall: "set_program_attributes" ret: "int" args: "caddr_t" "unsigned long" "caddr_t" "unsigned long" */
#define OSF1_SYS_set_program_attributes 43
/* syscall: "open" ret: "int" args: "const char *" "int" "int" */
#define OSF1_SYS_open 45

View File

@ -1,10 +1,10 @@
/* $NetBSD: osf1_syscallargs.h,v 1.26 1999/04/29 02:11:51 cgd Exp $ */
/* $NetBSD: osf1_syscallargs.h,v 1.27 1999/04/29 17:20:37 thorpej Exp $ */
/*
* System call argument lists.
*
* DO NOT EDIT-- this file is automatically generated.
* created from NetBSD: syscalls.master,v 1.20 1999/04/29 02:10:07 cgd Exp
* created from NetBSD: syscalls.master,v 1.21 1999/04/29 17:19:47 thorpej Exp
*/
#ifndef _OSF1_SYS__SYSCALLARGS_H_
@ -65,6 +65,13 @@ struct osf1_sys_access_args {
syscallarg(int) flags;
};
struct osf1_sys_set_program_attributes_args {
syscallarg(caddr_t) taddr;
syscallarg(unsigned long) tsize;
syscallarg(caddr_t) daddr;
syscallarg(unsigned long) dsize;
};
struct osf1_sys_open_args {
syscallarg(const char *) path;
syscallarg(int) flags;
@ -280,6 +287,7 @@ int sys_kill __P((struct proc *, void *, register_t *));
int sys_setpgid __P((struct proc *, void *, register_t *));
int sys_dup __P((struct proc *, void *, register_t *));
int sys_pipe __P((struct proc *, void *, register_t *));
int osf1_sys_set_program_attributes __P((struct proc *, void *, register_t *));
int osf1_sys_open __P((struct proc *, void *, register_t *));
int sys_getgid __P((struct proc *, void *, register_t *));
int compat_13_sys_sigprocmask __P((struct proc *, void *, register_t *));

View File

@ -1,10 +1,10 @@
/* $NetBSD: osf1_syscalls.c,v 1.24 1999/04/29 02:11:52 cgd Exp $ */
/* $NetBSD: osf1_syscalls.c,v 1.25 1999/04/29 17:20:37 thorpej Exp $ */
/*
* System call names.
*
* DO NOT EDIT-- this file is automatically generated.
* created from NetBSD: syscalls.master,v 1.20 1999/04/29 02:10:07 cgd Exp
* created from NetBSD: syscalls.master,v 1.21 1999/04/29 17:19:47 thorpej Exp
*/
#if defined(_KERNEL) && !defined(_LKM)
@ -62,7 +62,7 @@ char *osf1_syscallnames[] = {
"#40 (unimplemented old lstat)", /* 40 = unimplemented old lstat */
"dup", /* 41 = dup */
"pipe", /* 42 = pipe */
"#43 (unimplemented set_program_attributes)", /* 43 = unimplemented set_program_attributes */
"set_program_attributes", /* 43 = set_program_attributes */
"#44 (unimplemented profil)", /* 44 = unimplemented profil */
"open", /* 45 = open */
"#46 (obsolete sigaction)", /* 46 = obsolete sigaction */

View File

@ -1,10 +1,10 @@
/* $NetBSD: osf1_sysent.c,v 1.26 1999/04/29 02:11:52 cgd Exp $ */
/* $NetBSD: osf1_sysent.c,v 1.27 1999/04/29 17:20:37 thorpej Exp $ */
/*
* System call switch table.
*
* DO NOT EDIT-- this file is automatically generated.
* created from NetBSD: syscalls.master,v 1.20 1999/04/29 02:10:07 cgd Exp
* created from NetBSD: syscalls.master,v 1.21 1999/04/29 17:19:47 thorpej Exp
*/
#include "opt_compat_43.h"
@ -105,8 +105,8 @@ struct sysent osf1_sysent[] = {
sys_dup }, /* 41 = dup */
{ 0, 0,
sys_pipe }, /* 42 = pipe */
{ 0, 0,
sys_nosys }, /* 43 = unimplemented set_program_attributes */
{ 4, s(struct osf1_sys_set_program_attributes_args),
osf1_sys_set_program_attributes }, /* 43 = set_program_attributes */
{ 0, 0,
sys_nosys }, /* 44 = unimplemented profil */
{ 3, s(struct osf1_sys_open_args),