projects
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
n810: Add firmware generator hotplug scripts
[openwrt.git]
/
package
/
nvram
/
src
/
nvram.h
diff --git
a/package/nvram/src/nvram.h
b/package/nvram/src/nvram.h
index
e3d6461
..
c72f67e
100644
(file)
--- a/
package/nvram/src/nvram.h
+++ b/
package/nvram/src/nvram.h
@@
-46,7
+46,8
@@
struct nvram_tuple {
struct nvram_handle {
int fd;
char *mmap;
struct nvram_handle {
int fd;
char *mmap;
- unsigned long length;
+ unsigned int length;
+ unsigned int offset;
struct nvram_tuple *nvram_hash[257];
struct nvram_tuple *nvram_dead;
};
struct nvram_tuple *nvram_hash[257];
struct nvram_tuple *nvram_dead;
};
@@
-113,7
+114,6
@@
char * nvram_find_staging(void);
/* NVRAM constants */
#define NVRAM_SPACE 0x8000
/* NVRAM constants */
#define NVRAM_SPACE 0x8000
-#define NVRAM_START(x) x - NVRAM_SPACE
#define NVRAM_MAGIC 0x48534C46 /* 'FLSH' */
#define NVRAM_VERSION 1
#define NVRAM_MAGIC 0x48534C46 /* 'FLSH' */
#define NVRAM_VERSION 1
This page took
0.026289 seconds
and
4
git commands to generate.