Subversion Repositories HelenOS-historic

Compare Revisions

Ignore whitespace Rev 412 → Rev 413

/SPARTAN/trunk/arch/mips32/src/mm/tlb.c
315,12 → 315,12
void tlb_invalidate(asid_t asid)
{
entry_hi_t hi;
pri_t pri;
ipl_t ipl;
int i;
ASSERT(asid != ASID_INVALID);
 
pri = cpu_priority_high();
ipl = interrupts_disable();
for (i = 0; i < TLB_SIZE; i++) {
cp0_index_write(i);
336,7 → 336,7
}
}
cpu_priority_restore(pri);
interrupts_restore(ipl);
}
 
/** Try to find PTE for faulting address