[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [Xen-devel] How Xen handles Dom1 interrupts?



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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.