MegaEntry - Social networking and discussion site!
-------------------------------------------------------------------------------- 来源:BIPLIP.com 作者:沈沙 (复旦大学电子工程系沈沙,欢迎转载,转载时请保留此行作者信息) l uClinux简介 l 硬件体系结构简介 l 编译环境和编译工具。 l uClinux启动过程 l 系统源码的修改1. uClinux简介 uClinux这个英文单词中u表示Micro,小的意思,C表示Control,控制的意思,所以uClinux就是Micro-Control-Linux,字面上的理解就是"针对微控制领域而设计的Linux系统"。
CopyRight owned by the original author.--(www.MegaEntry.com)
MegaEntry - Social networking and discussion site!
* Interrupts are still disabled. Do necessary setups, then * enable them */lock_kernel(); printk(linux_banner); setup_arch(&command_line); printk("Kernel command line: %s
", saved_command_line); parse_options(command_line); trap_init(); init_IRQ(); sched_init(); softirq_init(); time_init();/* * HACK ALERT! This is early. We're enabling the console before
CopyRight owned by the original author.--(www.MegaEntry.com)
* we've done PCI setups etc, and console_init() must be aware of * this. But we do want output early, in case something goes wrong. */console_init(); #ifdef CONFIG_MODULES init_modules(); #endif if (prof_shift) { unsigned int size; /* only text is profiled */ prof_len = (unsigned long) &_etext - (unsigned long) &_stext; prof_len >>= prof_shift; size = prof_len * sizeof(unsigned int) + PAGE_SIZE-1; prof_buffer = (unsigned int *) alloc_bootmem(size); }
CopyRight owned by the original author.--(www.MegaEntry.com)
MegaEntry - Social networking and discussion site!
#endif check_bugs(); printk("POSIX conformance testing by UNIFIX
");/* * We count on the initial thread going ok * Like idlers init is an unlocked kernel thread, which will * make syscalls (and thus be locked). */smp_init(); rest_init(); }/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////5. 系统源码的修改
MegaEntry - Social networking and discussion site!