Linux Kernel
3.7.1
|
#include <linux/module.h>
#include <linux/nvram.h>
#include <linux/types.h>
#include <linux/errno.h>
#include <linux/miscdevice.h>
#include <linux/ioport.h>
#include <linux/fcntl.h>
#include <linux/mc146818rtc.h>
#include <linux/init.h>
#include <linux/proc_fs.h>
#include <linux/seq_file.h>
#include <linux/spinlock.h>
#include <linux/io.h>
#include <linux/uaccess.h>
#include <linux/mutex.h>
Go to the source code of this file.
Macros | |
#define | NVRAM_VERSION "1.3" |
#define | PC 1 |
#define | ATARI 2 |
#define | NVRAM_WRITE 1 /* opened for writing (exclusive) */ |
#define | NVRAM_EXCL 2 /* opened with O_EXCL */ |
Functions | |
unsigned char | __nvram_read_byte (int i) |
EXPORT_SYMBOL (__nvram_read_byte) | |
unsigned char | nvram_read_byte (int i) |
EXPORT_SYMBOL (nvram_read_byte) | |
void | __nvram_write_byte (unsigned char c, int i) |
EXPORT_SYMBOL (__nvram_write_byte) | |
void | nvram_write_byte (unsigned char c, int i) |
EXPORT_SYMBOL (nvram_write_byte) | |
int | __nvram_check_checksum (void) |
EXPORT_SYMBOL (__nvram_check_checksum) | |
int | nvram_check_checksum (void) |
EXPORT_SYMBOL (nvram_check_checksum) | |
module_init (nvram_init) | |
module_exit (nvram_cleanup_module) | |
MODULE_LICENSE ("GPL") | |
MODULE_ALIAS_MISCDEV (NVRAM_MINOR) | |
EXPORT_SYMBOL | ( | __nvram_read_byte | ) |
EXPORT_SYMBOL | ( | nvram_read_byte | ) |
EXPORT_SYMBOL | ( | __nvram_write_byte | ) |
EXPORT_SYMBOL | ( | nvram_write_byte | ) |
EXPORT_SYMBOL | ( | __nvram_check_checksum | ) |
EXPORT_SYMBOL | ( | nvram_check_checksum | ) |
MODULE_ALIAS_MISCDEV | ( | NVRAM_MINOR | ) |
module_exit | ( | nvram_cleanup_module | ) |
module_init | ( | nvram_init | ) |
MODULE_LICENSE | ( | "GPL" | ) |