git://scm.lunaixsky.com
/
lunaix-os.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
allow specifiying access mode when creating twifs file node
[lunaix-os.git]
/
lunaix-os
/
includes
/
usr
/
lunaix
/
mann_flags.h
diff --git
a/lunaix-os/includes/usr/lunaix/mann_flags.h
b/lunaix-os/includes/usr/lunaix/mann_flags.h
index cf99def3a729d6b675de549a13cb19e7d2418327..dcd3a3479282c2252c8ac84637b79bd62cf66370 100644
(file)
--- a/
lunaix-os/includes/usr/lunaix/mann_flags.h
+++ b/
lunaix-os/includes/usr/lunaix/mann_flags.h
@@
-30,4
+30,14
@@
#define MS_INVALIDATE 0x4
#define MS_INVALIDATE_ALL 0x8
+struct usr_mmap_param
+{
+ void* addr;
+ unsigned long length;
+ int proct;
+ int flags;
+ int fd;
+ unsigned long offset;
+};
+
#endif /* __LUNAIX_MANN_FLAGS_H */