debuggers.hg

changeset 3331:5de01047a378

bitkeeper revision 1.1159.1.486 (41c1a68cZmAJPf5BRttK5N6DNHO9wg)

Don't bind a misdirect virq handler.
author cl349@arcadians.cl.cam.ac.uk
date Thu Dec 16 15:15:24 2004 +0000 (2004-12-16)
parents 89eb81aebc69
children cd853615e655
files netbsd-2.0-xen-sparse/sys/arch/xen/xen/evtchn.c
line diff
     1.1 --- a/netbsd-2.0-xen-sparse/sys/arch/xen/xen/evtchn.c	Thu Dec 16 15:15:00 2004 +0000
     1.2 +++ b/netbsd-2.0-xen-sparse/sys/arch/xen/xen/evtchn.c	Thu Dec 16 15:15:24 2004 +0000
     1.3 @@ -80,7 +80,6 @@ static int irq_bindcount[NR_IRQS];
     1.4  static int xen_die_handler(void *);
     1.5  #endif
     1.6  static int xen_debug_handler(void *);
     1.7 -static int xen_misdirect_handler(void *);
     1.8  
     1.9  void
    1.10  events_default_setup()
    1.11 @@ -111,10 +110,6 @@ init_events()
    1.12  	event_set_handler(irq, &xen_debug_handler, NULL, IPL_DEBUG);
    1.13  	hypervisor_enable_irq(irq);
    1.14  
    1.15 -	irq = bind_virq_to_irq(VIRQ_MISDIRECT);
    1.16 -	event_set_handler(irq, &xen_misdirect_handler, NULL, IPL_DIE);
    1.17 -	hypervisor_enable_irq(irq);
    1.18 -
    1.19  	/* This needs to be done early, but after the IRQ subsystem is
    1.20  	 * alive. */
    1.21  	ctrl_if_init();
    1.22 @@ -370,13 +365,3 @@ xen_debug_handler(void *arg)
    1.23  	printf("debug event\n");
    1.24  	return 0;
    1.25  }
    1.26 -
    1.27 -static int
    1.28 -xen_misdirect_handler(void *arg)
    1.29 -{
    1.30 -#if 0
    1.31 -	char *msg = "misdirect\n";
    1.32 -	(void)HYPERVISOR_console_io(CONSOLEIO_write, strlen(msg), msg);
    1.33 -#endif
    1.34 -	return 0;
    1.35 -}