diff options
Diffstat (limited to 'arch/score/include/asm/pgtable-bits.h')
-rw-r--r-- | arch/score/include/asm/pgtable-bits.h | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/arch/score/include/asm/pgtable-bits.h b/arch/score/include/asm/pgtable-bits.h new file mode 100644 index 000000000000..ca16d357a644 --- /dev/null +++ b/arch/score/include/asm/pgtable-bits.h | |||
@@ -0,0 +1,23 @@ | |||
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 | #define _PAGE_FILE (1<<10) | ||
10 | |||
11 | #define _PAGE_GLOBAL (1<<0) | ||
12 | #define _PAGE_VALID (1<<1) | ||
13 | #define _PAGE_SILENT_READ (1<<1) /* synonym */ | ||
14 | #define _PAGE_DIRTY (1<<2) /* Write bit */ | ||
15 | #define _PAGE_SILENT_WRITE (1<<2) | ||
16 | #define _PAGE_CACHE (1<<3) /* cache */ | ||
17 | #define _CACHE_MASK (1<<3) | ||
18 | #define _PAGE_BUFFERABLE (1<<4) /*Fallow Spec. */ | ||
19 | |||
20 | #define _PAGE_CHG_MASK \ | ||
21 | (PAGE_MASK | _PAGE_ACCESSED | _PAGE_MODIFIED | _PAGE_CACHE) | ||
22 | |||
23 | #endif /* _ASM_SCORE_PGTABLE_BITS_H */ | ||