Rev 2089 | Rev 2141 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 2089 | Rev 2134 | ||
---|---|---|---|
Line 480... | Line 480... | ||
480 | ctx.v = pc_save.v = mmu_primary_context_read(); |
480 | ctx.v = pc_save.v = mmu_primary_context_read(); |
481 | ctx.context = asid; |
481 | ctx.context = asid; |
482 | mmu_primary_context_write(ctx.v); |
482 | mmu_primary_context_write(ctx.v); |
483 | 483 | ||
484 | for (i = 0; i < cnt; i++) { |
484 | for (i = 0; i < cnt; i++) { |
485 | itlb_demap(TLB_DEMAP_PAGE, TLB_DEMAP_PRIMARY, page + i * |
485 | itlb_demap(TLB_DEMAP_PAGE, TLB_DEMAP_PRIMARY, |
486 | PAGE_SIZE); |
486 | page + i * PAGE_SIZE); |
487 | dtlb_demap(TLB_DEMAP_PAGE, TLB_DEMAP_PRIMARY, page + i * |
487 | dtlb_demap(TLB_DEMAP_PAGE, TLB_DEMAP_PRIMARY, |
488 | PAGE_SIZE); |
488 | page + i * PAGE_SIZE); |
489 | } |
489 | } |
490 | 490 | ||
491 | mmu_primary_context_write(pc_save.v); |
491 | mmu_primary_context_write(pc_save.v); |
492 | 492 | ||
493 | nucleus_leave(); |
493 | nucleus_leave(); |