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?

On Fri, 2006-08-11 at 12:39 +0200, Daniel Stodden wrote:
> 
> > 3) How is linux-xen-sparse/arch/i386/kernel/traps-xen.c compiled,
> > while it is not refereed to in
> > linux-xen-sparse/arch/i386/kernel/Makefile? I see traps.c is
> refereed
> > instead of traps-xen.c, but I still saw traps-xen.o there after
> > compiling? What traps.c does, and what traps-xen.c does, since both
> > are very similar to me.
> 
> uhhm. now you got me. i noticed the file names changed at some point,
> i didn't bother why yet, or how the makefiles changed. maybe someone
> from xensource can tell. 

        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

Ian.



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