반응형

start_kernel


reset_init

{

kernel_thread(kernel_init, NULL, CLONE_FS)


}




pid_t kernel_thread(int (*fn)(void *), void *arg, unsigned long flags)
{
	return _do_fork(flags|CLONE_VM|CLONE_UNTRACED, (unsigned long)fn,
		(unsigned long)arg, NULL, NULL, 0);
}



반응형

+ Recent posts