Hi all: Now I added a system call in UML which should use pt_regs as its parameter. So the system call is "sys_XXX(struct pt_regs)" just like sys_fork(struct pt_regs) under i386 architecture. But I didn't find any syscall under UML which use pt_regs as its parameter.
I found the EXECUTE_SYSCALL(syscall,regs) in UML is defined only with 6 parameters which are ebx,ecx.... So I think I can't use pt_regs as my syscall parameter,right? So I directly use current->thread.regs in my system call. It seems worked. I want to know whether it's safe to do that. Thanks! Alex ------------------------------------------------------- SF.Net email is sponsored by: Tell us your software development plans! Take this survey and enter to win a one-year sub to SourceForge.net Plus IDC's 2005 look-ahead and a copy of this survey Click here to start! http://www.idcswdc.com/cgi-bin/survey?id5hix _______________________________________________ User-mode-linux-devel mailing list User-mode-linux-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel