2014年6月7日

摘要: /** linux/tools/build.c** Copyright (C) 1991, 1992 Linus Torvalds*//** This file builds a disk-image from three different files:** - bootsect: max 510... 阅读全文
posted @ 2014-06-07 08:17 xfwei 阅读(502) 评论(0) 推荐(0) 编辑
 
摘要: #上层makefile调用执行make命令,执行的应该是第一个目标allHEAD = head.oSYSTEM = ../tools/zSystem#LD = gcc#TEST = -DTEST_DRIVERzOBJECTS = $(HEAD) inflate.o unzip.o misc.oCFL... 阅读全文
posted @ 2014-06-07 08:16 xfwei 阅读(241) 评论(0) 推荐(0) 编辑
 
摘要: /** linux/version.c** Copyright (C) 1992 Theodore Ts'o** May be freely distributed as part of Linux.*/#include #include #include "./version.h"//在执行mak... 阅读全文
posted @ 2014-06-07 08:16 xfwei 阅读(252) 评论(0) 推荐(0) 编辑

2014年6月3日

摘要: /** linux/zBoot/xtract.c** Copyright (C) 1993 Hannu Savolainen** Extracts the system image and writes it to the stdout.* based on tools/build.c by Lin... 阅读全文
posted @ 2014-06-03 21:25 xfwei 阅读(296) 评论(0) 推荐(0) 编辑
 
摘要: /** linux/zBoot/piggyback.c** (C) 1993 Hannu Savolainen*//** This program reads the compressed system image from stdin and* encapsulates it into an ob... 阅读全文
posted @ 2014-06-03 21:25 xfwei 阅读(220) 评论(0) 推荐(0) 编辑
 
摘要: /* * linux/boot/head.S * * Copyright (C) 1991, 1992 Linus Torvalds *//* * head.S contains the 32-bit startup code. */.text.globl _idt,_gdt,.globl ... 阅读全文
posted @ 2014-06-03 21:24 xfwei 阅读(524) 评论(0) 推荐(0) 编辑
 
摘要: !! setup.S Copyright (C) 1991, 1992 Linus Torvalds!! setup.s is responsible for getting the system data from the BIOS,! and putting them into the app... 阅读全文
posted @ 2014-06-03 21:22 xfwei 阅读(1014) 评论(0) 推荐(0) 编辑

2014年5月27日

摘要: !! setup.S Copyright (C) 1991, 1992 Linus Torvalds!! setup.s is responsible for getting the system data from the BIOS,! and putting them into the app... 阅读全文
posted @ 2014-05-27 14:51 xfwei 阅读(418) 评论(0) 推荐(0) 编辑
 
摘要: gzip是GNU zip的缩写,它是一个GNU自由软件的文件压缩程序, 也经常用来表示gzip这种文件格式。软件的作者是Jean-loup Gailly和Mark Adler。gzip的基础是DEFLATE,DEFLATE是LZ77与哈夫曼编码的一个组合体。DEFLATE最初是作为LZW以及其它受专... 阅读全文
posted @ 2014-05-27 14:08 xfwei 阅读(501) 评论(0) 推荐(0) 编辑

2014年5月24日

摘要: !! SYS_SIZE is the number of clicks (16 bytes) to be loaded.! 0x7F00 is 0x7F000 bytes = 508kB, more than enough for current! versions of linux which c... 阅读全文
posted @ 2014-05-24 10:40 xfwei 阅读(713) 评论(0) 推荐(0) 编辑