- 论坛徽章:
- 0
|
ARM Linux decompress
正常的解压信息:
Uncompressing Linux................................................................................ done, booting the kernel.
arch/arm/boot/compressed/misc.c文件decompress_kernel()函数的下面几句:312 putstr("Uncompressing Linux...");313 gunzip(); #........是由它输出的314 putstr(" done, booting the kernel.\n");
跟踪gunzip函数,实际上在lib/inflate.c文件中实现,....是其中的flush_output输出的,但是flush_output实际上是宏定义:167 #define flush_output(w) (wp=(w),flush_window())
flush_window才是正真输出.......的函数,flush_window在264 void flush_window(void)实现,输出点号用:280 putstr(".");
如果不希望看到一堆点点,可以注释掉putstr函数即可。
本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u1/51797/showart_2070571.html |
|