hi,
where can I find the detail information about the syscall in binary instructions of linux/mips.
for example, in linux/mips:
li v0, 4140
syscall
it's a syacall of "lseek" , but how can I find that which registers will be used in this syscall , and the meaning of the arguments in the registers.
Thank you very much!
thank you very much, but where can I find the detail description for the arguments of the linux kernel syscall(not library functions). Until now , I just use "man2" to get the arguments information, e.g.
int open( const char * pathname , int flags , mode_t , mode );
while in the real syscall sys_open :
asmlinkage long sys_open(const char __user *filename,int flags, int mode);
these three arguments may be consistent with those in function open(..), but for other library functions, the arguments may be not consistent with syscall.
Is there any doc for sys_open() (and all other sys_*()), just like the explanation like 'man2'.