Go to the documentation of this file. 1 #ifndef _ASM_SCORE_PGTABLE_BITS_H
2 #define _ASM_SCORE_PGTABLE_BITS_H
4 #define _PAGE_ACCESSED (1<<5)
5 #define _PAGE_READ (1<<6)
6 #define _PAGE_WRITE (1<<7)
7 #define _PAGE_PRESENT (1<<9)
8 #define _PAGE_MODIFIED (1<<10)
9 #define _PAGE_FILE (1<<10)
11 #define _PAGE_GLOBAL (1<<0)
12 #define _PAGE_VALID (1<<1)
13 #define _PAGE_SILENT_READ (1<<1)
14 #define _PAGE_DIRTY (1<<2)
15 #define _PAGE_SILENT_WRITE (1<<2)
16 #define _PAGE_CACHE (1<<3)
17 #define _CACHE_MASK (1<<3)
18 #define _PAGE_BUFFERABLE (1<<4)
20 #define __READABLE (_PAGE_READ | _PAGE_SILENT_READ | _PAGE_ACCESSED)
21 #define __WRITEABLE (_PAGE_WRITE | _PAGE_SILENT_WRITE | _PAGE_MODIFIED)
22 #define _PAGE_CHG_MASK \
23 (PAGE_MASK | _PAGE_ACCESSED | _PAGE_MODIFIED | _PAGE_CACHE)