最简单的驱动程序hello world
来源:互联网 发布:js 鼠标移动事件 编辑:程序博客网 时间:2024/05/22 02:15
最简单的驱动程序hello world
#include <linux/module.h>
#include <linux/kernel.h>
#include <linux/init.h>
static int __init test_init(void)
{
printk("Hello world.\n");
return 0;
}
static void __exit test_exit(void)
{
printk("Goodbye world.\n");
}
module_init(test_init);
module_exit(test_exit);
MODULE_LICENSE("Dual BSD/GPL");
MODULE_AUTHOR("kity");
MODULE_DESCRIPTION("module test");
MODULE_SUPPORTED_DEVICE("KITYBOARD");
1 0
- 最简单的驱动程序hello world
- wxWindows 最简单的Hello World程序
- 一个最简单的hello world操作系统
- 最简单的extjs hello world
- linux 驱动程序的hello world
- 简单的hello world
- 简单的‘Hello World!’
- ACE 的Hello world:: 最简单的ACE 程序!
- 最简单的例子:Equinox 之 Hello World
- linux内核模块编译,最简单的hello world
- 最简单的模块——hello world
- 教你完成最简单的linux驱动 hello world
- 一步一步编写最简单的linux驱动 hello world
- Havok第一个最简单的Hello World程序
- Jetty 7 + eclipse + servlet 最简单的HELLO WORLD
- 自制操作系统-最简单的系统hello World
- CLion为什么最简单的hello,world都运行不了
- 最简单的 TensorFlow 代码,TensorFlow Hello World 。
- ubuntu 下搭建嵌入式开发环境遇到的常见问题
- 百度地图开发环境配置
- iOS自动布局
- Cocos2D 初步了解二:图层与精灵
- leetcode——108——Convert Sorted Array to Binary Search Tree
- 最简单的驱动程序hello world
- UIViewController的生命周期
- c++作业4
- View的事件分发机制二--事件分发规则
- 【LeetCode-215】Kth Largest Element in an Array
- 一次简单却致命的错误 代码问题
- int main(int argc,char* argv[])参数简介
- struts2 支持的结果类型
- C++作业四