Date: Sun, 4 May 2003 17:07:10 -0700 (PDT) From: Marcel Moolenaar <marcel@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 30563 for review Message-ID: <200305050007.h4507Av8007189@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200305050007.h4507Av8007189>