> 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 helpe
On Thursday 29 April 2005, Blaisorblade wrote:
> What's kernel_thread_helper?
kernel_thread_helper and kernel_thread are defined in i386 as following:
---
/*
* This gets run with %ebx containing the
* function to call, and %edx containing
* the "args
On Thursday 28 April 2005 12:00, Alex LIU wrote:
> Hi,all:
>
> I found UML only implement its own kernel_thread function but doesn't
> implement kernel_thread_helper function.
??? What's kernel_thread_helper? kernel_thread calls the arch-independent
do_fork(), which works like the rest. In particu
Hi,all:
I found UML only implement its own kernel_thread function but doesn't implement
kernel_thread_helper function.
Then how does UML start a kernel thread in TT mode? Is there any other
functions being called? Thanks a lot!
Alex
---