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] Why using hypercall_page ?

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] Why using hypercall_page ?
From: Wu Bingzheng <wubingzheng@xxxxxxxxx>
Date: Thu, 23 Oct 2008 09:17:57 +0800
Delivery-date: Wed, 22 Oct 2008 18:18:39 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:subject:from:to:content-type :date:message-id:mime-version:x-mailer:content-transfer-encoding; bh=MTDfJ3WU5lPEZdqtOqp87SynzET9Uk38yB+D0F18lrk=; b=Aqtu6wQ4mebCv2pX6F6gOK1ueqgb6awMlcOKU2zmbRIokePeIky25Q26KvFGZ30cny dpJeJ/6TSFkN12IwYL+TrUxcv1s1T8mVtk6mG6gADdyKDG6FJDYM6HCvslbxMXE/ZQr/ 2eiHDr/0HeZyi40079UDvBPaWkuy/7FlIqozc=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=subject:from:to:content-type:date:message-id:mime-version:x-mailer :content-transfer-encoding; b=AhvDtbQaq/t4aSgof+Q9Aim4asV6wGl2yloi55bCiYOZcu+hqw2REizXP1FHU8AJVn SxrjUQ4yKHFnppPoMj2Yx4QpC4T/VQWklckMl4vkJGJvEXrhyMe4acaiSH9tuToEgYsH 5DImoJ2BxTjdybaDMlswS0xdgpIASI/4hvpfA=
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
Hello,

I am studing Xen hypercall now. I found that hypercall is invoked via
hypercall_page, which is only filled with (in
no-hypervisor-kernel-mode ):

mov $i, %eax
int $0x82
ret

Why not invoked the hypercall directly by "int $0x82" ? What's the
advantage of using hypercall_page?

Thanks,
Wu


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

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