1 #ifndef _LINUX_NVRAM_H
2 #define _LINUX_NVRAM_H
3
4 #include <linux/ioctl.h>
5
6 /* /dev/nvram ioctls */
7 #define NVRAM_INIT _IO('p', 0x40) /* initialize NVRAM and set checksum */
8 #define NVRAM_SETCKS _IO('p', 0x41) /* recalculate checksum */
9
10 #ifdef __KERNEL__
11 extern unsigned char nvram_read_byte( int i );
12 extern void nvram_write_byte( unsigned char c, int i );
13 extern int nvram_check_checksum( void );
14 extern void nvram_set_checksum( void );
15 #endif
16
17 #endif /* _LINUX_NVRAM_H */
18
This page was automatically generated by the
LXR engine.
Visit the LXR main site for more
information.