06 2014 档案

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 阅读(390) 评论(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 阅读(391) 评论(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 阅读(624) 评论(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 阅读(292) 评论(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 阅读(632) 评论(0) 推荐(0) 编辑
Poco C++ MySQl demo
摘要:#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 阅读(3869) 评论(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) 编辑
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/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) 编辑
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 阅读(809) 评论(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 阅读(422) 评论(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) 编辑
linux平台编译安装Poco C++
摘要:1、到官网下载poco-1.4.6p4-all.tar.gz,地址为http://pocoproject.org/download/index.html2、同时下载说明文档3、根据说明文档执行安装3.1 make --version,查看make编译器版本3.2 tar -xvf poco-X.Y.... 阅读全文
posted @ 2014-06-07 09:19 xfwei 阅读(2689) 评论(0) 推荐(1) 编辑
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) 编辑
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/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) 编辑
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) 编辑
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 阅读(523) 评论(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-06-03 21:22 xfwei 阅读(1014) 评论(0) 推荐(0) 编辑