PERFORCE change 93681 for review

Kip Macy kmacy at FreeBSD.org
Tue Mar 21 03:12:41 UTC 2006


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

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


More information about the p4-projects mailing list