Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 21 Mar 2006 03:12:40 GMT
From:      Kip Macy <kmacy@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 93681 for review
Message-ID:  <200603210312.k2L3CeKD094953@repoman.freebsd.org>

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

Change 93681 by kmacy@kmacy_storage:sun4vtmp on 2006/03/21 03:11:45

	enable signals to be sent to processes
	set pil to 0 in idle thread "just in case"

Affected files ...

.. //depot/projects/kmacy_sun4v/src/sys/sun4v/sun4v/machdep.c#15 edit

Differences ...

==== //depot/projects/kmacy_sun4v/src/sys/sun4v/sun4v/machdep.c#15 (text+ko) ====

@@ -326,8 +326,8 @@
 	 * Initialize the console before printing anything.
 	 */
 	cninit();
+	tick_init(clock);
 
-	tick_init(clock);
 	/*
 	 * Panic is there is no metadata.  Most likely the kernel was booted
 	 * directly, instead of through loader(8).
@@ -522,8 +522,6 @@
 	sf.sf_si.si_addr = (void *)tf->tf_sfar; /* XXX */
 #else
 	printf("sendsig %d to %s\n", sig, p->p_comm);
-	hv_magic_trap_on();
-	__asm __volatile("ta 0x71");
 #endif
 	/* Copy the sigframe out to the user's stack. */
 	if (rwindow_save(td) != 0 || copyout(&sf, sfp, sizeof(*sfp)) != 0 ||
@@ -742,6 +740,7 @@
 cpu_idle(void)
 {
 	/* Insert code to halt (until next interrupt) for the idle loop */
+	wrpr(pil, 0, 0);
 }
 
 int



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