Regen for sched_get_priority_{min,max}.
This commit is contained in:
parent
4b1a812950
commit
d42a74a9ba
|
@ -1,10 +1,10 @@
|
|||
/* $NetBSD: linux32_syscall.h,v 1.43 2008/11/19 18:39:45 ad Exp $ */
|
||||
/* $NetBSD: linux32_syscall.h,v 1.44 2008/12/01 14:19:45 njoly Exp $ */
|
||||
|
||||
/*
|
||||
* System call numbers.
|
||||
*
|
||||
* DO NOT EDIT-- this file is automatically generated.
|
||||
* created from NetBSD: syscalls.master,v 1.40 2008/11/19 18:36:04 ad Exp
|
||||
* created from NetBSD: syscalls.master,v 1.41 2008/12/01 14:18:44 njoly Exp
|
||||
*/
|
||||
|
||||
#ifndef _LINUX32_SYS_SYSCALL_H_
|
||||
|
@ -367,6 +367,12 @@
|
|||
/* syscall: "sched_yield" ret: "int" args: */
|
||||
#define LINUX32_SYS_sched_yield 158
|
||||
|
||||
/* syscall: "sched_get_priority_max" ret: "int" args: "int" */
|
||||
#define LINUX32_SYS_sched_get_priority_max 159
|
||||
|
||||
/* syscall: "sched_get_priority_min" ret: "int" args: "int" */
|
||||
#define LINUX32_SYS_sched_get_priority_min 160
|
||||
|
||||
/* syscall: "nanosleep" ret: "int" args: "linux32_timespecp_t" "linux32_timespecp_t" */
|
||||
#define LINUX32_SYS_nanosleep 162
|
||||
|
||||
|
|
|
@ -1,10 +1,10 @@
|
|||
/* $NetBSD: linux32_syscallargs.h,v 1.43 2008/11/19 18:39:45 ad Exp $ */
|
||||
/* $NetBSD: linux32_syscallargs.h,v 1.44 2008/12/01 14:19:45 njoly Exp $ */
|
||||
|
||||
/*
|
||||
* System call argument lists.
|
||||
*
|
||||
* DO NOT EDIT-- this file is automatically generated.
|
||||
* created from NetBSD: syscalls.master,v 1.40 2008/11/19 18:36:04 ad Exp
|
||||
* created from NetBSD: syscalls.master,v 1.41 2008/12/01 14:18:44 njoly Exp
|
||||
*/
|
||||
|
||||
#ifndef _LINUX32_SYS_SYSCALLARGS_H_
|
||||
|
@ -458,6 +458,16 @@ struct linux32_sys_sched_getscheduler_args {
|
|||
};
|
||||
check_syscall_args(linux32_sys_sched_getscheduler)
|
||||
|
||||
struct linux32_sys_sched_get_priority_max_args {
|
||||
syscallarg(int) policy;
|
||||
};
|
||||
check_syscall_args(linux32_sys_sched_get_priority_max)
|
||||
|
||||
struct linux32_sys_sched_get_priority_min_args {
|
||||
syscallarg(int) policy;
|
||||
};
|
||||
check_syscall_args(linux32_sys_sched_get_priority_min)
|
||||
|
||||
struct linux32_sys_nanosleep_args {
|
||||
syscallarg(linux32_timespecp_t) rqtp;
|
||||
syscallarg(linux32_timespecp_t) rmtp;
|
||||
|
@ -906,6 +916,10 @@ int linux32_sys_sched_getscheduler(struct lwp *, const struct linux32_sys_sched_
|
|||
|
||||
int linux_sys_sched_yield(struct lwp *, const void *, register_t *);
|
||||
|
||||
int linux32_sys_sched_get_priority_max(struct lwp *, const struct linux32_sys_sched_get_priority_max_args *, register_t *);
|
||||
|
||||
int linux32_sys_sched_get_priority_min(struct lwp *, const struct linux32_sys_sched_get_priority_min_args *, register_t *);
|
||||
|
||||
int linux32_sys_nanosleep(struct lwp *, const struct linux32_sys_nanosleep_args *, register_t *);
|
||||
|
||||
int linux32_sys_mremap(struct lwp *, const struct linux32_sys_mremap_args *, register_t *);
|
||||
|
|
|
@ -1,14 +1,14 @@
|
|||
/* $NetBSD: linux32_syscalls.c,v 1.43 2008/11/19 18:39:45 ad Exp $ */
|
||||
/* $NetBSD: linux32_syscalls.c,v 1.44 2008/12/01 14:19:45 njoly Exp $ */
|
||||
|
||||
/*
|
||||
* System call names.
|
||||
*
|
||||
* DO NOT EDIT-- this file is automatically generated.
|
||||
* created from NetBSD: syscalls.master,v 1.40 2008/11/19 18:36:04 ad Exp
|
||||
* created from NetBSD: syscalls.master,v 1.41 2008/12/01 14:18:44 njoly Exp
|
||||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: linux32_syscalls.c,v 1.43 2008/11/19 18:39:45 ad Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: linux32_syscalls.c,v 1.44 2008/12/01 14:19:45 njoly Exp $");
|
||||
|
||||
#if defined(_KERNEL_OPT)
|
||||
#include <sys/param.h>
|
||||
|
@ -194,8 +194,8 @@ const char *const linux32_syscallnames[] = {
|
|||
/* 156 */ "sched_setscheduler",
|
||||
/* 157 */ "sched_getscheduler",
|
||||
/* 158 */ "sched_yield",
|
||||
/* 159 */ "#159 (unimplemented sched_get_priority_max)",
|
||||
/* 160 */ "#160 (unimplemented sched_get_priority_min)",
|
||||
/* 159 */ "sched_get_priority_max",
|
||||
/* 160 */ "sched_get_priority_min",
|
||||
/* 161 */ "#161 (unimplemented sched_rr_get_interval)",
|
||||
/* 162 */ "nanosleep",
|
||||
/* 163 */ "mremap",
|
||||
|
|
|
@ -1,14 +1,14 @@
|
|||
/* $NetBSD: linux32_sysent.c,v 1.43 2008/11/19 18:39:45 ad Exp $ */
|
||||
/* $NetBSD: linux32_sysent.c,v 1.44 2008/12/01 14:19:45 njoly Exp $ */
|
||||
|
||||
/*
|
||||
* System call switch table.
|
||||
*
|
||||
* DO NOT EDIT-- this file is automatically generated.
|
||||
* created from NetBSD: syscalls.master,v 1.40 2008/11/19 18:36:04 ad Exp
|
||||
* created from NetBSD: syscalls.master,v 1.41 2008/12/01 14:18:44 njoly Exp
|
||||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: linux32_sysent.c,v 1.43 2008/11/19 18:39:45 ad Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: linux32_sysent.c,v 1.44 2008/12/01 14:19:45 njoly Exp $");
|
||||
|
||||
#include <sys/param.h>
|
||||
#include <sys/poll.h>
|
||||
|
@ -355,10 +355,10 @@ struct sysent linux32_sysent[] = {
|
|||
(sy_call_t *)linux32_sys_sched_getscheduler },/* 157 = sched_getscheduler */
|
||||
{ 0, 0, 0,
|
||||
(sy_call_t *)linux_sys_sched_yield },/* 158 = sched_yield */
|
||||
{ 0, 0, 0,
|
||||
linux_sys_nosys }, /* 159 = unimplemented sched_get_priority_max */
|
||||
{ 0, 0, 0,
|
||||
linux_sys_nosys }, /* 160 = unimplemented sched_get_priority_min */
|
||||
{ ns(struct linux32_sys_sched_get_priority_max_args), 0,
|
||||
(sy_call_t *)linux32_sys_sched_get_priority_max },/* 159 = sched_get_priority_max */
|
||||
{ ns(struct linux32_sys_sched_get_priority_min_args), 0,
|
||||
(sy_call_t *)linux32_sys_sched_get_priority_min },/* 160 = sched_get_priority_min */
|
||||
{ 0, 0, 0,
|
||||
linux_sys_nosys }, /* 161 = unimplemented sched_rr_get_interval */
|
||||
{ ns(struct linux32_sys_nanosleep_args), 0,
|
||||
|
|
Loading…
Reference in New Issue