summaryrefslogtreecommitdiff
path: root/kernel/syscalls.c
diff options
context:
space:
mode:
authorMichal Idziorek <m.i@gmx.at>2014-12-02 01:02:49 +0100
committerMichal Idziorek <m.i@gmx.at>2014-12-02 01:02:49 +0100
commitc2c03f41e078481921bad82487eded0fc51ebb59 (patch)
tree1e310556c9a809aea112728bae9e0a6807ee0ba2 /kernel/syscalls.c
parentf20db37ca17245d5d20302a1ac1da347de5c3607 (diff)
further work on fork and friends
Diffstat (limited to 'kernel/syscalls.c')
-rw-r--r--kernel/syscalls.c20
1 files changed, 0 insertions, 20 deletions
diff --git a/kernel/syscalls.c b/kernel/syscalls.c
index 41d77ec..44b04bd 100644
--- a/kernel/syscalls.c
+++ b/kernel/syscalls.c
@@ -120,15 +120,6 @@ int syscall_readdir(const char *name,fs_dirent *dirs,int max)
return fs_readdir(name,dirs,max);
}
-int syscall_wait(int *wait, int none1, int none2)
-{
- #ifdef LOG_SYSCALLS
- log(FOOLOS_MODULE_NAME,FOOLOS_LOG_INFO,"[%d] wait ",task_get_current_pid());
- #endif
-
- panic(FOOLOS_MODULE_NAME,"unhandled syscall");
-}
-
int syscall_execve(char *name, char **argv1, char **env1)
{
char *argv[]={"/bin/foolshell",NULL};
@@ -221,17 +212,6 @@ uint32_t syscall_sbrk(int incr, int none1, int none2)
}
-int syscall_exit(int ret, char **env, int none2)
-{
- #ifdef LOG_SYSCALLS
- log(FOOLOS_MODULE_NAME,FOOLOS_LOG_INFO,"exit (ret=%d) (env=0x%08X)", ret, env);
- #endif
-
- panic(FOOLOS_MODULE_NAME,"exit not supported yet" );
-
-}
-
-
// stat, fstat, lstat
int syscall_stat(const char *path, struct stat *st,int none)
{