随笔分类 -  Linux0.11内核之旅

摘要:继续分析,我们先贴上将要分析的main函数void main(void) /* This really IS void, no error here. */{ /* The startup routine assumes (well, ...) this *//* * Interrupts are still disabled. Do necessary setups, then * enable them */ ROOT_DEV = ORIG_ROOT_DEV; drive_info = DRIVE_INFO; memory_end ... 阅读全文
posted @ 2011-12-25 21:54 LiLiNiuNiu 阅读(307) 评论(0) 推荐(0)
摘要:init/main.c首先我们贴上main.c中main函数的代码void main(void) /* This really IS void, no error here. */{ /* The startup routine assumes (well, ...) this *//* * Interrupts are still disabled. Do necessary setups, then * enable them */ ROOT_DEV = ORIG_ROOT_DEV; drive_info = DRIVE_INFO; ... 阅读全文
posted @ 2011-12-24 22:01 LiLiNiuNiu 阅读(1188) 评论(0) 推荐(0)