随笔分类 - 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
阅读全文
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...
阅读全文
DMA控制器
摘要:DMA控制器依赖于平台硬件,这里只对i386的8237 DMA控制器做简单的说明,它有两个控制器,8个通道,具体说明如下:控制器1: 通道0-3,字节操作, 端口为 00-1F控制器2: 通道 4-7, 字操作, 端口咪 C0-DF- 所有寄存器是8 bit,与传输大小无关。- 通道 4 被用来将控...
阅读全文
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...
阅读全文
kernel/ptrace.c
摘要:/* ptrace.c *//* By Ross Biro 1/23/92 *//* edited by Linus Torvalds */#include #include #include #include #include #include #include #include #include...
阅读全文
kernel/info.c
摘要:/** linux/kernel/info.c** Copyright (C) 1992 Darren Senn*//* This implements the sysinfo() system call */#include #include #include #include #include ...
阅读全文
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 ...
阅读全文
kernel/vsprintf.c
摘要:/** linux/kernel/vsprintf.c** Copyright (C) 1991, 1992 Linus Torvalds*//* vsprintf.c -- Lars Wirzenius & Linus Torvalds. *//** Wirzenius wrote this po...
阅读全文
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...
阅读全文
kernel/module.c
摘要:#include #include #include #include /* defines GFP_KERNEL */#include #include #include #include struct module *module_list = NULL;int freeing_module...
阅读全文
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...
阅读全文
mm/vmalloc.c
摘要:/** linux/mm/vmalloc.c** Copyright (C) 1993 Linus Torvalds*/#include #include #include #include #include #include #include #include #include #include ...
阅读全文
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 ...
阅读全文
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...
阅读全文
mm/mmap.c
摘要:/** linux/mm/mmap.c** Written by obz.*/#include #include #include #include #include #include #include #include #include #include #include static int a...
阅读全文
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,...
阅读全文
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...
阅读全文
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...
阅读全文
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...
阅读全文
zBoot/Makefile
摘要:#上层makefile调用执行make命令,执行的应该是第一个目标allHEAD = head.oSYSTEM = ../tools/zSystem#LD = gcc#TEST = -DTEST_DRIVERzOBJECTS = $(HEAD) inflate.o unzip.o misc.oCFL...
阅读全文