Subversion Repositories HelenOS

Compare Revisions

Regard whitespace Rev 1953 → Rev 1954

/trunk/kernel/generic/src/mm/as.c
192,7 → 192,7
 
/*
* Destroy address space areas of the address space.
* The B+tee must be walked carefully because it is
* The B+tree must be walked carefully because it is
* also being destroyed.
*/
for (cond = true; cond; ) {
416,7 → 416,7
/*
* Finish TLB shootdown sequence.
*/
tlb_invalidate_pages(AS->asid, area->base + pages*PAGE_SIZE, area->pages - pages);
tlb_invalidate_pages(as->asid, area->base + pages*PAGE_SIZE, area->pages - pages);
tlb_shootdown_finalize();
/*
609,7 → 609,7
 
/*
* Now we are committed to sharing the area.
* First prepare the area for sharing.
* First, prepare the area for sharing.
* Then it will be safe to unlock it.
*/
sh_info = src_area->sh_info;
/trunk/kernel/arch/sparc64/include/trap/mmu.h
60,7 → 60,6
/*
* First, try to refill TLB from TSB.
*/
 
#ifdef CONFIG_TSB
ldxa [%g0] ASI_IMMU, %g1 ! read TSB Tag Target Register
ldxa [%g0] ASI_IMMU_TSB_8KB_PTR_REG, %g2 ! read TSB 8K Pointer
84,7 → 83,7
 
#ifdef CONFIG_TSB
ldxa [%g0] ASI_DMMU, %g1 ! read TSB Tag Target Register
srlx %g1, TSB_TAG_TARGET_CONTEXT_SHIFT, %g2 ! is this kernel miss?
srlx %g1, TSB_TAG_TARGET_CONTEXT_SHIFT, %g2 ! is this a kernel miss?
brz,pn %g2, 0f
ldxa [%g0] ASI_DMMU_TSB_8KB_PTR_REG, %g3 ! read TSB 8K Pointer
ldda [%g3] ASI_NUCLEUS_QUAD_LDD, %g4 ! 16-byte atomic load into %g4 and %g5