全部博文(28)
发布时间:2014-04-21 20:34:23
tatic noinline void __init_refok rest_init(void){int pid;rcu_scheduler_starting();/* * We need to spawn init first so that it obtains pid 1, however * the init task will end up wanting to create kthreads, which, if * we schedule it before we create kthreadd, will OOPS. *//***********创建ker.........【阅读全文】
发布时间:2014-04-21 16:24:54
void __init setup_arch(char **cmdline_p){定义变量点击(此处)折叠或打开struct tag *tags = (struct tag *)&init_tags;struct machine_desc *mdesc;char *from = default_command_line;unwind_init();再次检测cpusetup_processor();再次检测Mach.........【阅读全文】
发布时间:2014-04-20 17:28:13
uboot调用内核时传递的参数是 r1=Machine_ID ENTRY(stext)setmodePSR_F_BIT | PSR_I_BIT | SVC_MODE, r9 @ ensure svc mode@ and irqs disabledmrcp15, 0, r9, c0, c0@ get processor idbl__lookup_processor_type@ 返回值r5=procinfo r9=cpuid 点击(此处)折叠或打开.........【阅读全文】