Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 17 Apr 2006 04:52:59 GMT
From:      Kip Macy <kmacy@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 95416 for review
Message-ID:  <200604170452.k3H4qx4J094844@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=95416

Change 95416 by kmacy@kmacy_storage:sun4v_rwbuf on 2006/04/17 04:52:52

	block interrupts with pil
	don't enable until trap table is set

Affected files ...

.. //depot/projects/kmacy_sun4v/src/sys/sun4v/sun4v/mp_locore.S#4 edit

Differences ...

==== //depot/projects/kmacy_sun4v/src/sys/sun4v/sun4v/mp_locore.S#4 (text+ko) ====

@@ -147,7 +147,7 @@
 	set	PCPU_PAGES * PAGE_SIZE - PC_SIZEOF, %l2
 	add	%l1, %l2, %l1
 	sub	%l1, SPOFF + CCFSZ, %sp
-	wrpr	%g0, PSTATE_KERNEL, %pstate
+	wrpr	%g0, PIL_TICK, %pil
 #if KTR_COMPILE & KTR_SMP
 	CATR(KTR_SMP,
 	    "_mp_start: bootstrap cpuid=%d mid=%d pcpu=%#lx data=%#lx sp=%#lx"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200604170452.k3H4qx4J094844>