Add stub syscalls and definitions for KSE calls.
"Book'em Danno"
This commit is contained in:
parent
95a801b700
commit
c28841c1da
@ -3,7 +3,7 @@
|
||||
*
|
||||
* DO NOT EDIT-- this file is automatically generated.
|
||||
* $FreeBSD$
|
||||
* created from FreeBSD: src/sys/kern/syscalls.master,v 1.104 2002/02/17 17:41:28 deischen Exp
|
||||
* created from FreeBSD: src/sys/kern/syscalls.master,v 1.105 2002/02/19 02:19:36 julian Exp
|
||||
*/
|
||||
|
||||
#include "opt_compat.h"
|
||||
@ -401,4 +401,9 @@ struct sysent sysent[] = {
|
||||
{ AS(eaccess_args), (sy_call_t *)eaccess }, /* 376 = eaccess */
|
||||
{ 0, (sy_call_t *)nosys }, /* 377 = afs_syscall */
|
||||
{ AS(nmount_args), (sy_call_t *)nmount }, /* 378 = nmount */
|
||||
{ 0, (sy_call_t *)kse_exit }, /* 379 = kse_exit */
|
||||
{ 0, (sy_call_t *)kse_wakeup }, /* 380 = kse_wakeup */
|
||||
{ AS(kse_new_args), (sy_call_t *)kse_new }, /* 381 = kse_new */
|
||||
{ AS(thread_wakeup_args), (sy_call_t *)thread_wakeup }, /* 382 = thread_wakeup */
|
||||
{ 0, (sy_call_t *)kse_yield }, /* 383 = kse_yield */
|
||||
};
|
||||
|
@ -195,6 +195,51 @@ thread_get(struct proc *p)
|
||||
return (td);
|
||||
}
|
||||
|
||||
|
||||
/*********************
|
||||
* STUB KSE syscalls
|
||||
*********************/
|
||||
|
||||
int
|
||||
thread_wakeup(struct thread *td, struct thread_wakeup_args *uap)
|
||||
/* struct thread_wakeup_args { struct thread_mailbox *tmbx; }; */
|
||||
{
|
||||
|
||||
return(EINVAL);
|
||||
}
|
||||
|
||||
int
|
||||
kse_exit(struct thread *td, struct kse_exit_args *uap)
|
||||
{
|
||||
|
||||
return(EINVAL);
|
||||
}
|
||||
|
||||
int
|
||||
kse_yield(struct thread *td, struct kse_yield_args *uap)
|
||||
{
|
||||
|
||||
return(EINVAL);
|
||||
}
|
||||
|
||||
int kse_wakeup(struct thread *td, struct kse_wakeup_args *uap)
|
||||
{
|
||||
|
||||
return(EINVAL);
|
||||
}
|
||||
|
||||
|
||||
int
|
||||
kse_new(struct thread *td, struct kse_new_args *uap)
|
||||
/* struct kse_new_args {
|
||||
struct kse_mailbox *mbx;
|
||||
int new_grp_flag;
|
||||
}; */
|
||||
{
|
||||
|
||||
return (EINVAL);
|
||||
}
|
||||
|
||||
/*
|
||||
* Is p an inferior of the current process?
|
||||
*/
|
||||
|
@ -3,7 +3,7 @@
|
||||
*
|
||||
* DO NOT EDIT-- this file is automatically generated.
|
||||
* $FreeBSD$
|
||||
* created from FreeBSD: src/sys/kern/syscalls.master,v 1.104 2002/02/17 17:41:28 deischen Exp
|
||||
* created from FreeBSD: src/sys/kern/syscalls.master,v 1.105 2002/02/19 02:19:36 julian Exp
|
||||
*/
|
||||
|
||||
char *syscallnames[] = {
|
||||
@ -386,4 +386,9 @@ char *syscallnames[] = {
|
||||
"eaccess", /* 376 = eaccess */
|
||||
"#377", /* 377 = afs_syscall */
|
||||
"nmount", /* 378 = nmount */
|
||||
"kse_exit", /* 379 = kse_exit */
|
||||
"kse_wakeup", /* 380 = kse_wakeup */
|
||||
"kse_new", /* 381 = kse_new */
|
||||
"thread_wakeup", /* 382 = thread_wakeup */
|
||||
"kse_yield", /* 383 = kse_yield */
|
||||
};
|
||||
|
@ -548,7 +548,7 @@
|
||||
378 STD BSD { int nmount(struct iovec *iovp, unsigned int iovcnt, \
|
||||
int flags); }
|
||||
379 STD BSD { int kse_exit(void); }
|
||||
380 STD BSD { int kse_wakeup(void *); }
|
||||
380 STD BSD { int kse_wakeup(void); }
|
||||
381 STD BSD { int kse_new(struct kse_mailbox * mbx, \
|
||||
int new_grp_flag); }
|
||||
382 STD BSD { int thread_wakeup(struct thread_mailbox *tmbx); }
|
||||
|
@ -3,7 +3,7 @@
|
||||
*
|
||||
* DO NOT EDIT-- this file is automatically generated.
|
||||
* $FreeBSD$
|
||||
* created from FreeBSD: src/sys/kern/syscalls.master,v 1.104 2002/02/17 17:41:28 deischen Exp
|
||||
* created from FreeBSD: src/sys/kern/syscalls.master,v 1.105 2002/02/19 02:19:36 julian Exp
|
||||
*/
|
||||
|
||||
#define SYS_syscall 0
|
||||
@ -298,4 +298,9 @@
|
||||
#define SYS_nfsclnt 375
|
||||
#define SYS_eaccess 376
|
||||
#define SYS_nmount 378
|
||||
#define SYS_MAXSYSCALL 379
|
||||
#define SYS_kse_exit 379
|
||||
#define SYS_kse_wakeup 380
|
||||
#define SYS_kse_new 381
|
||||
#define SYS_thread_wakeup 382
|
||||
#define SYS_kse_yield 383
|
||||
#define SYS_MAXSYSCALL 384
|
||||
|
@ -1,7 +1,7 @@
|
||||
# FreeBSD system call names.
|
||||
# DO NOT EDIT-- this file is automatically generated.
|
||||
# $FreeBSD$
|
||||
# created from FreeBSD: src/sys/kern/syscalls.master,v 1.104 2002/02/17 17:41:28 deischen Exp
|
||||
# created from FreeBSD: src/sys/kern/syscalls.master,v 1.105 2002/02/19 02:19:36 julian Exp
|
||||
MIASM = \
|
||||
syscall.o \
|
||||
exit.o \
|
||||
@ -247,4 +247,9 @@ MIASM = \
|
||||
__setugid.o \
|
||||
nfsclnt.o \
|
||||
eaccess.o \
|
||||
nmount.o
|
||||
nmount.o \
|
||||
kse_exit.o \
|
||||
kse_wakeup.o \
|
||||
kse_new.o \
|
||||
thread_wakeup.o \
|
||||
kse_yield.o
|
||||
|
@ -3,7 +3,7 @@
|
||||
*
|
||||
* DO NOT EDIT-- this file is automatically generated.
|
||||
* $FreeBSD$
|
||||
* created from FreeBSD: src/sys/kern/syscalls.master,v 1.104 2002/02/17 17:41:28 deischen Exp
|
||||
* created from FreeBSD: src/sys/kern/syscalls.master,v 1.105 2002/02/19 02:19:36 julian Exp
|
||||
*/
|
||||
|
||||
#ifndef _SYS_SYSPROTO_H_
|
||||
@ -1089,6 +1089,22 @@ struct nmount_args {
|
||||
char iovcnt_l_[PADL_(unsigned int)]; unsigned int iovcnt; char iovcnt_r_[PADR_(unsigned int)];
|
||||
char flags_l_[PADL_(int)]; int flags; char flags_r_[PADR_(int)];
|
||||
};
|
||||
struct kse_exit_args {
|
||||
register_t dummy;
|
||||
};
|
||||
struct kse_wakeup_args {
|
||||
register_t dummy;
|
||||
};
|
||||
struct kse_new_args {
|
||||
char mbx_l_[PADL_(struct kse_mailbox *)]; struct kse_mailbox * mbx; char mbx_r_[PADR_(struct kse_mailbox *)];
|
||||
char new_grp_flag_l_[PADL_(int)]; int new_grp_flag; char new_grp_flag_r_[PADR_(int)];
|
||||
};
|
||||
struct thread_wakeup_args {
|
||||
char tmbx_l_[PADL_(struct thread_mailbox *)]; struct thread_mailbox * tmbx; char tmbx_r_[PADR_(struct thread_mailbox *)];
|
||||
};
|
||||
struct kse_yield_args {
|
||||
register_t dummy;
|
||||
};
|
||||
int nosys __P((struct thread *, struct nosys_args *));
|
||||
void sys_exit __P((struct thread *, struct sys_exit_args *));
|
||||
int fork __P((struct thread *, struct fork_args *));
|
||||
@ -1333,6 +1349,11 @@ int __setugid __P((struct thread *, struct __setugid_args *));
|
||||
int nfsclnt __P((struct thread *, struct nfsclnt_args *));
|
||||
int eaccess __P((struct thread *, struct eaccess_args *));
|
||||
int nmount __P((struct thread *, struct nmount_args *));
|
||||
int kse_exit __P((struct thread *, struct kse_exit_args *));
|
||||
int kse_wakeup __P((struct thread *, struct kse_wakeup_args *));
|
||||
int kse_new __P((struct thread *, struct kse_new_args *));
|
||||
int thread_wakeup __P((struct thread *, struct thread_wakeup_args *));
|
||||
int kse_yield __P((struct thread *, struct kse_yield_args *));
|
||||
|
||||
#ifdef COMPAT_43
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user