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] how xen inject a virtual irq to a domain when a msg is avail

To: xen-devel@xxxxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] how xen inject a virtual irq to a domain when a msg is available for this domain?
From: Xin Zhao <zhaoxin@xxxxxxxxxxxxxx>
Date: Mon, 6 Dec 2004 15:52:03 -0500 (EST)
Delivery-date: Mon, 06 Dec 2004 20:53:42 +0000
Envelope-to: xen+James.Bulpin@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,

Can somebody explain how xen insert a virtual irq to a domU/dom0?  I am
looking at the codes of block driver and do see that a frontend block
driver request a irq and bind it to a event channel. The driver can then
define the interrupt handler for this irq. But I don't know where I can
find the code of xen injecting irq. Can someone help me out?

Another question, in xu.c, function map_control_interface return
(control_if_t *)(vaddr+2048), what that means? why 2048? I cannot find the
related document. :(

Thanks in advance for kind helps.

Xin


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/xen-devel

<Prev in Thread] Current Thread [Next in Thread>