I'm in a research group developing an application-only simulator, which directly executes an ELF file output by gcc. In our simulator, I'm implementing the Linux 2.6.22 system calls. I intercept an 'int 0x80' instruction, and modify the register file and memory map to return the application the results it expects.

My question is: is there any *detailed* specification of the system calls for this kernel? The information in the manual is only partial, and it mostly talks about the glibc interface, which is usually different. I am figuring everything out now by looking at the kernel code, which is quite tedious.

I expect some information like:
System call number 23. Input: EAX=meaning, EBX=meaning ..., output: EAX=error code

Thank you.