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: "Jun Koi" <junkoi2004@xxxxxxxxx>, "Ian Campbell" <Ian.Campbell@xxxxxxxxxxxxx>
Subject: RE: [Xen-devel] How Xen handles Dom1 interrupts?
From: "Petersson, Mats" <Mats.Petersson@xxxxxxx>
Date: Fri, 11 Aug 2006 16:20:38 +0200
Cc: Xen Developers <xen-devel@xxxxxxxxxxxxxxxxxxx>, Daniel Stodden <stodden@xxxxxxxxxx>
Delivery-date: Fri, 11 Aug 2006 07:21:18 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <fdaac4d50608110714p4756de6ei64ea279c19cc1a35@xxxxxxxxxxxxxx>
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>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: Aca9UKTK8Hmm/cDHReqdnBmiW8N9jQAAEPFg
Thread-topic: [Xen-devel] How Xen handles Dom1 interrupts?
[snip]
> >         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... 

I gues Christian (or someone else who actually knows how it works) can
either confirm this, or tell us how it works. 

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



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