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 Xen handles Dom1 interrupts?

To: "Petersson, Mats" <Mats.Petersson@xxxxxxx>
Subject: RE: [Xen-devel] How Xen handles Dom1 interrupts?
From: Ian Campbell <Ian.Campbell@xxxxxxxxxxxxx>
Date: Fri, 11 Aug 2006 15:51:35 +0100
Cc: Xen Developers <xen-devel@xxxxxxxxxxxxxxxxxxx>, Daniel Stodden <stodden@xxxxxxxxxx>, Jun Koi <junkoi2004@xxxxxxxxx>
Delivery-date: Fri, 11 Aug 2006 07:52:03 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <907625E08839C4409CE5768403633E0BA7FE2F@xxxxxxxxxxxxxxxxx>
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: <907625E08839C4409CE5768403633E0BA7FE2F@xxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
On Fri, 2006-08-11 at 16:20 +0200, Petersson, Mats wrote:
> > >         obj-y := $(call cherrypickxen, $(obj-y))
> > >
> > > at the end of the Makefile will rewrite foo.o as foo-xen.o 
> > if there is a
> > > foo-xen.c or foo-xen.S available. The function is defined in
> > > scripts/Makefile.xen
> > 
> > Interesting! Would you tell me why we need that trick?
> > 
> > In that case, we can empty file traps-xen.c, no? Because according
> to
> > your mention, only the filename (and its existence) matters, but not
> > its content.
> 
> I may be wrong here, but I think what is meant is not that it replaces
> foo.o with foo-xen.o by renaming foo.o in the filesystem, but rather
> that the file listed in the variable obj is renamed, and thus it wants
> to build foo-xen.o instead of foo.o, and use it for linking. To build
> foo-xen.o, you'd obviously need a foo-xen.[cS] file as a
> source-file... 

That's exactly right.

Ian.



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