Rev 1946 | Rev 2009 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1946 | Rev 1996 | ||
---|---|---|---|
Line 109... | Line 109... | ||
109 | data.v = true; |
109 | data.v = true; |
110 | data.size = pagesize; |
110 | data.size = pagesize; |
111 | data.pfn = fr.pfn; |
111 | data.pfn = fr.pfn; |
112 | data.l = locked; |
112 | data.l = locked; |
113 | data.cp = cacheable; |
113 | data.cp = cacheable; |
- | 114 | #ifdef CONFIG_VIRT_IDX_CACHE |
|
114 | data.cv = cacheable; |
115 | data.cv = cacheable; |
- | 116 | #endif /* CONFIG_VIRT_IDX_CACHE */ |
|
115 | data.p = true; |
117 | data.p = true; |
116 | data.w = true; |
118 | data.w = true; |
117 | data.g = false; |
119 | data.g = false; |
118 | 120 | ||
119 | dtlb_data_in_write(data.value); |
121 | dtlb_data_in_write(data.value); |
Line 144... | Line 146... | ||
144 | data.v = true; |
146 | data.v = true; |
145 | data.size = PAGESIZE_8K; |
147 | data.size = PAGESIZE_8K; |
146 | data.pfn = fr.pfn; |
148 | data.pfn = fr.pfn; |
147 | data.l = false; |
149 | data.l = false; |
148 | data.cp = t->c; |
150 | data.cp = t->c; |
- | 151 | #ifdef CONFIG_VIRT_IDX_CACHE |
|
149 | data.cv = t->c; |
152 | data.cv = t->c; |
- | 153 | #endif /* CONFIG_VIRT_IDX_CACHE */ |
|
150 | data.p = t->k; /* p like privileged */ |
154 | data.p = t->k; /* p like privileged */ |
151 | data.w = ro ? false : t->w; |
155 | data.w = ro ? false : t->w; |
152 | data.g = t->g; |
156 | data.g = t->g; |
153 | 157 | ||
154 | dtlb_data_in_write(data.value); |
158 | dtlb_data_in_write(data.value); |
Line 178... | Line 182... | ||
178 | data.v = true; |
182 | data.v = true; |
179 | data.size = PAGESIZE_8K; |
183 | data.size = PAGESIZE_8K; |
180 | data.pfn = fr.pfn; |
184 | data.pfn = fr.pfn; |
181 | data.l = false; |
185 | data.l = false; |
182 | data.cp = t->c; |
186 | data.cp = t->c; |
- | 187 | #ifdef CONFIG_VIRT_IDX_CACHE |
|
183 | data.cv = t->c; |
188 | data.cv = t->c; |
- | 189 | #endif /* CONFIG_VIRT_IDX_CACHE */ |
|
184 | data.p = t->k; /* p like privileged */ |
190 | data.p = t->k; /* p like privileged */ |
185 | data.w = false; |
191 | data.w = false; |
186 | data.g = t->g; |
192 | data.g = t->g; |
187 | 193 | ||
188 | itlb_data_in_write(data.value); |
194 | itlb_data_in_write(data.value); |