Rev 1380 | Rev 1702 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
| Rev 1380 | Rev 1424 | ||
|---|---|---|---|
| Line 184... | Line 184... | ||
| 184 | t->k = !(flags & PAGE_USER); |
184 | t->k = !(flags & PAGE_USER); |
| 185 | t->c = (flags & PAGE_CACHEABLE) != 0; |
185 | t->c = (flags & PAGE_CACHEABLE) != 0; |
| 186 | t->p = !(flags & PAGE_NOT_PRESENT); |
186 | t->p = !(flags & PAGE_NOT_PRESENT); |
| 187 | 187 | ||
| 188 | t->as = as; |
188 | t->as = as; |
| 189 | t->page = page; |
189 | t->page = ALIGN_DOWN(page, PAGE_SIZE); |
| 190 | t->frame = frame; |
190 | t->frame = ALIGN_DOWN(frame, FRAME_SIZE); |
| 191 | 191 | ||
| 192 | hash_table_insert(&page_ht, key, &t->link); |
192 | hash_table_insert(&page_ht, key, &t->link); |
| 193 | } |
193 | } |
| 194 | } |
194 | } |
| 195 | 195 | ||