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

include/linux/tasks.h
摘要:#ifndef _LINUX_TASKS_H#define _LINUX_TASKS_H/** This is the maximum nr of tasks - change it if you need to*///最大的进程数量#define NR_TASKS 128#endif 阅读全文
posted @ 2014-06-19 14:04 xfwei 阅读(392) 评论(0) 推荐(0) 编辑
include/asm/dma.h
摘要:/* $Id: dma.h,v 1.7 1992/12/14 00:29:34 root Exp root $* linux/include/asm/dma.h: Defines for using and allocating dma channels.* Written by Hennus Be... 阅读全文
posted @ 2014-06-19 10:33 xfwei 阅读(393) 评论(0) 推荐(0) 编辑
DMA控制器
摘要:DMA控制器依赖于平台硬件,这里只对i386的8237 DMA控制器做简单的说明,它有两个控制器,8个通道,具体说明如下:控制器1: 通道0-3,字节操作, 端口为 00-1F控制器2: 通道 4-7, 字操作, 端口咪 C0-DF- 所有寄存器是8 bit,与传输大小无关。- 通道 4 被用来将控... 阅读全文
posted @ 2014-06-19 10:04 xfwei 阅读(626) 评论(0) 推荐(0) 编辑
kernel/dma.c
摘要:/* $Id: dma.c,v 1.5 1992/11/18 02:49:05 root Exp root $* linux/kernel/dma.c: A DMA channel allocator. Inspired by linux/kernel/irq.c.* Written by Henn... 阅读全文
posted @ 2014-06-18 13:59 xfwei 阅读(293) 评论(0) 推荐(0) 编辑
kernel/ptrace.c
摘要:/* ptrace.c *//* By Ross Biro 1/23/92 *//* edited by Linus Torvalds */#include #include #include #include #include #include #include #include #include... 阅读全文
posted @ 2014-06-18 09:56 xfwei 阅读(634) 评论(0) 推荐(0) 编辑
kernel/info.c
摘要:/** linux/kernel/info.c** Copyright (C) 1992 Darren Senn*//* This implements the sysinfo() system call */#include #include #include #include #include ... 阅读全文
posted @ 2014-06-17 08:37 xfwei 阅读(466) 评论(0) 推荐(0) 编辑
kernel/printk.c
摘要:/** linux/kernel/printk.c** Copyright (C) 1991, 1992 Linus Torvalds** Modified to make sys_syslog() more flexible: added commands to* return the last ... 阅读全文
posted @ 2014-06-17 08:31 xfwei 阅读(866) 评论(0) 推荐(0) 编辑
kernel/vsprintf.c
摘要:/** linux/kernel/vsprintf.c** Copyright (C) 1991, 1992 Linus Torvalds*//* vsprintf.c -- Lars Wirzenius & Linus Torvalds. *//** Wirzenius wrote this po... 阅读全文
posted @ 2014-06-16 14:48 xfwei 阅读(856) 评论(0) 推荐(0) 编辑
kernel/mktime
摘要:/** linux/kernel/mktime.c** Copyright (C) 1991, 1992 Linus Torvalds*/#include /** This isn't the library routine, it is only used in the kernel.* as s... 阅读全文
posted @ 2014-06-16 08:22 xfwei 阅读(374) 评论(0) 推荐(0) 编辑
kernel/module.c
摘要:#include #include #include #include /* defines GFP_KERNEL */#include #include #include #include struct module *module_list = NULL;int freeing_module... 阅读全文
posted @ 2014-06-14 16:42 xfwei 阅读(468) 评论(0) 推荐(0) 编辑
kernel/panic.c
摘要:/** linux/kernel/panic.c** Copyright (C) 1991, 1992 Linus Torvalds*//** This function is used through-out the kernel (includeinh mm and fs)* to indica... 阅读全文
posted @ 2014-06-14 16:42 xfwei 阅读(447) 评论(0) 推荐(0) 编辑
mm/vmalloc.c
摘要:/** linux/mm/vmalloc.c** Copyright (C) 1993 Linus Torvalds*/#include #include #include #include #include #include #include #include #include #include ... 阅读全文
posted @ 2014-06-14 16:41 xfwei 阅读(458) 评论(0) 推荐(0) 编辑
kernel/Makefile
摘要:## Makefile for the linux kernel.## Note! Dependencies are done automagically by 'make dep', which also# removes any old dependencies. DON'T put your ... 阅读全文
posted @ 2014-06-14 16:41 xfwei 阅读(229) 评论(0) 推荐(0) 编辑
mm/swap
摘要:/** linux/mm/swap.c** Copyright (C) 1991, 1992 Linus Torvalds*//** This file should contain most things doing the swapping from/to disk.* Started 18.1... 阅读全文
posted @ 2014-06-14 16:40 xfwei 阅读(424) 评论(0) 推荐(0) 编辑
mm/mmap.c
摘要:/** linux/mm/mmap.c** Written by obz.*/#include #include #include #include #include #include #include #include #include #include #include static int a... 阅读全文
posted @ 2014-06-14 16:40 xfwei 阅读(811) 评论(0) 推荐(0) 编辑
mm/memory
摘要:/** linux/mm/memory.c** Copyright (C) 1991, 1992 Linus Torvalds*//** demand-loading started 01.12.91 - seems it is high on the list of* things wanted,... 阅读全文
posted @ 2014-06-14 16:39 xfwei 阅读(417) 评论(0) 推荐(0) 编辑
mm/kmalloc.c
摘要:/** linux/mm/kmalloc.c** Copyright (C) 1991, 1992 Linus Torvalds & Roger Wolff.** Written by R.E. Wolff Sept/Oct '93.**/#include #include #include #de... 阅读全文
posted @ 2014-06-07 08:19 xfwei 阅读(385) 评论(0) 推荐(0) 编辑
mm/makefile
摘要:## Makefile for the linux memory manager.## Note! Dependencies are done automagically by 'make dep', which also# removes any old dependencies. DON'T p... 阅读全文
posted @ 2014-06-07 08:18 xfwei 阅读(254) 评论(0) 推荐(0) 编辑
tools/build.c
摘要:/** 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) 编辑
zBoot/Makefile
摘要:#上层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) 编辑