From daa6c2450fa0646619698f0dc01b0456b2541317 Mon Sep 17 00:00:00 2001 From: Alex AUVOLAT Date: Fri, 18 May 2012 15:15:57 +0200 Subject: Added process arguments when loaded as modules. --- doc/syscalls.txt | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'doc') diff --git a/doc/syscalls.txt b/doc/syscalls.txt index 39982c0..833041a 100644 --- a/doc/syscalls.txt +++ b/doc/syscalls.txt @@ -21,6 +21,10 @@ id=eax Name Parameters Description 12 mmap (see linux specs) not implemented 13 munmap (see linux specs) not implemented + 14 run ebx: char* filename spans a new process and run the executable filename + ecx: char** args + 15 waitpid ebx: int pid wait for a process to exit, returns retval. + 20 open ebx: char* filename open a file, returns a descriptor ecx: mode 21 open_relative ebx: root open a file, returns a descriptor -- cgit v1.2.3