[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 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


 


Rackspace

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