Linux 驱动----hello
来源:互联网 发布:ipv4转ipv6软件 编辑:程序博客网 时间:2024/05/16 01:08
#include <linux/module.h>
MODULE_LICENSE("GPL");
static void hello_init(void);
static void hello_exit(void);
static void hello_init(void)
{
printk("init");
}
static void hello_exit(void)
{
printk("exit");
}
.
module_init(hello_init);
module_exit(hello_exit);
makefile:
obj-m := hello.o
PWD := $(shell pwd)
KERNELDIR = /lib/modules/2.6.24-26-generic/build
default:
make -C $(KENELDIR) M=$(PWD) modules
ubuntu superuser sudo -s -H
- Linux 驱动----hello
- linux的hello驱动
- Linux hello world 驱动
- linux 驱动 hello world
- arm-linux驱动:hello
- hello world开始linux驱动
- Linux驱动开发hello world
- 编写linux驱动--Hello World
- linux驱动之Hello world
- Linux之hello驱动编写
- linux设备驱动之hello
- linux驱动之Hello World
- ok6410 linux驱动 二 hello驱动
- linux驱动开发-Hello World篇
- Linux设备驱动Hello World程序介绍
- linux下hello world驱动模块
- Linux设备驱动Hello World程序介绍
- Linux设备驱动Hello World程序介绍
- GNU binutils笔记
- 为什么定义类的时候,一定要让它的析构函数为虚的?
- 你永远不应该做的事,第一部分
- jquery ajax中文处理方法
- ReactOS研究班
- Linux 驱动----hello
- Thread
- using OPENDATASOURCE Select Access Data Base data
- 小技巧: 远程启用Remote Desktop (远程桌面)
- 一句话的perl
- find my position
- 皇视268四芯最新BIN谁有啊
- 线性石子归并JOJ2521: Monkey and fruits
- Windows Phone 7于MWC发布