Linux字符设备驱动程序编写基本流程 最新更新| 软件分类| 专题汇总| 手机版

您所在的位置:首页 > Linux字符设备驱动程序编写基本流程 > 信息评论 >

Linux字符设备驱动程序编写基本流程

  驱动程序编写基本流程:  1.首先是一些版本信息,没什么用,但是不能少  #define __NO_VERSION__  #include <linux/modules.h>  #include <linux/version.h>  char kernel_version[] = UTS_RELEASE;  2.为了把系统调用和驱动程序关联起

网友评论

发表评论

(您的评论需要经过审核才能显示)