From mboxrd@z Thu Jan 1 00:00:00 1970 From: Deepak Manohar Subject: Re: simple backend, frontend Date: Sun, 14 Nov 2004 10:34:43 -0500 Message-ID: References: <200411122131.00338.mark.williamson@cl.cam.ac.uk> Reply-To: Deepak Manohar Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <200411122131.00338.mark.williamson@cl.cam.ac.uk> Sender: xen-devel-admin@lists.sourceforge.net Errors-To: xen-devel-admin@lists.sourceforge.net List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , List-Archive: To: mark.williamson@cl.cam.ac.uk Cc: Keir Fraser , andrew.warfield@cl.cam.ac.uk, xen-devel@lists.sourceforge.net List-Id: xen-devel@lists.xenproject.org Hi, Sorry I seem to be stuck and asking similar questions. > > linux-2.6.9-xen-sparse/arch/xen/kernel/evtchn.c > > That's the one in kernel users will call into. That file does not contain any code to create event channels. Do I have to write some code in Xen tht uses xen/common/event_channel.c creates an event channel on init. And then pass the port returned to some other program which passes it to the other domain? Thanks. Deepak On Fri, 12 Nov 2004 21:30:59 +0000, Mark A. Williamson wrote: > > can u tell me in which file is the api to perform operations on a > > shared event channel? is it in xen/common/event_channel.c or is it in > > That one implements Xen's handling of event channel ops - you don't need to > interact with it directly. > > > linux-2.6.9-xen-sparse/drivers/xen/evtchn/evtchn.c or > > That provides the event channel to userspace interaction - Xend uses it but > you don't need to. > > > linux-2.6.9-xen-sparse/arch/xen/kernel/evtchn.c > > That's the one in kernel users will call into. > > > further more why arent these files in the linux-2.4.27-xen-sparse > > directory? (everything works fine so it is not a prob - but i thought > > the same file structure might have been followed for 2.4 and 2.6) > > There's some magic that symlinks files from the 2.6 tree into the right place. > I've never tried to figure out how it works, though ;-) > > HTH, > Mark > ------------------------------------------------------- This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8