> extern void kernel_thread_helper(void);
> __asm__(".section .text\n"
>       ".align 4\n"
>       "kernel_thread_helper:\n\t"
>       "movl %edx,%eax\n\t"
>       "pushl %edx\n\t"
>       "call *%ebx\n\t"
>       "pushl %eax\n\t"
>       "call do_exit\n"
>       ".previous");

kernel_thread helper is just a dummy wrapper to feed into kernel_thread
and can probably look at as a static local function only for use of x86
implementation of kernel_thread.


Stian


-------------------------------------------------------
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?id=105hix
_______________________________________________
User-mode-linux-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel

Reply via email to