Go to the documentation of this file. 1 #ifndef _ASM_POWERPC_PTE_40x_H
2 #define _ASM_POWERPC_PTE_40x_H
40 #define _PAGE_GUARDED 0x001
41 #define _PAGE_FILE 0x001
42 #define _PAGE_PRESENT 0x002
43 #define _PAGE_NO_CACHE 0x004
44 #define _PAGE_WRITETHRU 0x008
45 #define _PAGE_USER 0x010
46 #define _PAGE_SPECIAL 0x020
47 #define _PAGE_RW 0x040
48 #define _PAGE_DIRTY 0x080
49 #define _PAGE_HWWRITE 0x100
50 #define _PAGE_EXEC 0x200
51 #define _PAGE_ACCESSED 0x400
53 #define _PMD_PRESENT 0x400
54 #define _PMD_BAD 0x802
55 #define _PMD_SIZE 0x0e0
56 #define _PMD_SIZE_4M 0x0c0
57 #define _PMD_SIZE_16M 0x0e0
59 #define PMD_PAGE_SIZE(pmdval) (1024 << (((pmdval) & _PMD_SIZE) >> 4))
62 #define PTE_ATOMIC_UPDATES 1