From: =?GBK?B?zuK80cPx?= Subject: How to mask an event channel? Date: Tue, 24 Jun 2008 10:52:02 +0800 (CST) Message-ID: <4498743.752821214275922209.JavaMail.coremail@bj163app131.163.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0125895766==" Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Mime-version: 1.0 Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org --===============0125895766== Content-Type: multipart/alternative; boundary="----=_Part_201071_14034142.1214275922207" ------=_Part_201071_14034142.1214275922207 Content-Type: text/plain; charset=gbk Content-Transfer-Encoding: 7bit In , chapter 5 Event Channels, they say that:"Event Notifications can be masked by setting a flag; this is equivalent to disabling interrupts and can be used to ensure atomicity of certain operation in the guest kernel". My question is : I know that we can use 'xc_evtchn_unmask(xcehandle, port)' to unmask an event channel , but I can not find the function used to mask an event channel. Can any body solve the problem? Thanks a lot. Danius Wu =============================================== ------=_Part_201071_14034142.1214275922207 Content-Type: text/html; charset=gbk Content-Transfer-Encoding: quoted-printable
 In <Xen In seterface Manual>, chapter 5 Event Channels, th= ey say that:"Event Notifications can be masked by setting a flag; this is e= quivalent to disabling interrupts and can be used to ensure atomicity of ce= rtain operation in the guest kernel".

My question is :
I know tha= t we can use 'xc_evtchn_unmask(xcehandle, port)' to unmask an event channel= , but I can not find the function used to mask an event channel.
Can an= y body solve the problem?
Thanks a lot.
     &nbs= p;                &= nbsp;               =                 = ;                &n= bsp;     Danius Wu
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
 
 
<= div> 

=20
=C9=CF=B7=BF=C0=CF=B4=F3= =C2=F2=B6=FE=CA=D6=B7=BF=A3=AC=BF=B4=CA=B5=BE=B0=D5=D5=C6=AC=A3=AC=CC=F4=D7=A8=D2=B5=BE=AD=BC=CD=C8= =CB ------=_Part_201071_14034142.1214275922207-- --===============0125895766== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel --===============0125895766==--