information about init() function call

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



hello all,
I'm working on the porting of uClinux on a new platform and I have some questions concerning the rest_init() function at the end of start_kernel(). In fact rest_init() calls kernel_thread() with the operand 'init' which is the function responsible for the call of the 'init' and 'sh' executable. But I have a doubt concerning how and when this function init() is finally called. In fact I don't find when kernel_thread_helper() is called (which is responsible for the call of init() ). I suppose it is called during the cpu-idle() function after schedule() and switch-to() function but I'm not really sure.
Could I have more details about that please?
Thanks in advance.

--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx
Please read the FAQ at http://kernelnewbies.org/FAQ


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux