diff options
Diffstat (limited to 'src/kernel/syscall')
-rw-r--r-- | src/kernel/syscall/actions/sys_wait.c | 1 | ||||
-rw-r--r-- | src/kernel/syscall/syscall.c | 3 |
2 files changed, 0 insertions, 4 deletions
diff --git a/src/kernel/syscall/actions/sys_wait.c b/src/kernel/syscall/actions/sys_wait.c index c716221..a252d1f 100644 --- a/src/kernel/syscall/actions/sys_wait.c +++ b/src/kernel/syscall/actions/sys_wait.c @@ -4,7 +4,6 @@ u32 sys_wait(u32 pid, u32 *status, u32 options) { - sti(); u32 ret; if (pid < 0) { // Wait for any process in gid to die diff --git a/src/kernel/syscall/syscall.c b/src/kernel/syscall/syscall.c index d46d3fa..c98707f 100644 --- a/src/kernel/syscall/syscall.c +++ b/src/kernel/syscall/syscall.c @@ -24,8 +24,6 @@ u32 (*syscalls[])() = { [SYS_HALT] = (u32(*)())halt_loop, // DEBUG! void syscall_handler(struct regs *r) { - cli(); - if (r->eax >= sizeof(syscalls) / sizeof(*syscalls)) return; @@ -37,7 +35,6 @@ void syscall_handler(struct regs *r) r->edx, r->esi, r->edi); r->eax = location(r->ebx, r->ecx, r->edx, r->esi, r->edi); - sti(); } void syscalls_install() |