Rev 4537 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 4537 | Rev 4668 | ||
---|---|---|---|
Line 190... | Line 190... | ||
190 | t->x = (flags & PAGE_EXEC) != 0; |
190 | t->x = (flags & PAGE_EXEC) != 0; |
191 | t->w = (flags & PAGE_WRITE) != 0; |
191 | t->w = (flags & PAGE_WRITE) != 0; |
192 | t->k = !(flags & PAGE_USER); |
192 | t->k = !(flags & PAGE_USER); |
193 | t->c = (flags & PAGE_CACHEABLE) != 0; |
193 | t->c = (flags & PAGE_CACHEABLE) != 0; |
194 | t->p = !(flags & PAGE_NOT_PRESENT); |
194 | t->p = !(flags & PAGE_NOT_PRESENT); |
- | 195 | t->a = false; |
|
- | 196 | t->d = false; |
|
195 | 197 | ||
196 | t->as = as; |
198 | t->as = as; |
197 | t->page = ALIGN_DOWN(page, PAGE_SIZE); |
199 | t->page = ALIGN_DOWN(page, PAGE_SIZE); |
198 | t->frame = ALIGN_DOWN(frame, FRAME_SIZE); |
200 | t->frame = ALIGN_DOWN(frame, FRAME_SIZE); |
199 | 201 |