diff options
author | Marvin Borner | 2020-06-17 18:31:46 +0200 |
---|---|---|
committer | Marvin Borner | 2020-06-17 18:31:46 +0200 |
commit | eed77bd2970a00d1394ed027ceca5b646e4671ce (patch) | |
tree | c44643d98aed2b6818f2b33417c0dea9c5853094 /src/kernel/syscall/syscall.h | |
parent | 49dfa1f4021026bf7c4d77817959c8aa24067016 (diff) |
Started rewrite
Diffstat (limited to 'src/kernel/syscall/syscall.h')
-rw-r--r-- | src/kernel/syscall/syscall.h | 33 |
1 files changed, 0 insertions, 33 deletions
diff --git a/src/kernel/syscall/syscall.h b/src/kernel/syscall/syscall.h deleted file mode 100644 index d2c50c0..0000000 --- a/src/kernel/syscall/syscall.h +++ /dev/null @@ -1,33 +0,0 @@ -#ifndef MELVIX_SYSCALL_H -#define MELVIX_SYSCALL_H - -#include <interrupts/interrupts.h> -#include <stdint.h> - -extern void idt_syscall(); - -void syscalls_install(); - -u32 sys_exit(u32 code); - -u32 sys_read(char *path, u32 offset, u32 count, u8 *buf); - -u32 sys_write(char *path, u32 offset, u32 count, u8 *buf); - -u32 sys_exec(char *path); - -u32 sys_spawn(char *path); - -u32 sys_wait(u32 pid, u32 *status, u32 options); - -u32 sys_get_pid(); - -u32 sys_malloc(u32 count); - -u32 sys_free(u32 ptr); - -u32 sys_get(u32 id); - -u32 sys_map(u32 id, u8 *function); - -#endif
\ No newline at end of file |