summaryrefslogtreecommitdiff
path: root/kernel/syscalls.h
diff options
context:
space:
mode:
authorMichal Idziorek <m.i@gmx.at>2014-11-23 19:28:40 +0100
committerMichal Idziorek <m.i@gmx.at>2014-11-23 19:28:40 +0100
commit9a13aedd4ef04711fc5139c86025272e9648cc4c (patch)
tree49cf0f4e6923df17f023abd5dbb50bd8fa53e8e5 /kernel/syscalls.h
parent6b8c02a9cf4ac36e42d07c668a2be27d2bf1a733 (diff)
double indirect block support to ELF and check sum calc
Diffstat (limited to 'kernel/syscalls.h')
-rw-r--r--kernel/syscalls.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/kernel/syscalls.h b/kernel/syscalls.h
index f42a34b..432bd2c 100644
--- a/kernel/syscalls.h
+++ b/kernel/syscalls.h
@@ -18,20 +18,20 @@
#define SYSCALL_ISATTY 68
#define SYSCALL_LSEEK 69
#define SYSCALL_SBRK 70
+#define SYSCALL_STAT 74
+#define SYSCALL_LSTAT 79
// stubs only so far!
#define SYSCALL_GETTIMEOFDAY 71
#define SYSCALL_FORK 72
#define SYSCALL_KILL 73
#define SYSCALL_LINK 73
-#define SYSCALL_STAT 74
#define SYSCALL_TIMES 75
#define SYSCALL_UNLINK 76
#define SYSCALL_WAIT 77
#define SYSCALL_GETPID 78
-#define SYSCALL_LSTAT 79
-
+/*
int syscall_readdir(const char *name,struct fs_dirent *dirs,int max);
int syscall_exit(int ret, int none1, int none2);
@@ -43,6 +43,7 @@ int syscall_close(int file,int none1,int none2);
int syscall_fstat(int file, struct stat *st,int none);
int syscall_isatty(int file,int none1,int none2);
int syscall_lseek(int file,int ptr,int dir);
+int syscall_stat(char *file, struct stat *st);
int syscall_sbrk(int incr, int none1, int none2);
//
int syscall_gettimeofday(struct timeval *tv, struct timezone *tz);
@@ -50,7 +51,6 @@ int syscall_fork(void);
int syscall_getpid(void);
int syscall_kill(int pid, int sig);
int syscall_link(char *old, char *ne);
-int syscall_stat(char *file, struct stat *st);
int syscall_times(struct tms *buf);
int syscall_unlink(char *name);
int syscall_wait(int *status);
@@ -58,7 +58,7 @@ int syscall_wait(int *status);
int syscall_unhandled(int nr);
-
+*/