PERFORCE change 95416 for review

Kip Macy kmacy at FreeBSD.org
Mon Apr 17 04:53:00 UTC 2006


http://perforce.freebsd.org/chv.cgi?CH=95416

Change 95416 by kmacy at 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"


More information about the p4-projects mailing list