2014年6月19日

摘要: #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 阅读(390) 评论(0) 推荐(0) 编辑
 
摘要: /* $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 阅读(389) 评论(0) 推荐(0) 编辑
 
摘要: 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 阅读(615) 评论(0) 推荐(0) 编辑

2014年6月18日

摘要: /* $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 阅读(292) 评论(0) 推荐(0) 编辑
 
摘要: /* 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 阅读(632) 评论(0) 推荐(0) 编辑
 
摘要: #include "Poco/Exception.h"#include "Poco/Data/Session.h"#include "Poco/Data/Common.h"#include "Poco/Data/BLOB.h"#include "Poco/Data/StatementImpl.h"#... 阅读全文
posted @ 2014-06-18 09:55 xfwei 阅读(3861) 评论(0) 推荐(0) 编辑

2014年6月17日

摘要: /** 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) 编辑
 
摘要: /** 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 阅读(863) 评论(0) 推荐(0) 编辑

2014年6月16日

摘要: /** 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) 编辑
 
摘要: /** 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) 编辑