WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

[Xen-devel] Interrupt handler in Xen?

To: xen-devel@xxxxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] Interrupt handler in Xen?
From: Gu Nu <gnu04@xxxxxxxxx>
Date: Mon, 28 Jun 2004 02:27:10 -0700 (PDT)
Delivery-date: Mon, 28 Jun 2004 10:31:22 +0100
Envelope-to: steven.hand@xxxxxxxxxxxx
List-archive: <http://sourceforge.net/mailarchive/forum.php?forum=xen-devel>
List-help: <mailto:xen-devel-request@lists.sourceforge.net?subject=help>
List-id: List for Xen developers <xen-devel.lists.sourceforge.net>
List-post: <mailto:xen-devel@lists.sourceforge.net>
List-subscribe: <https://lists.sourceforge.net/lists/listinfo/xen-devel>, <mailto:xen-devel-request@lists.sourceforge.net?subject=subscribe>
List-unsubscribe: <https://lists.sourceforge.net/lists/listinfo/xen-devel>, <mailto:xen-devel-request@lists.sourceforge.net?subject=unsubscribe>
Sender: xen-devel-admin@xxxxxxxxxxxxxxxxxxxxx
Hi, all
 
I am reading Xen's source code. Currently it seems that I have some difficulty in finding the interrupt handlers of the virtual machine. In arch/xen/kernl/Evtchn.c, a fucntion
     int bind_virq_to_irq (int virq)
is defined to map virtual irq to irq. However, how can I find the handlers for these irq?
Take the network interrupts as an example, in arch/xen/drivers/network/Network.c,
 bind_virq_to_irq is called to set the interrupt handler. However, the source code is
 
  network_irq = bind_virq_to_irq(VIRQ_NET);
     ....
  No specific function pointers are mentioned in this process. So, how these interrupt
 handlers are set?
 
  Thanks a lot!
 
Andy


Do you Yahoo!?
Yahoo! Mail - 50x more storage than other providers!
<Prev in Thread] Current Thread [Next in Thread>