summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjulian <julian@FreeBSD.org>2002-02-19 02:19:36 +0000
committerjulian <julian@FreeBSD.org>2002-02-19 02:19:36 +0000
commit6ebb003bcc8147bb747614deb821a7242f9cf359 (patch)
treee6c6ec7d9edfe7d43a39e78cbeb451c7ad9efea7
parent10ca98b24da133ea8332bb1eafa4287a49ddc3ed (diff)
downloadFreeBSD-src-6ebb003bcc8147bb747614deb821a7242f9cf359.zip
FreeBSD-src-6ebb003bcc8147bb747614deb821a7242f9cf359.tar.gz
Add 5 KSE syscalls. Two will be implemented with the next KSE
step and the others are reservations for coming code. All will be stubbed in this kernel in the next commit. This will allow people to easily make KSE binaries for userland testing (the syscalls will be in libc) but they will still need a real KSE kernel to test it. (libc looks in /sys to decide what it should add stubs for).
-rw-r--r--sys/kern/syscalls.master6
1 files changed, 6 insertions, 0 deletions
diff --git a/sys/kern/syscalls.master b/sys/kern/syscalls.master
index 1f42785..ff2b864 100644
--- a/sys/kern/syscalls.master
+++ b/sys/kern/syscalls.master
@@ -547,4 +547,10 @@
377 UNIMPL BSD afs_syscall
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 *); }
+381 STD BSD { int kse_new(struct kse_mailbox * mbx, \
+ int new_grp_flag); }
+382 STD BSD { int thread_wakeup(struct thread_mailbox *tmbx); }
+383 STD BSD { int kse_yield(void); }
OpenPOWER on IntegriCloud