Subversion Repositories HelenOS-historic

Compare Revisions

Ignore whitespace Rev 1766 → Rev 1767

/kernel/trunk/arch/ia64/src/mm/vhpt.c
42,8 → 42,9
 
__address vhpt_set_up(void)
{
vhpt_base=(vhpt_entry_t*) frame_alloc(VHPT_WIDTH-FRAME_WIDTH,FRAME_KA);
if(!vhpt_base) panic("Kernel configured with VHPT but no memory for table.");
vhpt_base = frame_alloc(VHPT_WIDTH-FRAME_WIDTH,FRAME_KA | FRAME_ATOMIC);
if(!vhpt_base)
panic("Kernel configured with VHPT but no memory for table.");
vhpt_invalidate_all();
return (__address) vhpt_base;
}
/kernel/trunk/arch/ppc64/src/mm/page.c
274,7 → 274,7
}
/* Allocate page hash table */
phte_t *physical_phte = (phte_t *) frame_alloc(PHT_ORDER, FRAME_KA | FRAME_PANIC);
phte_t *physical_phte = (phte_t *) frame_alloc(PHT_ORDER, FRAME_KA | FRAME_ATOMIC);
ASSERT((__address) physical_phte % (1 << PHT_BITS) == 0);
pht_init();