From 43184e40b14a5e41383ffb053e7c69c93ff81036 Mon Sep 17 00:00:00 2001 From: Marvin Borner Date: Thu, 7 May 2020 22:16:09 +0200 Subject: Some debugging and fixing Still didn't fix the bugs --- src/kernel/syscall/actions/sys_get_pid.c | 2 +- src/kernel/syscall/actions/sys_wait.c | 2 +- src/kernel/syscall/syscall.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'src/kernel/syscall') diff --git a/src/kernel/syscall/actions/sys_get_pid.c b/src/kernel/syscall/actions/sys_get_pid.c index 1184ce7..eb00abe 100644 --- a/src/kernel/syscall/actions/sys_get_pid.c +++ b/src/kernel/syscall/actions/sys_get_pid.c @@ -4,4 +4,4 @@ u32 sys_get_pid() { return current_proc->pid; -} \ No newline at end of file +} diff --git a/src/kernel/syscall/actions/sys_wait.c b/src/kernel/syscall/actions/sys_wait.c index 6015b8b..4d12886 100644 --- a/src/kernel/syscall/actions/sys_wait.c +++ b/src/kernel/syscall/actions/sys_wait.c @@ -24,4 +24,4 @@ u32 sys_wait(u32 pid, u32 *status, u32 options) } return ret; -} \ No newline at end of file +} diff --git a/src/kernel/syscall/syscall.c b/src/kernel/syscall/syscall.c index a5048ef..956bc37 100644 --- a/src/kernel/syscall/syscall.c +++ b/src/kernel/syscall/syscall.c @@ -46,4 +46,4 @@ void syscall_handler(struct regs *r) void syscalls_install() { isr_install_handler(0x80, syscall_handler); -} \ No newline at end of file +} -- cgit v1.2.3