[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] How Xen handles Dom1 interrupts?
On 8/11/06, Ian Campbell <Ian.Campbell@xxxxxxxxxxxxx> wrote: 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 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. Thanks. Jun _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |