linux 内核
文章平均质量分 73
meitianainid
这个作者很懒,什么都没留下…
展开
-
如何使用KGDB调试kernel详解
网址: http://linux.chinaunix.net/techdoc/develop/2007/10/23/970501.shtml Who may read this document? 1. People who familiar with gdb but not never use kgdb 2. People who like to d转载 2013-02-05 17:45:03 · 337 阅读 · 0 评论 -
linux的编程
原来的网址:http://blog.chinaunix.net/uid-26281173-id-2864904.html 曹鹏 今天用linux的list.h头文件实现了约瑟夫环。 笔者这里使用的办法比较老土。 基本思想: 第一、本来是要用链表来实现的,但是内核态下,内存的分配;不是很了解。故这里使用了数组元素作为每一个链表的节点。也就是说,这个节点的个数是事先知道的转载 2013-02-09 14:03:27 · 199 阅读 · 0 评论 -
__raw_readl
原来的网址:http://blog.chinaunix.net/uid-22028680-id-3040727.html __raw_readl和__raw_writel Linux对I/O的操作都定义在asm/io.h中,相应的在arm平台下,就在asm-arm/io.h中。 #define __raw_readl(a) (__chk_io_ptr(a),转载 2013-02-11 22:22:40 · 400 阅读 · 0 评论