From: Gu Nu Subject: Interrupt handler in Xen? Date: Mon, 28 Jun 2004 02:27:10 -0700 (PDT) Sender: xen-devel-admin@lists.sourceforge.net Message-ID: <20040628092710.90414.qmail@web60903.mail.yahoo.com> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="0-751396119-1088414830=:89831" Return-path: Errors-To: xen-devel-admin@lists.sourceforge.net List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , List-Archive: To: xen-devel@lists.sourceforge.net List-Id: xen-devel@lists.xenproject.org --0-751396119-1088414830=:89831 Content-Type: text/plain; charset=us-ascii 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! --0-751396119-1088414830=:89831 Content-Type: text/html; charset=us-ascii
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! --0-751396119-1088414830=:89831-- ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com