Dr Andrew Scott G7VAV

My photo
 
July 2025
Mo Tu We Th Fr Sa Su
30 1 2 3 4 5 6
7 8 9 10 11 12 13
14 15 16 17 18 19 20
21 22 23 24 25 26 27
28 29 30 31 1 2 3
4 5 6 7 8 9 10


nvram.h
01: #ifndef _LINUX_NVRAM_H
02: #define _LINUX_NVRAM_H
03: 
04: #include <linux/ioctl.h>
05: 
06: /* /dev/nvram ioctls */
07: #define NVRAM_INIT      _IO('p', 0x40) /* initialize NVRAM and set checksum */
08: #define NVRAM_SETCKS    _IO('p', 0x41) /* recalculate checksum */
09: 
10: /* for all current systems, this is where NVRAM starts */
11: #define NVRAM_FIRST_BYTE    14
12: /* all these functions expect an NVRAM offset, not an absolute */
13: #define NVRAM_OFFSET(x)   ((x)-NVRAM_FIRST_BYTE)
14: 
15: 
16: #endif  /* _LINUX_NVRAM_H */
17: 


for client (none)
© Andrew Scott 2006 - 2025,
All Rights Reserved
http://www.andrew-scott.uk/
Andrew Scott
http://www.andrew-scott.co.uk/