compat/aoutm68k: Drop SYS_vadvise
The (o)vadvise syscall is dummy since the beginning of NetBSD. Sponsored by <The NetBSD Foundation>
This commit is contained in:
parent
14e08b00f3
commit
146ecadb3f
@ -1,10 +1,10 @@
|
||||
/* $NetBSD: aoutm68k_syscall.h,v 1.50 2017/12/19 18:10:22 kamil Exp $ */
|
||||
/* $NetBSD: aoutm68k_syscall.h,v 1.51 2017/12/19 19:17:17 kamil Exp $ */
|
||||
|
||||
/*
|
||||
* System call numbers.
|
||||
*
|
||||
* DO NOT EDIT-- this file is automatically generated.
|
||||
* created from NetBSD: syscalls.master,v 1.38 2017/12/19 08:09:36 kamil Exp
|
||||
* created from NetBSD: syscalls.master,v 1.39 2017/12/19 18:10:22 kamil Exp
|
||||
*/
|
||||
|
||||
#ifndef _AOUTM68K_SYS_SYSCALL_H_
|
||||
@ -273,9 +273,7 @@
|
||||
#else
|
||||
/* 71 is excluded compat_43_sys_mmap */
|
||||
#endif
|
||||
/* syscall: "vadvise" ret: "int" args: "int" */
|
||||
#define AOUTM68K_SYS_vadvise 72
|
||||
|
||||
/* 72 is obsolete vadvise */
|
||||
/* syscall: "munmap" ret: "int" args: "void *" "size_t" */
|
||||
#define AOUTM68K_SYS_munmap 73
|
||||
|
||||
|
@ -1,10 +1,10 @@
|
||||
/* $NetBSD: aoutm68k_syscallargs.h,v 1.48 2017/12/19 18:10:22 kamil Exp $ */
|
||||
/* $NetBSD: aoutm68k_syscallargs.h,v 1.49 2017/12/19 19:17:17 kamil Exp $ */
|
||||
|
||||
/*
|
||||
* System call argument lists.
|
||||
*
|
||||
* DO NOT EDIT-- this file is automatically generated.
|
||||
* created from NetBSD: syscalls.master,v 1.38 2017/12/19 08:09:36 kamil Exp
|
||||
* created from NetBSD: syscalls.master,v 1.39 2017/12/19 18:10:22 kamil Exp
|
||||
*/
|
||||
|
||||
#ifndef _AOUTM68K_SYS_SYSCALLARGS_H_
|
||||
@ -195,8 +195,6 @@ struct compat_43_sys_mmap_args;
|
||||
#else
|
||||
#endif
|
||||
|
||||
struct sys_ovadvise_args;
|
||||
|
||||
struct sys_munmap_args;
|
||||
|
||||
struct sys_mprotect_args;
|
||||
@ -823,8 +821,6 @@ int compat_43_sys_mmap(struct lwp *, const struct compat_43_sys_mmap_args *, reg
|
||||
|
||||
#else
|
||||
#endif
|
||||
int sys_ovadvise(struct lwp *, const struct sys_ovadvise_args *, register_t *);
|
||||
|
||||
int sys_munmap(struct lwp *, const struct sys_munmap_args *, register_t *);
|
||||
|
||||
int sys_mprotect(struct lwp *, const struct sys_mprotect_args *, register_t *);
|
||||
|
@ -1,14 +1,14 @@
|
||||
/* $NetBSD: aoutm68k_syscalls.c,v 1.47 2017/12/19 18:10:22 kamil Exp $ */
|
||||
/* $NetBSD: aoutm68k_syscalls.c,v 1.48 2017/12/19 19:17:17 kamil Exp $ */
|
||||
|
||||
/*
|
||||
* System call names.
|
||||
*
|
||||
* DO NOT EDIT-- this file is automatically generated.
|
||||
* created from NetBSD: syscalls.master,v 1.38 2017/12/19 08:09:36 kamil Exp
|
||||
* created from NetBSD: syscalls.master,v 1.39 2017/12/19 18:10:22 kamil Exp
|
||||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: aoutm68k_syscalls.c,v 1.47 2017/12/19 18:10:22 kamil Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: aoutm68k_syscalls.c,v 1.48 2017/12/19 19:17:17 kamil Exp $");
|
||||
|
||||
#if defined(_KERNEL_OPT)
|
||||
#if defined(_KERNEL_OPT)
|
||||
@ -158,7 +158,7 @@ const char *const aoutm68k_syscallnames[] = {
|
||||
#else
|
||||
/* 71 */ "#71 (excluded compat_43_sys_mmap)",
|
||||
#endif
|
||||
/* 72 */ "vadvise",
|
||||
/* 72 */ "#72 (obsolete vadvise)",
|
||||
/* 73 */ "munmap",
|
||||
/* 74 */ "mprotect",
|
||||
/* 75 */ "madvise",
|
||||
@ -905,7 +905,7 @@ const char *const altaoutm68k_syscallnames[] = {
|
||||
#else
|
||||
/* 71 */ NULL, /* excluded compat_43_sys_mmap */
|
||||
#endif
|
||||
/* 72 */ "ovadvise",
|
||||
/* 72 */ NULL, /* obsolete vadvise */
|
||||
/* 73 */ NULL, /* munmap */
|
||||
/* 74 */ NULL, /* mprotect */
|
||||
/* 75 */ NULL, /* madvise */
|
||||
|
@ -1,14 +1,14 @@
|
||||
/* $NetBSD: aoutm68k_sysent.c,v 1.52 2017/12/19 18:10:22 kamil Exp $ */
|
||||
/* $NetBSD: aoutm68k_sysent.c,v 1.53 2017/12/19 19:17:17 kamil Exp $ */
|
||||
|
||||
/*
|
||||
* System call switch table.
|
||||
*
|
||||
* DO NOT EDIT-- this file is automatically generated.
|
||||
* created from NetBSD: syscalls.master,v 1.38 2017/12/19 08:09:36 kamil Exp
|
||||
* created from NetBSD: syscalls.master,v 1.39 2017/12/19 18:10:22 kamil Exp
|
||||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: aoutm68k_sysent.c,v 1.52 2017/12/19 18:10:22 kamil Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: aoutm68k_sysent.c,v 1.53 2017/12/19 19:17:17 kamil Exp $");
|
||||
|
||||
#if defined(_KERNEL_OPT)
|
||||
#include "opt_ktrace.h"
|
||||
@ -434,9 +434,8 @@ struct sysent aoutm68k_sysent[] = {
|
||||
}, /* 71 = filler */
|
||||
#endif
|
||||
{
|
||||
ns(struct sys_ovadvise_args),
|
||||
.sy_call = (sy_call_t *)sys_ovadvise
|
||||
}, /* 72 = vadvise */
|
||||
.sy_call = sys_nosys,
|
||||
}, /* 72 = filler */
|
||||
{
|
||||
ns(struct sys_munmap_args),
|
||||
.sy_flags = SYCALL_ARG_PTR,
|
||||
|
@ -1,4 +1,4 @@
|
||||
$NetBSD: syscalls.master,v 1.39 2017/12/19 18:10:22 kamil Exp $
|
||||
$NetBSD: syscalls.master,v 1.40 2017/12/19 19:17:17 kamil Exp $
|
||||
|
||||
; @(#)syscalls.master 8.2 (Berkeley) 1/13/94
|
||||
|
||||
@ -220,7 +220,7 @@
|
||||
#else
|
||||
71 EXCL compat_43_sys_mmap
|
||||
#endif
|
||||
72 NOARGS { int|sys||ovadvise(int anom); } vadvise
|
||||
72 OBSOL vadvise
|
||||
73 NOARGS { int|sys||munmap(void *addr, size_t len); }
|
||||
74 NOARGS { int|sys||mprotect(void *addr, size_t len, \
|
||||
int prot); }
|
||||
|
Loading…
Reference in New Issue
Block a user