From 1a2238d1bddc823df06f67312d96ccf9de2893cc Mon Sep 17 00:00:00 2001 From: root Date: Sat, 19 Dec 2015 13:13:57 +0000 Subject: CFE from danitool [without hostTools dir]: https://mega.nz/#!mwZyFK7a!CPT3BKC8dEw29kubtdYxhB91G9vIIismTkgzQ3iUy3k --- uclibc-crosstools-gcc-4.4.2-1/usr/include/linux/nvram.h | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 uclibc-crosstools-gcc-4.4.2-1/usr/include/linux/nvram.h (limited to 'uclibc-crosstools-gcc-4.4.2-1/usr/include/linux/nvram.h') diff --git a/uclibc-crosstools-gcc-4.4.2-1/usr/include/linux/nvram.h b/uclibc-crosstools-gcc-4.4.2-1/usr/include/linux/nvram.h new file mode 100644 index 0000000..fbaa10e --- /dev/null +++ b/uclibc-crosstools-gcc-4.4.2-1/usr/include/linux/nvram.h @@ -0,0 +1,16 @@ +#ifndef _LINUX_NVRAM_H +#define _LINUX_NVRAM_H + +#include + +/* /dev/nvram ioctls */ +#define NVRAM_INIT _IO('p', 0x40) /* initialize NVRAM and set checksum */ +#define NVRAM_SETCKS _IO('p', 0x41) /* recalculate checksum */ + +/* for all current systems, this is where NVRAM starts */ +#define NVRAM_FIRST_BYTE 14 +/* all these functions expect an NVRAM offset, not an absolute */ +#define NVRAM_OFFSET(x) ((x)-NVRAM_FIRST_BYTE) + + +#endif /* _LINUX_NVRAM_H */ -- cgit v1.2.3