设为首页收藏本站

LUPA开源社区

 找回密码
 注册
文章 帖子 博客
分享 内核定时器
wuhua0904 2011-4-7 14:26
(1)Makefilemake文件 # Comment/uncomment the following line to disable/enable debugging #DEBUG = y # Add your debugging flag (or not) to CFLAGS ifeq ($(DEBUG),y) DEBFLAGS = -O -g -DSHORT_DEBUG # "-O" is needed to expand inlines else DEBFLAGS = -O2 endif CFLAGS += $(DEBFLAGS) CFLA ...
个人分类: 驱动未来|872 次阅读|0 个评论
分享 container_of()宏
wuhua0904 2010-8-4 15:05
container_of()宏 在学习Linux驱动的过程中,遇到一个宏叫做container_of。 该宏定义在include/linux/kernel.h中,首先来贴 出它的代码: /** * container_of - cast a member of a structure out to the containing structure * @ptr:&n ...
个人分类: 驱动未来|2377 次阅读|0 个评论
分享 驱动未来
wuhua0904 2010-8-2 11:21
加入linux驱动开发吧,驱动物联,驱动生活,驱动未来 现在是时间去做了,研究驱动一定会为你带来惊喜
个人分类: 驱动未来|2623 次阅读|0 个评论

关于LUPA|人才芯片工程|人才招聘|LUPA认证|LUPA教育|LUPA开源社区 ( 浙B2-20090187 浙公网安备 33010602006705号   

返回顶部