发布时间:2016-05-19 13:25:18
#include <linux/module.h>#include <linux/init.h>#include <linux/interrupt.h>#include <linux/fs.h>#include <asm/io.h>#include <asm/sizes.h>#include <linux/device.h>#include <linux/platform_device.h>#include <linux/miscdevice.h>#if 0#define MAGIC'x'#define WDT_RESET_IO(MAGIC, 0)//产.........【阅读全文】
发布时间:2016-05-08 12:12:19
#include<linux/module.h>#include<linux/types.h>#include<linux/fs.h>#include<linux/mm.h>#include<linux/sched.h>#include<linux/init.h>#include<linux/cdev.h>#include<asm/io.h>#include<asm/system.h>#include<asm/uaccess.h>#include<linux/device.h>#define GLOBALMEM_SIZE 0x1000 //全局内存大小#de.........【阅读全文】