diff options
author | Alex AUVOLAT <alexis211@gmail.com> | 2012-05-19 09:23:48 +0200 |
---|---|---|
committer | Alex AUVOLAT <alexis211@gmail.com> | 2012-05-19 09:23:48 +0200 |
commit | 7b466345af0d3a7dc5622617ce443a90c64e34a4 (patch) | |
tree | f276b6bf391ccfe8ec3a2cb62a7f70964249621f /src/kernel/task/syscall.cpp | |
parent | ac10c1a29c44b0cb29960cd0f792c7361bc430ce (diff) | |
download | TCE-7b466345af0d3a7dc5622617ce443a90c64e34a4.tar.gz TCE-7b466345af0d3a7dc5622617ce443a90c64e34a4.zip |
Added ANSI support, minimal readline-like library.
Diffstat (limited to 'src/kernel/task/syscall.cpp')
-rw-r--r-- | src/kernel/task/syscall.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/kernel/task/syscall.cpp b/src/kernel/task/syscall.cpp index 4eddb61..9e7c089 100644 --- a/src/kernel/task/syscall.cpp +++ b/src/kernel/task/syscall.cpp @@ -28,7 +28,7 @@ CALL1V(idt_waitIrq, irq_wait_sc); CALL0(proc_priv, proc_priv_sc); CALL1(process_sbrk, proc_sbrk_sc); CALL1V(process_brk, proc_brk_sc); -CALL1(process_waitpid, waitpid_sc); +CALL2(process_waitpid, waitpid_sc); CALL1V(close, close_sc); @@ -43,7 +43,7 @@ static void thread_new_sc(registers* r) { } static void run_sc(registers *r) { - r->eax = process_run((char*)r->ebx, (char**)r->ecx); + r->eax = process_run((char*)r->ebx, (char**)r->ecx, (int)r->edx); } static void open_sc(registers *r) { |