summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--kernel/cpu/syscall.c6
-rw-r--r--userland/libc/include/syscall.h17
2 files changed, 5 insertions, 18 deletions
diff --git a/kernel/cpu/syscall.c b/kernel/cpu/syscall.c
index b72beff..897703a 100644
--- a/kernel/cpu/syscall.c
+++ b/kernel/cpu/syscall.c
@@ -193,12 +193,6 @@ int (*syscall_functions[])() = {
(void(*))syscall_virtual_to_physical,
(void(*))syscall_install_irq,
(void(*))syscall_tmp_handle_packet,
- (void(*))NULL,
- (void(*))NULL,
- (void(*))NULL,
- (void(*))NULL,
- (void(*))NULL,
- (void(*))NULL,
(void(*))syscall_munmap,
(void(*))syscall_open_process,
(void(*))syscall_lseek,
diff --git a/userland/libc/include/syscall.h b/userland/libc/include/syscall.h
index dcc4742..32a9e81 100644
--- a/userland/libc/include/syscall.h
+++ b/userland/libc/include/syscall.h
@@ -49,18 +49,11 @@
#define SYS_INSTALL_IRQ 40
#define SYS_TMP_KERNEL_HANDLE_PACKET 41
-#define SYS_TCP_CONNECT 42
-#define SYS_TCP_WRITE 43
-#define SYS_TCP_READ 44
-
-#define SYS_QUEUE_CREATE 45
-#define SYS_QUEUE_ADD 46
-#define SYS_QUEUE_WAIT 47
-#define SYS_MUNMAP 48
-#define SYS_OPEN_PROCESS 49
-#define SYS_LSEEK 50
-#define SYS_CONNECT 51
-#define SYS_SETSOCKOPT 52
+#define SYS_MUNMAP 42
+#define SYS_OPEN_PROCESS 43
+#define SYS_LSEEK 44
+#define SYS_CONNECT 45
+#define SYS_SETSOCKOPT 46
int syscall(uint32_t eax, uint32_t ebx, uint32_t ecx, uint32_t edx,
uint32_t esi, uint32_t edi);