diff options
Diffstat (limited to 'include/asm-powerpc/mmu-hash64.h')
-rw-r--r-- | include/asm-powerpc/mmu-hash64.h | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/include/asm-powerpc/mmu-hash64.h b/include/asm-powerpc/mmu-hash64.h index b8dca30bd0b5..695962f02059 100644 --- a/include/asm-powerpc/mmu-hash64.h +++ b/include/asm-powerpc/mmu-hash64.h | |||
@@ -94,6 +94,9 @@ extern char initial_stab[]; | |||
94 | #define HPTE_R_C ASM_CONST(0x0000000000000080) | 94 | #define HPTE_R_C ASM_CONST(0x0000000000000080) |
95 | #define HPTE_R_R ASM_CONST(0x0000000000000100) | 95 | #define HPTE_R_R ASM_CONST(0x0000000000000100) |
96 | 96 | ||
97 | #define HPTE_V_1TB_SEG ASM_CONST(0x4000000000000000) | ||
98 | #define HPTE_V_VRMA_MASK ASM_CONST(0x4001ffffff000000) | ||
99 | |||
97 | /* Values for PP (assumes Ks=0, Kp=1) */ | 100 | /* Values for PP (assumes Ks=0, Kp=1) */ |
98 | /* pp0 will always be 0 for linux */ | 101 | /* pp0 will always be 0 for linux */ |
99 | #define PP_RWXX 0 /* Supervisor read/write, User none */ | 102 | #define PP_RWXX 0 /* Supervisor read/write, User none */ |
@@ -103,12 +106,12 @@ extern char initial_stab[]; | |||
103 | 106 | ||
104 | #ifndef __ASSEMBLY__ | 107 | #ifndef __ASSEMBLY__ |
105 | 108 | ||
106 | typedef struct { | 109 | struct hash_pte { |
107 | unsigned long v; | 110 | unsigned long v; |
108 | unsigned long r; | 111 | unsigned long r; |
109 | } hpte_t; | 112 | }; |
110 | 113 | ||
111 | extern hpte_t *htab_address; | 114 | extern struct hash_pte *htab_address; |
112 | extern unsigned long htab_size_bytes; | 115 | extern unsigned long htab_size_bytes; |
113 | extern unsigned long htab_hash_mask; | 116 | extern unsigned long htab_hash_mask; |
114 | 117 | ||