![](https://img-blog.csdnimg.cn/20201014180756916.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
驱动开发
XDmemory
XDmemory
展开
-
驱动学习,入门基础--Hello World
#include #include static int hello_init( void ){ printk(KERN_ALERT "Hello World !\n");}static void hello_exit( void ){ printk(KERN_ALERT "Goodbye World !\n");}module_ini原创 2015-09-11 16:05:08 · 284 阅读 · 0 评论 -
驱动学习--SYS属性节点创建
#include #include #include #include struct att_dev{ struct platform_device *pdev; struct kobject *kobj;};static struct att_dev *dev = NULL;static ssize_t att_store(struct device *dev,原创 2015-09-15 15:08:35 · 1333 阅读 · 0 评论