Implement Linux futex and gettid system calls for amd64

This commit is contained in:
manu 2005-11-04 16:51:56 +00:00
parent 0a3dbc01d5
commit e1c0c1c9dd
2 changed files with 8 additions and 5 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: linux_commons.c,v 1.2 2005/10/31 17:58:07 manu Exp $ */
/* $NetBSD: linux_commons.c,v 1.3 2005/11/04 16:51:56 manu Exp $ */
/*
* This file includes C files from the common
@ -13,7 +13,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(1, "$NetBSD: linux_commons.c,v 1.2 2005/10/31 17:58:07 manu Exp $");
__KERNEL_RCSID(1, "$NetBSD: linux_commons.c,v 1.3 2005/11/04 16:51:56 manu Exp $");
#if defined(_KERNEL_OPT)
#include "opt_sysv.h"
@ -34,3 +34,4 @@ __KERNEL_RCSID(1, "$NetBSD: linux_commons.c,v 1.2 2005/10/31 17:58:07 manu Exp $
#include "../../common/linux_misc_notalpha.c"
#include "../../common/linux_sig_notalpha.c"
#include "../../common/linux_sigaction.c"
#include "../../common/linux_futex.c"

View File

@ -1,4 +1,4 @@
$NetBSD: syscalls.master,v 1.6 2005/10/18 18:37:44 joerg Exp $
$NetBSD: syscalls.master,v 1.7 2005/11/04 16:51:56 manu Exp $
; @(#)syscalls.master 8.1 (Berkeley) 7/19/93
@ -328,7 +328,7 @@
183 UNIMPL afs_syscall
184 UNIMPL tuxcall
185 UNIMPL security
186 UNIMPL gettid
186 STD { pid_t linux_sys_gettid(void); }
187 UNIMPL readahead
188 STD { int linux_sys_setxattr(char *path, char *name, \
void *value, size_t size, int flags); }
@ -353,7 +353,9 @@
199 STD { int linux_sys_fremovexattr(int fd, char *name); }
200 UNIMPL tkill
201 STD { int linux_sys_time(linux_time_t *t); }
202 UNIMPL futex
202 STD { int linux_sys_futex(int *uaddr, int op, int val, \
const struct timespec *timeout, int *uaddr2, \
int val3); }
203 UNIMPL sched_setaffinity
204 UNIMPL sched_getaffinity
205 UNIMPL set_thread_area