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

RE: [Xen-devel] How to use the functions provided by xen?

To: 张琳 <zhanglin_nk@xxxxxxx>, <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: RE: [Xen-devel] How to use the functions provided by xen?
From: "Han, Weidong" <weidong.han@xxxxxxxxx>
Date: Sat, 15 Mar 2008 17:49:40 +0800
Delivery-date: Sat, 15 Mar 2008 02:50:47 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <47DB1F4A.000001.07597@bjapp34>
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/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <47DB1F4A.000001.07597@bjapp34>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AciGOPCKeyt24R4JSs2mPq+RfdygRQAR9teA
Thread-topic: [Xen-devel] How to use the functions provided by xen?
They are declared in tools/libxc/xenctrl.h. In fact, these functions are called in many places. You can search them in source code for reference.
 
Randy (Weidong)


From: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx [mailto:xen-devel-bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of 张琳
Sent: 2008年3月15日 8:59
To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] How to use the functions provided by xen?

Hello~~~

I need to use some functions provided by xen, such as xc_vcpu_getcontext(), xc_map_foreign_ranger() and so on. I have find them in the /libxc/xc_domain.c~~~

But I don't know how to use them in my program.

For example, if I need to use the function named printf(), I have to include the header file <stdio.h>~~~
Now, I want to use these functions provided by xen, which header files do I need to include?

Good luck!

yours:Lin




===============================================
快来和我一起享受TOM免费邮箱吧! 看看除了1.5G,还有什么?

看看女人都在聊什么? 美图尽赏 聊天世界

明星金曲免费送(http://mm.tom.com/ivr/):周杰伦 林俊杰 庞龙 张惠妹

劲爆歌曲尽情点(http://mm.tom.com/ivr/):霍元甲 吉祥三宝 人质 曹操

炫酷彩铃免费送(http://mm.tom.com/cailing/):周杰伦帮你接电话 麻烦女朋友 七里香 小城故事
===============================================
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>