随笔分类 -  Linux-1.0源代码阅读

tools/version.c
摘要:/** 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) 编辑
zboot/xtract.c
摘要:/** 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) 编辑
init/main.c
摘要:/* * linux/init/main.c * * Copyright (C) 1991, 1992 Linus Torvalds */#include #include #include #include #include #include #include #include #inclu... 阅读全文
posted @ 2014-06-03 21:25 xfwei 阅读(257) 评论(0) 推荐(0) 编辑
zboot/piggyback.c
摘要:/** 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) 编辑
boot/head.S
摘要:/* * 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) 编辑
boot/setup.S
摘要:!! 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) 编辑
boot/bootsect.S
摘要:!! 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) 编辑
Linux1.0源代码编译过程
摘要:根据源代码包中的readme文件及http://chfj007.blog.163.com/blog/static/173145044201191195856806/?suggestedreading&wumii文章编译成功。下面我们开始编译内核的工作,首先将从网上下载的内核放到CentOS 6.3的... 阅读全文
posted @ 2014-05-24 10:37 xfwei 阅读(4174) 评论(0) 推荐(0) 编辑
Makefile
摘要:#版本号,将版本号,补丁号,版本写入tools/version.h中VERSION = 1#补丁号PATCHLEVEL = 0#ALPHA版ALPHA =#目标all,依赖于Version zImageall: Version zImage.EXPORT_ALL_VARIABLES:#从此到编译.c... 阅读全文
posted @ 2014-05-21 16:37 xfwei 阅读(519) 评论(0) 推荐(0) 编辑