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] Add a semaphore in ring0

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] Add a semaphore in ring0
From: Carlo Maiero <zesster@xxxxxxxxx>
Date: Fri, 8 Oct 2010 16:39:04 +0200
Delivery-date: Fri, 08 Oct 2010 07:40:00 -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=taYeb/ouiDcoRBHGb2eFh37/lT98EfRWoZSluGYeobk=; b=cywfE9rUv6QqO5YiG8OvWUisEMPF4WP+k6yr7NZQX8kjHvaVfcYZ4LJU3qKIa6llGg hRdgxBCcXfGYVWxJirk3Ny2YukdiPKvtaSnvQnEKqZWVi+R0tO2HHCCdJABMMqzF7ClN 0vcyAUrZf43GHZneuAraKOJcbGspSYwJ/ViYI=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=loS7Qa9ztKg9+Sj49BU3sALySIq//eI6mlRVC3G78Q6yzkaYna2J1gPFmmDa4UPjA3 GQmwmQm5ZNkdH/MyEo8akkNwXvBAuIyDpGgC7leDovP32Y41A/KZjHPUdXLAXL4XO9mw Ew+9f9ya3Q4QYjZTRbAbzjzkfhBGS+tb1aZjs=
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 can I use a semaphore in a function that I use in /xen/arch/x86/traps.c , xen version 4.0.1
I implement the function in the same level /xen/arch/x86/ and so used in ring0.

i've to add a semaphore for a producer-consumer system.

and a semaphore (or a wait) for a condition.







_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-devel] Add a semaphore in ring0, Carlo Maiero <=