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] Setting callbacks for events

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] Setting callbacks for events
From: "Srujan D. Kotikela" <ksrujandas@xxxxxxxxx>
Date: Thu, 7 Oct 2010 20:07:13 -0500
Delivery-date: Thu, 07 Oct 2010 18:07:49 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:date:message-id :subject:from:to:content-type; bh=MlHf2wE79miUnrRVuZiiYkBFTxO7R7VfzBZoDR7lY98=; b=xkopdr4rh6sKoK0KraqKG2MgGO6P1BTaKN31b0kPCZ1Guw8eVIIO08Ux7QEx75/Dqz Q6Q6JoYELaTPfhE9DKY6cqjbz9qGURCnhKJvheDgZlH1E7yS52qeIbJSNXf8GTPM3yI7 GU8/fPQysPrPoqApIHt3zeDOs+4KJLxw6o4Wk=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=Rk3KA9WK/yfBhGGmxHh3EhORevbDY8uHNOkV0DPy9Iaw28nmuidB53ZjZVRsqu/lGP 4P6GV0g//4OaYUmVpfX56iaKnk1+uRKZV0oCc9BeWb3ZtYw+p/b1wsK5OeLxLjYLHwz1 EtSNICVEH8Ic+OvTzLfsqz5ExQto4DoglJj1o=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
How do I set/register call backs for events? I saw the hypercall HYPERVISOR_set_callback() which takes event selector, event address, failsafe selector and failsafe address as parameters. I was expecting a function pointer to be passed. Can anyone explain me how work this out?

--
Srujan D. Kotikela
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>