Subversion Repositories HelenOS

Rev

Rev 1996 | Rev 2048 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1996 Rev 2009
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
#ifdef CONFIG_VIRT_IDX_DCACHE
115
    data.cv = cacheable;
115
    data.cv = cacheable;
116
#endif /* CONFIG_VIRT_IDX_CACHE */
116
#endif /* CONFIG_VIRT_IDX_DCACHE */
117
    data.p = true;
117
    data.p = true;
118
    data.w = true;
118
    data.w = true;
119
    data.g = false;
119
    data.g = false;
120
 
120
 
121
    dtlb_data_in_write(data.value);
121
    dtlb_data_in_write(data.value);
Line 146... Line 146...
146
    data.v = true;
146
    data.v = true;
147
    data.size = PAGESIZE_8K;
147
    data.size = PAGESIZE_8K;
148
    data.pfn = fr.pfn;
148
    data.pfn = fr.pfn;
149
    data.l = false;
149
    data.l = false;
150
    data.cp = t->c;
150
    data.cp = t->c;
151
#ifdef CONFIG_VIRT_IDX_CACHE
151
#ifdef CONFIG_VIRT_IDX_DCACHE
152
    data.cv = t->c;
152
    data.cv = t->c;
153
#endif /* CONFIG_VIRT_IDX_CACHE */
153
#endif /* CONFIG_VIRT_IDX_DCACHE */
154
    data.p = t->k;      /* p like privileged */
154
    data.p = t->k;      /* p like privileged */
155
    data.w = ro ? false : t->w;
155
    data.w = ro ? false : t->w;
156
    data.g = t->g;
156
    data.g = t->g;
157
   
157
   
158
    dtlb_data_in_write(data.value);
158
    dtlb_data_in_write(data.value);
Line 182... Line 182...
182
    data.v = true;
182
    data.v = true;
183
    data.size = PAGESIZE_8K;
183
    data.size = PAGESIZE_8K;
184
    data.pfn = fr.pfn;
184
    data.pfn = fr.pfn;
185
    data.l = false;
185
    data.l = false;
186
    data.cp = t->c;
186
    data.cp = t->c;
187
#ifdef CONFIG_VIRT_IDX_CACHE
-
 
188
    data.cv = t->c;
-
 
189
#endif /* CONFIG_VIRT_IDX_CACHE */
-
 
190
    data.p = t->k;      /* p like privileged */
187
    data.p = t->k;      /* p like privileged */
191
    data.w = false;
188
    data.w = false;
192
    data.g = t->g;
189
    data.g = t->g;
193
   
190
   
194
    itlb_data_in_write(data.value);
191
    itlb_data_in_write(data.value);