Subversion Repositories HelenOS-historic

Compare Revisions

Ignore whitespace Rev 1760 → Rev 1745

/kernel/trunk/arch/ppc64/src/mm/page.c
274,7 → 274,8
}
/* Allocate page hash table */
phte_t *physical_phte = (phte_t *) frame_alloc(PHT_ORDER, FRAME_KA | FRAME_PANIC);
phte_t *physical_phte = (phte_t *) PFN2ADDR(frame_alloc(PHT_ORDER, FRAME_KA | FRAME_PANIC));
phte = (phte_t *) PA2KA((__address) physical_phte);
ASSERT((__address) physical_phte % (1 << PHT_BITS) == 0);
pht_init();