system calls-(query)

From: Susheel Raj
Date: Tue Jul 06 2004 - 03:01:47 EST


i have been trying to understand how the system calls
are being made by applications and how the kernel
reacts to them...this is what i got into my brain....
when an application makes a system call ( for i386)
%eax register is filled with the system call number
and some other registers are to be given some
appropriate values..for example ..if i amke an exit ()
system call.. then its system call number "1" is
filled in %eax and the status code is filled in
%ebx...

so i want to know what are the requirements for other
systems calls to execute ...what all registers they
access..any documentation would be a great help....

________________________________________________________________________
Yahoo! India Careers: Over 50,000 jobs online
Go to: http://yahoo.naukri.com/
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/