Date: Mon, 10 Apr 2006 22:33:46 GMT From: Kip Macy <kmacy@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 94956 for review Message-ID: <200604102233.k3AMXkwd063202@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=94956 Change 94956 by kmacy@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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200604102233.k3AMXkwd063202>