Date: Tue, 25 Apr 2006 07:03:12 GMT From: Kip Macy <kmacy@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 96051 for review Message-ID: <200604250703.k3P73Cn4073298@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=96051 Change 96051 by kmacy@kmacy_storage:sun4v_rwbuf on 2006/04/25 07:02:55 use real addresses to ack ipis Affected files ... .. //depot/projects/kmacy_sun4v/src/sys/sun4v/sun4v/interrupt.S#7 edit Differences ... ==== //depot/projects/kmacy_sun4v/src/sys/sun4v/sun4v/interrupt.S#7 (text+ko) ==== @@ -425,16 +425,15 @@ END(tl_invlpg) ENTRY(set_ackmask) - MAGIC_TRAP_ON - GET_PCPU_SCRATCH - ld [%g3], %g1 - ld [PCPU(CPUMASK)], %g4 + GET_PCPU_PHYS_SCRATCH(%g6) + wr %g0, ASI_REAL, %asi + lda [%g3]%asi, %g1 + lda [PCPU(CPUMASK)]%asi, %g4 1: or %g1, %g4, %g2 - cas [%g3], %g1, %g2 + casa [%g3]%asi, %g1, %g2 cmp %g1, %g2 bne,pn %icc, 1b mov %g2, %g1 - MAGIC_TRAP_OFF ba,a,pt %xcc, cpu_mondo - nop + membar #StoreLoad END(set_ackmask)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200604250703.k3P73Cn4073298>