Subversion Repositories HelenOS

Rev

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

Rev 1996 Rev 2001
Line 96... Line 96...
96
 
96
 
97
    tsb->tag.context = as->asid;
97
    tsb->tag.context = as->asid;
98
    tsb->tag.va_tag = t->page >> VA_TAG_PAGE_SHIFT;
98
    tsb->tag.va_tag = t->page >> VA_TAG_PAGE_SHIFT;
99
    tsb->data.value = 0;
99
    tsb->data.value = 0;
100
    tsb->data.size = PAGESIZE_8K;
100
    tsb->data.size = PAGESIZE_8K;
101
    tsb->data.pfn = t->frame >> PAGE_WIDTH;
101
    tsb->data.pfn = t->frame >> FRAME_WIDTH;
102
    tsb->data.cp = t->c;
102
    tsb->data.cp = t->c;
103
#ifdef CONFIG_VIRT_IDX_CACHE
103
#ifdef CONFIG_VIRT_IDX_CACHE
104
    tsb->data.cv = t->c;
104
    tsb->data.cv = t->c;
105
#endif /* CONFIG_VIRT_IDX_CACHE */
105
#endif /* CONFIG_VIRT_IDX_CACHE */
106
    tsb->data.p = t->k;     /* p as privileged */
106
    tsb->data.p = t->k;     /* p as privileged */
Line 138... Line 138...
138
 
138
 
139
    tsb->tag.context = as->asid;
139
    tsb->tag.context = as->asid;
140
    tsb->tag.va_tag = t->page >> VA_TAG_PAGE_SHIFT;
140
    tsb->tag.va_tag = t->page >> VA_TAG_PAGE_SHIFT;
141
    tsb->data.value = 0;
141
    tsb->data.value = 0;
142
    tsb->data.size = PAGESIZE_8K;
142
    tsb->data.size = PAGESIZE_8K;
143
    tsb->data.pfn = t->frame >> PAGE_WIDTH;
143
    tsb->data.pfn = t->frame >> FRAME_WIDTH;
144
    tsb->data.cp = t->c;
144
    tsb->data.cp = t->c;
145
#ifdef CONFIG_VIRT_IDX_CACHE
145
#ifdef CONFIG_VIRT_IDX_CACHE
146
    tsb->data.cv = t->c;
146
    tsb->data.cv = t->c;
147
#endif /* CONFIG_VIRT_IDX_CACHE */
147
#endif /* CONFIG_VIRT_IDX_CACHE */
148
    tsb->data.p = t->k;     /* p as privileged */
148
    tsb->data.p = t->k;     /* p as privileged */