linuxdriver2
所属分类:Linux/Unix编程
开发工具:C/C++
文件大小:586KB
下载次数:336
上传日期:2005-07-11 21:24:12
上 传 者:
wondfullxiao
说明: LINUX设备驱动程序第二版配套源码 LINUX设备驱动程序第二版配套源码 Alessandro rubini&Jonathan corbet著 中国电力出版社 魏永明 骆刚 姜君译 69元
(source code of <<linux device driver II>>)
文件列表:
linuxdriver2 (0, 2004-07-04)
linuxdriver2\ldd2-samples-1.0.0 (0, 2004-07-04)
linuxdriver2\ldd2-samples-1.0.0\allocator (0, 2004-07-04)
linuxdriver2\ldd2-samples-1.0.0\allocator\allocator.c (8080, 2001-07-11)
linuxdriver2\ldd2-samples-1.0.0\allocator\allocator.h (1174, 2001-07-11)
linuxdriver2\ldd2-samples-1.0.0\allocator\Makefile (572, 2001-07-11)
linuxdriver2\ldd2-samples-1.0.0\foo (0, 2001-07-11)
linuxdriver2\ldd2-samples-1.0.0\LICENSE (1787, 2001-07-11)
linuxdriver2\ldd2-samples-1.0.0\local-scratch (496, 2001-07-11)
linuxdriver2\ldd2-samples-1.0.0\Makefile (503, 2001-07-11)
linuxdriver2\ldd2-samples-1.0.0\Makefile.alpha (2649, 2001-07-11)
linuxdriver2\ldd2-samples-1.0.0\Makefile.arm (3727, 2001-07-11)
linuxdriver2\ldd2-samples-1.0.0\Makefile.ia64 (221, 2001-07-11)
linuxdriver2\ldd2-samples-1.0.0\Makefile.m68k (3287, 2001-07-11)
linuxdriver2\ldd2-samples-1.0.0\Makefile.mips (6452, 2001-07-11)
linuxdriver2\ldd2-samples-1.0.0\Makefile.ppc (1186, 2001-07-11)
linuxdriver2\ldd2-samples-1.0.0\Makefile.sparc (1083, 2001-07-11)
linuxdriver2\ldd2-samples-1.0.0\Makefile.sparc64 (1916, 2001-07-11)
linuxdriver2\ldd2-samples-1.0.0\misc-modules (0, 2004-07-04)
linuxdriver2\ldd2-samples-1.0.0\misc-modules\export.c (1779, 2001-07-11)
linuxdriver2\ldd2-samples-1.0.0\misc-modules\faulty.c (2351, 2001-07-11)
linuxdriver2\ldd2-samples-1.0.0\misc-modules\hello.c (700, 2001-07-11)
linuxdriver2\ldd2-samples-1.0.0\misc-modules\hello2.c (712, 2001-07-11)
linuxdriver2\ldd2-samples-1.0.0\misc-modules\import.c (772, 2001-07-11)
linuxdriver2\ldd2-samples-1.0.0\misc-modules\inter.c (1001, 2001-07-11)
linuxdriver2\ldd2-samples-1.0.0\misc-modules\jiq.c (10276, 2001-07-11)
linuxdriver2\ldd2-samples-1.0.0\misc-modules\jit.c (7726, 2001-07-11)
linuxdriver2\ldd2-samples-1.0.0\misc-modules\kdataalign.c (1789, 2001-07-11)
linuxdriver2\ldd2-samples-1.0.0\misc-modules\kdatasize.c (976, 2001-07-11)
linuxdriver2\ldd2-samples-1.0.0\misc-modules\Makefile (1282, 2001-07-11)
linuxdriver2\ldd2-samples-1.0.0\misc-modules\master.c (2213, 2001-07-11)
linuxdriver2\ldd2-samples-1.0.0\misc-modules\rdtsc.c (731, 2001-07-11)
linuxdriver2\ldd2-samples-1.0.0\misc-modules\rdtscmod.c (546, 2001-07-11)
linuxdriver2\ldd2-samples-1.0.0\misc-modules\silly.c (7208, 2001-07-11)
linuxdriver2\ldd2-samples-1.0.0\misc-modules\slave.c (400, 2001-07-11)
linuxdriver2\ldd2-samples-1.0.0\misc-modules\slaveD.c (0, 2001-07-11)
linuxdriver2\ldd2-samples-1.0.0\misc-modules\slaveH.c (0, 2001-07-11)
linuxdriver2\ldd2-samples-1.0.0\misc-modules\sleepy.c (2042, 2001-07-11)
... ...
readme.txt
Linux Device Drivers, 2nd Edition
Examples
You may also retrieve this book's examples from the authors' Web site
at ftp://ar.linux.it/pub/ldd2/ .
license.txt
Unless otherwise stated, the source code distributed with this book
can be redistributed in source or binary form so long as an
acknowledgment appears in derived source files. The citation should
list that the code comes from "Linux Device Drivers" by Alessandro
Rubini, published by O'Reilly & Associates. This code is under
copyright and cannot be included in any other book, publication, or
educational product without permission from O'Reilly & Associates. No
warranty is attached; we cannot take responsibility for errors or
fitness for use.
There are a few exception to this licence, however: a few sources
herein are distributed according to the GNU General Public
License. You'll find a copy of the license in /usr/src/linux/COPYING,
and in other places in your filesystem. The affected source files are:
pci/pcidata.c
pci/pciregions.c
v2.1/pci/pcidata.c
v2.1/pci/pciregions.c
v2.1/misc-modules/allocator.c
The files in ./pci and ./v2.1/pci inherit the GPL from the kernel
sources, as some of their code comes straight from the kernel; their
being GPL'd doesn't prevent you from writing binary modules, as the
code in the pci* modules isn't meant to be included in custom drivers,
the modules are just standalone probing tools.
The allocator, on the other hand, is completely mine, but I'd better
not allow hiding code dealing with memory management. If you want to
use the allocator in a binary-only module, just compile it as a
standalone module and distribute its source.
Note that although everything here is designed to allow building
binary modules, I'm strongly against this practice. All software in my
opinion should be free (in the sense of freedom). Every Linux user
should acknowledge the importance of the GPL and should use it for any
new software.
Enjoy
/alessandro
近期下载者:
相关文件:
收藏者: