diff options
| author | Kimplul <kimi.h.kuparinen@gmail.com> | 2022-10-22 14:38:52 +0300 |
|---|---|---|
| committer | Kimplul <kimi.h.kuparinen@gmail.com> | 2022-10-22 14:38:52 +0300 |
| commit | 22eeabc6c63e220d628417ea525c8838f3fae913 (patch) | |
| tree | 6dde5f5bf5e671c11ed64cbcacf9245bfe900d2f /include/apos | |
| parent | dd7c04a39bd88da8e381bb88078c41b049a6665c (diff) | |
| download | kmi-22eeabc6c63e220d628417ea525c8838f3fae913.tar.gz kmi-22eeabc6c63e220d628417ea525c8838f3fae913.zip | |
initial high level fork imp
Diffstat (limited to 'include/apos')
| -rw-r--r-- | include/apos/syscalls.h | 3 | ||||
| -rw-r--r-- | include/apos/uapi.h | 15 |
2 files changed, 1 insertions, 17 deletions
diff --git a/include/apos/syscalls.h b/include/apos/syscalls.h index a5b7e18..dd383c8 100644 --- a/include/apos/syscalls.h +++ b/include/apos/syscalls.h @@ -104,9 +104,6 @@ enum { /** Switch running process. */ SYS_SWAP, - /** Assign thread to cpu. */ - SYS_ASSIGN, - /** @} */ /** @name Kernel management. */ diff --git a/include/apos/uapi.h b/include/apos/uapi.h index 7da24c6..7d612b6 100644 --- a/include/apos/uapi.h +++ b/include/apos/uapi.h @@ -511,7 +511,7 @@ SYSCALL_DECLARE2(ipc_notify, tid, swap); * @return \ref OK and 0. * \todo Should this take stack size etc? */ -SYSCALL_DECLARE2(create, func, arg); +SYSCALL_DECLARE5(create, func, d0, d1, d2, d3); /** * Fork process syscall. @@ -583,19 +583,6 @@ SYSCALL_DECLARE1(kill, tid); */ SYSCALL_DECLARE1(swap, tid); -/** - * Assign syscall. - * - * Assign \p tid to \p cpu, immediately swaps from whetever was running on \p cpu. - * - * @param tid Thread to assign to \p cpu. - * @param cpu Cpu to run \p tid on. - * @param c Unused. - * @param d Unused. - * @param e Unused. - * @return \ref OK and 0. - */ -SYSCALL_DECLARE2(assign, tid, cpu); /** @} */ /** @name Configuration syscalls. */ |
