发布时间:2016-05-19 22:41:21
/* drivers/rtc/rtc-s3c.c * * Copyright (c) 2004,2006 Simtec Electronics *Ben Dooks, <ben@simtec.co.uk> *http://armlinux.simtec.co.uk/ * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public Li.........【阅读全文】
发布时间: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.........【阅读全文】