免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 4200 | 回复: 0
打印 上一主题 下一主题

[转贴]分析内核对gzip压缩文件进行解压的方法 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2003-02-09 09:51 |只看该作者 |倒序浏览
原文出自:http://www.linuxforum.net
作者:opera
=============================

概述
----
1) Linux的初始内核映象以gzip压缩文件的格式存放在zImage或bzImage之中, 内核的自举
代码将它解压到1M内存开始处. 在内核初始化时, 如果加载了压缩的initrd映象, 内核会将
它解压到内存盘中, 这两处解压过程都使用了lib/inflate.c文件.

2) inflate.c是从gzip源程序中分离出来的, 包含了一些对全局数据的直接引用, 在使用时
需要直接嵌入到代码中. gzip压缩文件时总是在前32K字节的范围内寻找重复的字符串进行
编码, 在解压时需要一个至少为32K字节的解压缓冲区, 它定义为window[WSIZE].
inflate.c使用get_byte()读取输入文件, 它被定义成宏来提高效率. 输入缓冲区指针必须
定义为inptr, inflate.c中对之有减量操作. inflate.c调用flush_window()来输出window
缓冲区中的解压出的字节串, 每次输出长度用outcnt变量表示. 在flush_window()中, 还必
须对输出字节串计算CRC并且刷新crc变量.  在调用gunzip()开始解压之前, 调用makecrc()
初始化CRC计算表. 最后gunzip()返回0表示解压成功.

3) zImage或bzImage由16位引导代码和32位内核自解压映象两个部分组成. 对于zImage, 内
核自解压映象被加载到物理地址0x1000, 内核被解压到1M的部位. 对于bzImage, 内核自解
压映象被加载到1M开始的地方, 内核被解压为两个片段, 一个起始于物理地址0x2000-0x90000,
另一个起始于高端解压映象之后, 离1M开始处不小于低端片段最大长度的区域. 解压完成后,
这两个片段被合并到1M的起始位置.

解压根内存盘映象文件的代码
--------------------------

  1. ; drivers/block/rd.c
  2. #ifdef BUILD_CRAMDISK

  3. /*
  4. * gzip declarations
  5. */

  6. #define OF(args)  args        ; 用于函数原型声明的宏

  7. #ifndef memzero
  8. #define memzero(s, n)     memset ((s), 0, (n))
  9. #endif

  10. typedef unsigned char  uch;        定义inflate.c所使用的3种数据类型
  11. typedef unsigned short ush;
  12. typedef unsigned long  ulg;

  13. #define INBUFSIZ 4096                用户输入缓冲区尺寸
  14. #define WSIZE 0x8000    /* window size--must be a power of two, and */
  15.                         /*  at least 32K for zip's deflate method */

  16. static uch *inbuf;        用户输入缓冲区,与inflate.c无关
  17. static uch *window;        解压窗口

  18. static unsigned insize;  /* valid bytes in inbuf */
  19. static unsigned inptr;   /* index of next byte to be processed in inbuf */
  20. static unsigned outcnt;  /* bytes in output buffer */
  21. static int exit_code;
  22. static long bytes_out;        总解压输出长度,与inflate.c无关
  23. static struct file *crd_infp, *crd_outfp;

  24. #define get_byte()  (inptr < insize ? inbuf[inptr++] : fill_inbuf()) 读取输入缓冲区中一个字节
  25.                
  26. /* Diagnostic functions (stubbed out) */ 一些调试宏
  27. #define Assert(cond,msg)
  28. #define Trace(x)
  29. #define Tracev(x)
  30. #define Tracevv(x)
  31. #define Tracec(c,x)
  32. #define Tracecv(c,x)

  33. #define STATIC static

  34. static int  fill_inbuf(void);
  35. static void flush_window(void);
  36. static void *malloc(int size);
  37. static void free(void *where);
  38. static void error(char *m);
  39. static void gzip_mark(void **);
  40. static void gzip_release(void **);

  41. #include "../../lib/inflate.c"

  42. static void __init *malloc(int size)
  43. {
  44.         return kmalloc(size, GFP_KERNEL);
  45. }

  46. static void __init free(void *where)
  47. {
  48.         kfree(where);
  49. }

  50. static void __init gzip_mark(void **ptr)
  51. {
  52.         ; 读取用户一个标记
  53. }

  54. static void __init gzip_release(void **ptr)
  55. {
  56.         ; 归还用户标记
  57. }


  58. /* ===========================================================================
  59. * Fill the input buffer. This is called only when the buffer is empty
  60. * and at least one byte is really needed.
  61. */
  62. static int __init fill_inbuf(void) 填充输入缓冲区
  63. {
  64.         if (exit_code) return -1;
  65.        
  66.         insize = crd_infp->;f_op->;read(crd_infp, inbuf, INBUFSIZ,
  67.                                       &crd_infp->;f_pos);
  68.         if (insize == 0) return -1;

  69.         inptr = 1;

  70.         return inbuf[0];
  71. }

  72. /* ===========================================================================
  73. * Write the output window window[0..outcnt-1] and update crc and bytes_out.
  74. * (Used for the decompressed data only.)
  75. */
  76. static void __init flush_window(void) 输出window缓冲区中outcnt个字节串
  77. {
  78.     ulg c = crc;         /* temporary variable */
  79.     unsigned n;
  80.     uch *in, ch;
  81.    
  82.     crd_outfp->;f_op->;write(crd_outfp, window, outcnt, &crd_outfp->;f_pos);
  83.     in = window;
  84.     for (n = 0; n < outcnt; n++) {
  85.             ch = *in++;
  86.             c = crc_32_tab[((int)c ^ ch) & 0xff] ^ (c >;>; 8); 计算输出串的CRC
  87.     }
  88.     crc = c;
  89.     bytes_out += (ulg)outcnt; 刷新总字节数
  90.     outcnt = 0;
  91. }

  92. static void __init error(char *x) 解压出错调用的函数
  93. {
  94.         printk(KERN_ERR "%s", x);
  95.         exit_code = 1;
  96. }

  97. static int __init
  98. crd_load(struct file * fp, struct file *outfp)
  99. {
  100.         int result;

  101.         insize = 0;                /* valid bytes in inbuf */
  102.         inptr = 0;                /* index of next byte to be processed in inbuf */
  103.         outcnt = 0;                /* bytes in output buffer */
  104.         exit_code = 0;
  105.         bytes_out = 0;
  106.         crc = (ulg)0xffffffffL; /* shift register contents */

  107.         crd_infp = fp;
  108.         crd_outfp = outfp;
  109.         inbuf = kmalloc(INBUFSIZ, GFP_KERNEL);
  110.         if (inbuf == 0) {
  111.                 printk(KERN_ERR "RAMDISK: Couldn't allocate gzip buffer\n");
  112.                 return -1;
  113.         }
  114.         window = kmalloc(WSIZE, GFP_KERNEL);
  115.         if (window == 0) {
  116.                 printk(KERN_ERR "RAMDISK: Couldn't allocate gzip window\n");
  117.                 kfree(inbuf);
  118.                 return -1;
  119.         }
  120.         makecrc();
  121.         result = gunzip();
  122.         kfree(inbuf);
  123.         kfree(window);
  124.         return result;
  125. }

  126. #endif  /* BUILD_CRAMDISK */


  127. 32位内核自解压代码
  128. ------------------

  129. ; arch/i386/boot/compressed/head.S
  130. .text

  131. #include
  132. #include

  133.         .globl startup_32        对于zImage该入口地址为0x1000; 对于bzImage为0x101000
  134.        
  135. startup_32:
  136.         cld
  137.         cli
  138.         movl $(__KERNEL_DS),%eax
  139.         movl %eax,%ds
  140.         movl %eax,%es
  141.         movl %eax,%fs
  142.         movl %eax,%gs

  143.         lss SYMBOL_NAME(stack_start),%esp        # 自解压代码的堆栈为misc.c中定义的16K字节的数组
  144.         xorl %eax,%eax
  145. 1:        incl %eax                # check that A20 really IS enabled
  146.         movl %eax,0x000000        # loop forever if it isn't
  147.         cmpl %eax,0x100000
  148.         je 1b

  149. /*
  150. * Initialize eflags.  Some BIOS's leave bits like NT set.  This would
  151. * confuse the debugger if this code is traced.
  152. * XXX - best to initialize before switching to protected mode.
  153. */
  154.         pushl $0
  155.         popfl
  156. /*
  157. * Clear BSS        清除解压程序的BSS段
  158. */
  159.         xorl %eax,%eax
  160.         movl $ SYMBOL_NAME(_edata),%edi
  161.         movl $ SYMBOL_NAME(_end),%ecx
  162.         subl %edi,%ecx
  163.         cld
  164.         rep
  165.         stosb
  166. /*
  167. * Do the decompression, and jump to the new kernel..
  168. */
  169.         subl $16,%esp        # place for structure on the stack
  170.         movl %esp,%eax
  171.         pushl %esi        # real mode pointer as second arg
  172.         pushl %eax        # address of structure as first arg
  173.         call SYMBOL_NAME(decompress_kernel)
  174.         orl  %eax,%eax        # 如果返回非零,则表示为内核解压为低端和高端的两个片断
  175.         jnz  3f
  176.         popl %esi        # discard address
  177.         popl %esi        # real mode pointer
  178.         xorl %ebx,%ebx
  179.         ljmp $(__KERNEL_CS), $0x100000        # 运行start_kernel

  180. /*
  181. * We come here, if we were loaded high.
  182. * We need to move the move-in-place routine down to 0x1000
  183. * and then start it with the buffer addresses in registers,
  184. * which we got from the stack.
  185. */
  186. 3:
  187.         movl $move_routine_start,%esi
  188.         movl $0x1000,%edi
  189.         movl $move_routine_end,%ecx
  190.         subl %esi,%ecx
  191.         addl $3,%ecx
  192.         shrl $2,%ecx        # 按字取整
  193.         cld
  194.         rep
  195.         movsl        # 将内核片断合并代码复制到0x1000区域, 内核的片段起始为0x2000

  196.         popl %esi        # discard the address
  197.         popl %ebx        # real mode pointer
  198.         popl %esi        # low_buffer_start  内核低端片段的起始地址
  199.         popl %ecx        # lcount                  内核低端片段的字节数量
  200.         popl %edx        # high_buffer_start 内核高端片段的起始地址
  201.         popl %eax        # hcount                  内核高端片段的字节数量
  202.         movl $0x100000,%edi                  内核合并的起始地址
  203.         cli                # make sure we don't get interrupted
  204.         ljmp $(__KERNEL_CS), $0x1000 # and jump to the move routine

  205. /*
  206. * Routine (template) for moving the decompressed kernel in place,
  207. * if we were high loaded. This _must_ PIC-code !
  208. */
  209. move_routine_start:
  210.         movl %ecx,%ebp
  211.         shrl $2,%ecx
  212.         rep
  213.         movsl                        # 按字拷贝第1个片段
  214.         movl %ebp,%ecx
  215.         andl $3,%ecx
  216.         rep
  217.         movsb                        # 传送不完全字
  218.         movl %edx,%esi
  219.         movl %eax,%ecx        # NOTE: rep movsb won't move if %ecx == 0
  220.         addl $3,%ecx
  221.         shrl $2,%ecx        # 按字对齐
  222.         rep
  223.         movsl                        # 按字拷贝第2个片段
  224.         movl %ebx,%esi        # Restore setup pointer
  225.         xorl %ebx,%ebx
  226.         ljmp $(__KERNEL_CS), $0x100000        # 运行start_kernel
  227. move_routine_end:

  228. ; arch/i386/boot/compressed/misc.c

  229. /*
  230. * gzip declarations
  231. */

  232. #define OF(args)  args
  233. #define STATIC static

  234. #undef memset
  235. #undef memcpy
  236. #define memzero(s, n)     memset ((s), 0, (n))

  237. typedef unsigned char  uch;
  238. typedef unsigned short ush;
  239. typedef unsigned long  ulg;

  240. #define WSIZE 0x8000                /* Window size must be at least 32k, */
  241.                                 /* and a power of two */

  242. static uch *inbuf;             /* input buffer */
  243. static uch window[WSIZE];    /* Sliding window buffer */

  244. static unsigned insize = 0;  /* valid bytes in inbuf */
  245. static unsigned inptr = 0;   /* index of next byte to be processed in inbuf */
  246. static unsigned outcnt = 0;  /* bytes in output buffer */

  247. /* gzip flag byte */
  248. #define ASCII_FLAG   0x01 /* bit 0 set: file probably ASCII text */
  249. #define CONTINUATION 0x02 /* bit 1 set: continuation of multi-part gzip file */
  250. #define EXTRA_FIELD  0x04 /* bit 2 set: extra field present */
  251. #define ORIG_NAME    0x08 /* bit 3 set: original file name present */
  252. #define COMMENT      0x10 /* bit 4 set: file comment present */
  253. #define ENCRYPTED    0x20 /* bit 5 set: file is encrypted */
  254. #define RESERVED     0xC0 /* bit 6,7:   reserved */

  255. #define get_byte()  (inptr < insize ? inbuf[inptr++] : fill_inbuf())
  256.                
  257. /* Diagnostic functions */
  258. #ifdef DEBUG
  259. #  define Assert(cond,msg) {if(!(cond)) error(msg);}
  260. #  define Trace(x) fprintf x
  261. #  define Tracev(x) {if (verbose) fprintf x ;}
  262. #  define Tracevv(x) {if (verbose>;1) fprintf x ;}
  263. #  define Tracec(c,x) {if (verbose && (c)) fprintf x ;}
  264. #  define Tracecv(c,x) {if (verbose>;1 && (c)) fprintf x ;}
  265. #else
  266. #  define Assert(cond,msg)
  267. #  define Trace(x)
  268. #  define Tracev(x)
  269. #  define Tracevv(x)
  270. #  define Tracec(c,x)
  271. #  define Tracecv(c,x)
  272. #endif

  273. static int  fill_inbuf(void);
  274. static void flush_window(void);
  275. static void error(char *m);
  276. static void gzip_mark(void **);
  277. static void gzip_release(void **);
  278.   
  279. /*
  280. * This is set up by the setup-routine at boot-time
  281. */
  282. static unsigned char *real_mode; /* Pointer to real-mode data */

  283. #define EXT_MEM_K   (*(unsigned short *)(real_mode + 0x2))
  284. #ifndef STANDARD_MEMORY_BIOS_CALL
  285. #define ALT_MEM_K   (*(unsigned long *)(real_mode + 0x1e0))
  286. #endif
  287. #define SCREEN_INFO (*(struct screen_info *)(real_mode+0))

  288. extern char input_data[];
  289. extern int input_len;

  290. static long bytes_out = 0;
  291. static uch *output_data;
  292. static unsigned long output_ptr = 0;


  293. static void *malloc(int size);
  294. static void free(void *where);
  295. static void error(char *m);
  296. static void gzip_mark(void **);
  297. static void gzip_release(void **);

  298. static void puts(const char *);
  299.   
  300. extern int end;
  301. static long free_mem_ptr = (long)&end;
  302. static long free_mem_end_ptr;

  303. #define INPLACE_MOVE_ROUTINE  0x1000        内核片段合并代码的运行地址
  304. #define LOW_BUFFER_START      0x2000        内核低端解压片段的起始地址
  305. #define LOW_BUFFER_MAX       0x90000        内核低端解压片段的终止地址
  306. #define HEAP_SIZE             0x3000        为解压低码保留的堆的尺寸,堆起始于BSS的结束
  307. static unsigned int low_buffer_end, low_buffer_size;
  308. static int high_loaded =0;
  309. static uch *high_buffer_start /* = (uch *)(((ulg)&end) + HEAP_SIZE)*/;

  310. static char *vidmem = (char *)0xb8000;
  311. static int vidport;
  312. static int lines, cols;

  313. #include "../../../../lib/inflate.c"

  314. static void *malloc(int size)
  315. {
  316.         void *p;

  317.         if (size <0) error("Malloc error\n");
  318.         if (free_mem_ptr <= 0) error("Memory error\n");

  319.         free_mem_ptr = (free_mem_ptr + 3) & ~3;        /* Align */

  320.         p = (void *)free_mem_ptr;
  321.         free_mem_ptr += size;

  322.         if (free_mem_ptr >;= free_mem_end_ptr)
  323.                 error("\nOut of memory\n");

  324.         return p;
  325. }

  326. static void free(void *where)
  327. {        /* Don't care */
  328. }

  329. static void gzip_mark(void **ptr)
  330. {
  331.         *ptr = (void *) free_mem_ptr;
  332. }

  333. static void gzip_release(void **ptr)
  334. {
  335.         free_mem_ptr = (long) *ptr;
  336. }

  337. static void scroll(void)
  338. {
  339.         int i;

  340.         memcpy ( vidmem, vidmem + cols * 2, ( lines - 1 ) * cols * 2 );
  341.         for ( i = ( lines - 1 ) * cols * 2; i < lines * cols * 2; i += 2 )
  342.                 vidmem[ i ] = ' ';
  343. }

  344. static void puts(const char *s)
  345. {
  346.         int x,y,pos;
  347.         char c;

  348.         x = SCREEN_INFO.orig_x;
  349.         y = SCREEN_INFO.orig_y;

  350.         while ( ( c = *s++ ) != '\0' ) {
  351.                 if ( c == '\n' ) {
  352.                         x = 0;
  353.                         if ( ++y >;= lines ) {
  354.                                 scroll();
  355.                                 y--;
  356.                         }
  357.                 } else {
  358.                         vidmem [ ( x + cols * y ) * 2 ] = c;
  359.                         if ( ++x >;= cols ) {
  360.                                 x = 0;
  361.                                 if ( ++y >;= lines ) {
  362.                                         scroll();
  363.                                         y--;
  364.                                 }
  365.                         }
  366.                 }
  367.         }

  368.         SCREEN_INFO.orig_x = x;
  369.         SCREEN_INFO.orig_y = y;

  370.         pos = (x + cols * y) * 2;        /* Update cursor position */
  371.         outb_p(14, vidport);
  372.         outb_p(0xff & (pos >;>; 9), vidport+1);
  373.         outb_p(15, vidport);
  374.         outb_p(0xff & (pos >;>; 1), vidport+1);
  375. }

  376. void* memset(void* s, int c, size_t n)
  377. {
  378.         int i;
  379.         char *ss = (char*)s;

  380.         for (i=0;i        return s;
  381. }

  382. void* memcpy(void* __dest, __const void* __src,
  383.                             size_t __n)
  384. {
  385.         int i;
  386.         char *d = (char *)__dest, *s = (char *)__src;

  387.         for (i=0;i<__n;i++) d[ i ] = s[ i ];
  388.         return __dest;
  389. }

  390. /* ===========================================================================
  391. * Fill the input buffer. This is called only when the buffer is empty
  392. * and at least one byte is really needed.
  393. */
  394. static int fill_inbuf(void)
  395. {
  396.         if (insize != 0) {
  397.                 error("ran out of input data\n");
  398.         }

  399.         inbuf = input_data;
  400.         insize = input_len;
  401.         inptr = 1;
  402.         return inbuf[0];
  403. }

  404. /* ===========================================================================
  405. * Write the output window window[0..outcnt-1] and update crc and bytes_out.
  406. * (Used for the decompressed data only.)
  407. */
  408. static void flush_window_low(void)
  409. {
  410.     ulg c = crc;         /* temporary variable */
  411.     unsigned n;
  412.     uch *in, *out, ch;
  413.    
  414.     in = window;
  415.     out = &output_data[output_ptr];
  416.     for (n = 0; n < outcnt; n++) {
  417.             ch = *out++ = *in++;
  418.             c = crc_32_tab[((int)c ^ ch) & 0xff] ^ (c >;>; 8);
  419.     }
  420.     crc = c;
  421.     bytes_out += (ulg)outcnt;
  422.     output_ptr += (ulg)outcnt;
  423.     outcnt = 0;
  424. }

  425. static void flush_window_high(void)
  426. {
  427.     ulg c = crc;         /* temporary variable */
  428.     unsigned n;
  429.     uch *in,  ch;
  430.     in = window;
  431.     for (n = 0; n < outcnt; n++) {
  432.         ch = *output_data++ = *in++;
  433.         if ((ulg)output_data == low_buffer_end) output_data=high_buffer_start;
  434.         c = crc_32_tab[((int)c ^ ch) & 0xff] ^ (c >;>; 8);
  435.     }
  436.     crc = c;
  437.     bytes_out += (ulg)outcnt;
  438.     outcnt = 0;
  439. }

  440. static void flush_window(void)
  441. {
  442.         if (high_loaded) flush_window_high();
  443.         else flush_window_low();
  444. }

  445. static void error(char *x)
  446. {
  447.         puts("\n\n");
  448.         puts(x);
  449.         puts("\n\n -- System halted");

  450.         while(1);        /* Halt */
  451. }

  452. #define STACK_SIZE (4096)

  453. long user_stack [STACK_SIZE];

  454. struct {
  455.         long * a;
  456.         short b;
  457.         } stack_start = { & user_stack [STACK_SIZE] , __KERNEL_DS };

  458. void setup_normal_output_buffer(void) 对于zImage, 直接解压到1M
  459. {
  460. #ifdef STANDARD_MEMORY_BIOS_CALL
  461.         if (EXT_MEM_K < 1024) error("Less than 2MB of memory.\n");
  462. #else
  463.         if ((ALT_MEM_K >; EXT_MEM_K ? ALT_MEM_K : EXT_MEM_K) < 1024) error("Less than 2MB of memory.\n");
  464. #endif
  465.         output_data = (char *)0x100000; /* Points to 1M */
  466.         free_mem_end_ptr = (long)real_mode;
  467. }

  468. struct moveparams {
  469.         uch *low_buffer_start;  int lcount;
  470.         uch *high_buffer_start; int hcount;
  471. };

  472. void setup_output_buffer_if_we_run_high(struct moveparams *mv)
  473. {
  474.         high_buffer_start = (uch *)(((ulg)&end) + HEAP_SIZE); 内核高端片段的最小起始地址
  475. #ifdef STANDARD_MEMORY_BIOS_CALL
  476.         if (EXT_MEM_K < (3*1024)) error("Less than 4MB of memory.\n");
  477. #else
  478.         if ((ALT_MEM_K >; EXT_MEM_K ? ALT_MEM_K : EXT_MEM_K) < (3*1024)) error("Less than 4MB of memory.\n");
  479. #endif       
  480.         mv->;low_buffer_start = output_data = (char *)LOW_BUFFER_START;
  481.         low_buffer_end = ((unsigned int)real_mode >; LOW_BUFFER_MAX
  482.           ? LOW_BUFFER_MAX : (unsigned int)real_mode) & ~0xfff;
  483.         low_buffer_size = low_buffer_end - LOW_BUFFER_START;
  484.         high_loaded = 1;
  485.         free_mem_end_ptr = (long)high_buffer_start;
  486.         if ( (0x100000 + low_buffer_size) >; ((ulg)high_buffer_start)) {
  487.                 ; 如果高端片段的最小起始地址小于它实际应加载的地址,则将它置为实际地址,
  488.                 ; 这样高端片段就无需再次移动了,否则它要向前移动
  489.                 high_buffer_start = (uch *)(0x100000 + low_buffer_size);
  490.                 mv->;hcount = 0; /* say: we need not to move high_buffer */
  491.         }
  492.         else mv->;hcount = -1; 待定
  493.         mv->;high_buffer_start = high_buffer_start;
  494. }

  495. void close_output_buffer_if_we_run_high(struct moveparams *mv)
  496. {
  497.         if (bytes_out >; low_buffer_size) {
  498.                 mv->;lcount = low_buffer_size;
  499.                 if (mv->;hcount)
  500.                         mv->;hcount = bytes_out - low_buffer_size; 求出高端片段的字节数
  501.         } else { 如果解压后内核只有低端的一个片段
  502.                 mv->;lcount = bytes_out;
  503.                 mv->;hcount = 0;
  504.         }
  505. }

  506. int decompress_kernel(struct moveparams *mv, void *rmode)
  507. {
  508.         real_mode = rmode;

  509.         if (SCREEN_INFO.orig_video_mode == 7) {
  510.                 vidmem = (char *) 0xb0000;
  511.                 vidport = 0x3b4;
  512.         } else {
  513.                 vidmem = (char *) 0xb8000;
  514.                 vidport = 0x3d4;
  515.         }

  516.         lines = SCREEN_INFO.orig_video_lines;
  517.         cols = SCREEN_INFO.orig_video_cols;

  518.         if (free_mem_ptr < 0x100000) setup_normal_output_buffer();
  519.         else setup_output_buffer_if_we_run_high(mv);

  520.         makecrc();
  521.         puts("Uncompressing Linux... ");
  522.         gunzip();
  523.         puts("Ok, booting the kernel.\n");
  524.         if (high_loaded) close_output_buffer_if_we_run_high(mv);
  525.         return high_loaded;
  526. }

复制代码
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP