Date: Sun, 9 Apr 2006 00:34:52 GMT From: Kip Macy <kmacy@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 94830 for review Message-ID: <200604090034.k390YqlP041931@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=94830 Change 94830 by kmacy@kmacy_storage:sun4v_rwbuf on 2006/04/09 00:34:34 initialize queue head registers add another field to init mondo Affected files ... .. //depot/projects/kmacy_sun4v/src/sys/sun4v/sun4v/support.S#12 edit Differences ... ==== //depot/projects/kmacy_sun4v/src/sys/sun4v/sun4v/support.S#12 (text+ko) ==== @@ -812,7 +812,7 @@ stx %o0, [%g2] stx %o1, [%g2+8] stx %o2, [%g2+0x10] - stx %g0, [%g2+0x18] + stx %o3, [%g2+0x18] stx %g0, [%g2+0x20] stx %g0, [%g2+0x28] stx %g0, [%g2+0x30] @@ -820,8 +820,21 @@ retl membar #Sync END(init_mondo) - - + + +ENTRY(init_mondo_queue) + mov CPU_MONDO_QUEUE_TAIL, %g2 + ldxa [%g2]ASI_QUEUE, %g2 + mov CPU_MONDO_QUEUE_HEAD, %g6 + stxa %g2, [%g6]ASI_QUEUE + mov DEV_MONDO_QUEUE_TAIL, %g2 + ldxa [%g2]ASI_QUEUE, %g2 + mov DEV_MONDO_QUEUE_HEAD, %g6 + stxa %g2, [%g6]ASI_QUEUE + retl + membar #Sync +END(init_mondo_queue) + #ifdef GPROF ENTRY(user)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200604090034.k390YqlP041931>