From owner-p4-projects@FreeBSD.ORG Tue Mar 21 03:12:41 2006 Return-Path: X-Original-To: p4-projects@freebsd.org Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id 117A416A41F; Tue, 21 Mar 2006 03:12:41 +0000 (UTC) X-Original-To: perforce@freebsd.org Delivered-To: perforce@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 93BE416A400 for ; Tue, 21 Mar 2006 03:12:40 +0000 (UTC) (envelope-from kmacy@freebsd.org) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5F02743D49 for ; Tue, 21 Mar 2006 03:12:40 +0000 (GMT) (envelope-from kmacy@freebsd.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.1/8.13.1) with ESMTP id k2L3Ceo7094956 for ; Tue, 21 Mar 2006 03:12:40 GMT (envelope-from kmacy@freebsd.org) Received: (from perforce@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id k2L3CeKD094953 for perforce@freebsd.org; Tue, 21 Mar 2006 03:12:40 GMT (envelope-from kmacy@freebsd.org) Date: Tue, 21 Mar 2006 03:12:40 GMT Message-Id: <200603210312.k2L3CeKD094953@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: perforce set sender to kmacy@freebsd.org using -f From: Kip Macy To: Perforce Change Reviews Cc: Subject: PERFORCE change 93681 for review X-BeenThere: p4-projects@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: p4 projects tree changes List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 21 Mar 2006 03:12:41 -0000 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