Subversion Repositories HelenOS-historic

Compare Revisions

Regard whitespace Rev 901 → Rev 902

/kernel/trunk/genarch/src/mm/page_ht.c
172,6 → 172,17
t = (pte_t *) malloc(sizeof(pte_t), FRAME_ATOMIC);
ASSERT(t != NULL);
t->g = (flags & PAGE_GLOBAL) != 0;
t->x = (flags & PAGE_EXEC) != 0;
t->w = (flags & PAGE_WRITE) != 0;
t->k = !(flags & PAGE_USER);
t->c = (flags & PAGE_CACHEABLE) != 0;
t->p = !(flags & PAGE_NOT_PRESENT);
 
t->as = as;
t->page = page;
t->frame = frame;
 
hash_table_insert(&page_ht, key, &t->link);
}