Add the rt linux 4.1.3-rt3 as base
[kvmfornfv.git] / kernel / arch / score / include / asm / pgtable-bits.h
1 #ifndef _ASM_SCORE_PGTABLE_BITS_H
2 #define _ASM_SCORE_PGTABLE_BITS_H
3
4 #define _PAGE_ACCESSED                  (1<<5)  /* implemented in software */
5 #define _PAGE_READ                      (1<<6)  /* implemented in software */
6 #define _PAGE_WRITE                     (1<<7)  /* implemented in software */
7 #define _PAGE_PRESENT                   (1<<9)  /* implemented in software */
8 #define _PAGE_MODIFIED                  (1<<10) /* implemented in software */
9
10 #define _PAGE_GLOBAL                    (1<<0)
11 #define _PAGE_VALID                     (1<<1)
12 #define _PAGE_SILENT_READ               (1<<1)  /* synonym */
13 #define _PAGE_DIRTY                     (1<<2)  /* Write bit */
14 #define _PAGE_SILENT_WRITE              (1<<2)
15 #define _PAGE_CACHE                     (1<<3)  /* cache */
16 #define _CACHE_MASK                     (1<<3)
17 #define _PAGE_BUFFERABLE                (1<<4)  /*Fallow Spec. */
18
19 #define __READABLE      (_PAGE_READ | _PAGE_SILENT_READ | _PAGE_ACCESSED)
20 #define __WRITEABLE     (_PAGE_WRITE | _PAGE_SILENT_WRITE | _PAGE_MODIFIED)
21 #define _PAGE_CHG_MASK                  \
22         (PAGE_MASK | _PAGE_ACCESSED | _PAGE_MODIFIED | _PAGE_CACHE)
23
24 #endif /* _ASM_SCORE_PGTABLE_BITS_H */