Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/xen/xen print the IRQ used by the domain controller.



details:   https://anonhg.NetBSD.org/src/rev/8829e4d0cce3
branches:  trunk
changeset: 579553:8829e4d0cce3
user:      bouyer <bouyer%NetBSD.org@localhost>
date:      Thu Mar 17 15:31:17 2005 +0000

description:
print the IRQ used by the domain controller.

diffstat:

 sys/arch/xen/xen/ctrl_if.c |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (26 lines):

diff -r fb8867fa07cc -r 8829e4d0cce3 sys/arch/xen/xen/ctrl_if.c
--- a/sys/arch/xen/xen/ctrl_if.c        Thu Mar 17 15:30:45 2005 +0000
+++ b/sys/arch/xen/xen/ctrl_if.c        Thu Mar 17 15:31:17 2005 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ctrl_if.c,v 1.2 2005/03/09 22:39:21 bouyer Exp $       */
+/*     $NetBSD: ctrl_if.c,v 1.3 2005/03/17 15:31:17 bouyer Exp $       */
 
 /******************************************************************************
  * ctrl_if.c
@@ -9,7 +9,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ctrl_if.c,v 1.2 2005/03/09 22:39:21 bouyer Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ctrl_if.c,v 1.3 2005/03/17 15:31:17 bouyer Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -496,6 +496,7 @@
 
     ctrl_if_evtchn = xen_start_info.domain_controller_evtchn;
     ctrl_if_irq    = bind_evtchn_to_irq(ctrl_if_evtchn);
+    aprint_verbose("Domain controller: using irq %d\n", ctrl_if_irq);
 
     event_set_handler(ctrl_if_irq, &ctrl_if_interrupt, NULL, IPL_HIGH + 2);
     hypervisor_enable_irq(ctrl_if_irq);



Home | Main Index | Thread Index | Old Index