Subversion Repositories HelenOS

Rev

Rev 2462 | Rev 3788 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 2462 Rev 2745
Line 488... Line 488...
488
 * @param page First page which to sweep out from ITLB and DTLB.
488
 * @param page First page which to sweep out from ITLB and DTLB.
489
 * @param cnt Number of ITLB and DTLB entries to invalidate.
489
 * @param cnt Number of ITLB and DTLB entries to invalidate.
490
 */
490
 */
491
void tlb_invalidate_pages(asid_t asid, uintptr_t page, count_t cnt)
491
void tlb_invalidate_pages(asid_t asid, uintptr_t page, count_t cnt)
492
{
492
{
493
    int i;
493
    unsigned int i;
494
    tlb_context_reg_t pc_save, ctx;
494
    tlb_context_reg_t pc_save, ctx;
495
   
495
   
496
    /* switch to nucleus because we are mapped by the primary context */
496
    /* switch to nucleus because we are mapped by the primary context */
497
    nucleus_enter();
497
    nucleus_enter();
498
   
498