PERFORCE change 94956 for review
Kip Macy
kmacy at FreeBSD.org
Mon Apr 10 22:33:47 UTC 2006
http://perforce.freebsd.org/chv.cgi?CH=94956
Change 94956 by kmacy at kmacy_storage:sun4v_rwbuf on 2006/04/10 22:33:07
don't enable interrupts in _start - silly vestige from sparc64
fix scratch register comment, pcb to rarely used in traps to warrant
scratch register
Affected files ...
.. //depot/projects/kmacy_sun4v/src/sys/sun4v/sun4v/locore.S#10 edit
Differences ...
==== //depot/projects/kmacy_sun4v/src/sys/sun4v/sun4v/locore.S#10 (text+ko) ====
@@ -66,11 +66,6 @@
sub %l0, SPOFF + CCFSZ, %sp
/*
- * Enable interrupts.
- */
- wrpr %g0, PSTATE_KERNEL, %pstate
-
- /*
* Do initial bootstrap to setup pmap and thread0.
*/
call sparc64_init
@@ -99,14 +94,12 @@
/*
* Disable interrupts, normal globals.
*/
- wrpr %g0, PSTATE_NORMAL, %pstate
-
mov %o0, PCPU_REG
/*
- * store PCB_REG and PCPU_REG into their respective scratchpad registers
- * this allows us to retrieve them in the trap handlers - where we receive
- * a new set of globals
+ * store PCPU_REG into its scratchpad register
+ * this allows us to retrieve it in the trap handlers -
+ * where we receive a new set of globals
*/
mov SCRATCH_REG_PCPU, %g2
stxa PCPU_REG, [%g2]ASI_SCRATCHPAD
More information about the p4-projects
mailing list