Date: Fri, 10 Mar 2006 09:04:08 GMT From: Kip Macy <kmacy@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 93103 for review Message-ID: <200603100904.k2A948lR085614@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=93103 Change 93103 by kmacy@kmacy_storage:sun4v_work on 2006/03/10 09:03:07 we're currently setting the context area in the TTE tag consequently we need to set the TSB context index to -1 Affected files ... .. //depot/projects/kmacy_sun4v/src/sys/sun4v/sun4v/tsb.c#10 edit Differences ... ==== //depot/projects/kmacy_sun4v/src/sys/sun4v/sun4v/tsb.c#10 (text+ko) ==== @@ -83,14 +83,18 @@ hvtsb->hvtsb_idxpgsz = TTE8K; hvtsb->hvtsb_assoc = 1; hvtsb->hvtsb_ntte = (PAGE_SIZE >> TTE_SHIFT); - hvtsb->hvtsb_ctx_index = 0; + hvtsb->hvtsb_ctx_index = -1; /* TSBs aren't shared so if we don't + * set the context in the TTEs we can + * simplify miss handling slightly + */ hvtsb->hvtsb_pgszs = TSB8K; hvtsb->hvtsb_rsvd = 0; hvtsb->hvtsb_pa = VM_PAGE_TO_PHYS(m); tsb_pages = hvtsb->hvtsb_ntte >> (PAGE_SHIFT - TTE_SHIFT); *scratchval = hvtsb->hvtsb_pa | tsb_pages; - + + printf("hvtsb_pa=0x%lx\n", hvtsb->hvtsb_pa); return vtophys(hvtsb); }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200603100904.k2A948lR085614>