From owner-p4-projects@FreeBSD.ORG Sun May 4 17:07:12 2003 Return-Path: Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id B817F37B404; Sun, 4 May 2003 17:07:11 -0700 (PDT) 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 7015C37B401 for ; Sun, 4 May 2003 17:07:11 -0700 (PDT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1A1C243FA3 for ; Sun, 4 May 2003 17:07:11 -0700 (PDT) (envelope-from marcel@freebsd.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.6/8.12.6) with ESMTP id h4507A0U007192 for ; Sun, 4 May 2003 17:07:10 -0700 (PDT) (envelope-from marcel@freebsd.org) Received: (from perforce@localhost) by repoman.freebsd.org (8.12.6/8.12.6/Submit) id h4507Av8007189 for perforce@freebsd.org; Sun, 4 May 2003 17:07:10 -0700 (PDT) Date: Sun, 4 May 2003 17:07:10 -0700 (PDT) Message-Id: <200305050007.h4507Av8007189@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: perforce set sender to marcel@freebsd.org using -f From: Marcel Moolenaar To: Perforce Change Reviews Subject: PERFORCE change 30563 for review X-BeenThere: p4-projects@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: p4 projects tree changes List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 May 2003 00:07:13 -0000 http://perforce.freebsd.org/chv.cgi?CH=30563 Change 30563 by marcel@marcel_nfs on 2003/05/04 17:06:50 Add two debugging printfs to help diagnose if we have processes using the high FP. Since IA32 process will use the high FP by definition, this also comes in handy for debuggin IA32 support. Affected files ... .. //depot/projects/ia64_epc/sys/ia64/ia64/trap.c#18 edit Differences ... ==== //depot/projects/ia64_epc/sys/ia64/ia64/trap.c#18 (text+ko) ==== @@ -534,6 +534,8 @@ pcb = td->td_pcb; pcpu = pcb->pcb_fpcpu; + printf("XXX: td %p: highfp on cpu %p\n", td, pcpu); + /* * The pcpu variable holds the address of the per-CPU * structure of the CPU currently holding this threads @@ -577,6 +579,8 @@ thr = PCPU_GET(fpcurthread); + printf("XXX: cpu %p: highfp belongs to td %p\n", pcpu, thr); + /* * The thr variable holds the thread that owns the high FP * registers currently on this CPU. Free this CPU so that