自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

sudo.lee的专栏

Life runs on code...

  • 博客(7)
  • 资源 (9)
  • 收藏
  • 关注

原创 container_of()宏

container_of()宏在操作内核标准链表时很有用,也是内核提供的标准方法之一,其他的大多数链表操作都依赖这个宏.这个宏用于获得一个结构(成员)的父结构体的入口地址.因为C语言在编译的时候,结构体的地址就由ABI确定下来了, 这才有了下面的实现:#define offsetof(TYPE, MEMBER) ((size_t) &((TYPE *)0)->MEMBER)/*

2011-10-21 22:04:04 603

原创 中断下半部_工作队列(work queue)

1>work_queue: __3.0.42>description:中断下半部,在内核线程的进程上下文中执行推后的工作.它是唯一能在进程上下文运行的中断下半部实现机制,也只有它才可以睡眠.3>创建推后的工作:DECLARE_WORK(const char *na

2011-10-18 18:18:28 5447 2

原创 推后执行_等待队列(waitqueue)

1>wait queue: __3.0.42>description:在处理推后的工作或阻塞等待某个条件时很有用,wait_queue_func_t func运行在进程上下文.3>declare or init:struct __wait_queue_head {

2011-10-18 14:28:05 2182

原创 国标网线制作方法

第七代系统使用国标直通线,两种标准都可用RJ-45连接器的线排列有两种方法,分别是568B和568A,我们常用 568B方式,排列见下图:  实际上在10M 100M网络中,仅仅使用12 36 这四根线,1000M网络要用所有的。 两边使用同样标准的线称为直通线(

2011-10-15 16:11:03 660

原创 ubuntu常用软件

/** * ____/| sudo apt-get install gcc g++ make gdb libc6 libc6-dev manpages manpages-posix manpages-dev manpages-posix-dev glibc-doc * \

2011-10-11 18:47:32 471

原创 my vim settings

"" Just copy this text document to ~/.vimrc for vim settings"se nuse cursorlinese tabstop=4se shiftwidth=4se hlsearchse incsearchs

2011-10-10 11:15:19 432

原创 ubuntu FAQ

> 几乎所有Ubuntu的使用问题可以在这里找到答案.... http://wiki.ubuntu.org.cn

2011-10-08 19:08:00 754

arm cross toolchain with gcc 4.8.1

arm平台交叉编译器,静态编译。 主要资源版本: linux-3.12.12 binutils-2.23.2 gcc-4.8.1 glibc-2.18

2014-04-19

busybox 1.20.2 for android

busybox 1.20.2 for android. steps: adb remount adb push ./busybox-1.20.2-android2 /system/bin/ adb shell busybox ifconfig......

2012-08-22

rvct22 for linux_x86

RVCT22 for linux,带有头文件和armlib,cpplib,使用只需修改license.dat里的hostid(mac地址)和env设置脚本里的路径。

2012-04-06

ARM体系结构与编程_杜春雷.pdf

ARM体系结构与编程_杜春雷.pdf,。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。

2011-09-13

精通linux设备驱动程序_en

精通linux设备驱动程序_en,图灵丛书

2011-08-18

linux devices drivers_3_en

LDD3_en Over the years, this bestselling guide has helped countless programmers learn how to support computer peripherals under the Linux operating system, and how to develop new hardware under Linux. Now, with this third edition, it's even more helpful, covering all the significant changes to Version 2.6 of the Linux kernel. Includes full-featured examples that programmers can compile and run without special hardware.

2011-08-02

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除