X-Git-Url: https://scm.lunaixsky.com/lunaix-os.git/blobdiff_plain/c316c28e6c8a165111d6bbc208555f5c53489818..db7fc030e9e04c881f5f12a0e23baa8db4e20ee1:/lunaix-os/includes/usr/sys/mann_flags.h?ds=sidebyside diff --git a/lunaix-os/includes/usr/sys/mann_flags.h b/lunaix-os/includes/usr/sys/mann_flags.h deleted file mode 100644 index 479c60b..0000000 --- a/lunaix-os/includes/usr/sys/mann_flags.h +++ /dev/null @@ -1,31 +0,0 @@ -#ifndef __LUNAIX_SYS_MANN_FLAGS_H -#define __LUNAIX_SYS_MANN_FLAGS_H - -// POSIX compliant. - -// identity mapped to region attributes -#define PROT_READ (1 << 2) -#define PROT_WRITE (1 << 3) -#define PROT_EXEC (1 << 4) - -// identity mapped to region attributes - -#define MAP_WSHARED 0x2 -#define MAP_RSHARED 0x1 -#define MAP_SHARED MAP_WSHARED -#define MAP_PRIVATE MAP_RSHARED -#define MAP_EXCLUSIVE 0x0 -#define MAP_ANON (1 << 5) -#define MAP_STACK 0 // no effect in Lunaix - -// other MAP_* goes should beyond 0x20 - -#define MAP_FIXED 0x40 -#define MAP_FIXED_NOREPLACE 0x80 - -#define MS_ASYNC 0x1 -#define MS_SYNC 0x2 -#define MS_INVALIDATE 0x4 -#define MS_INVALIDATE_ALL 0x8 - -#endif /* __LUNAIX_MANN_FLAGS_H */