ia64/xen-unstable

view xen/arch/x86/Makefile @ 15425:79b180596baf

x86: introduce specialized clear_page()

More than doubles performance of page clearing on not too old
processors (SSE2 supported).

Signed-off-by: Jan Beulich <jbeulich@novell.com>
Signed-off-by: Keir Fraser <keir@xensource.com>
author kfraser@localhost.localdomain
date Wed Jun 20 16:18:03 2007 +0100 (2007-06-20)
parents 23c4790512db
children a330276d8c90
line source
1 subdir-y += acpi
2 subdir-y += cpu
3 subdir-y += genapic
4 subdir-y += hvm
5 subdir-y += mm
6 subdir-y += oprofile
8 subdir-$(x86_32) += x86_32
9 subdir-$(x86_64) += x86_64
11 obj-y += apic.o
12 obj-y += bitops.o
13 obj-y += clear_page.o
14 obj-y += compat.o
15 obj-y += delay.o
16 obj-y += dmi_scan.o
17 obj-y += domctl.o
18 obj-y += domain.o
19 obj-y += domain_build.o
20 obj-y += e820.o
21 obj-y += extable.o
22 obj-y += flushtlb.o
23 obj-y += platform_hypercall.o
24 obj-y += i387.o
25 obj-y += i8259.o
26 obj-y += io_apic.o
27 obj-y += irq.o
28 obj-y += microcode.o
29 obj-y += mm.o
30 obj-y += mpparse.o
31 obj-y += nmi.o
32 obj-y += numa.o
33 obj-y += physdev.o
34 obj-y += rwlock.o
35 obj-y += setup.o
36 obj-y += shutdown.o
37 obj-y += smp.o
38 obj-y += smpboot.o
39 obj-y += srat.o
40 obj-y += string.o
41 obj-y += sysctl.o
42 obj-y += time.o
43 obj-y += traps.o
44 obj-y += usercopy.o
45 obj-y += x86_emulate.o
46 obj-y += machine_kexec.o
47 obj-y += crash.o
49 obj-$(crash_debug) += gdbstub.o
51 $(TARGET): $(TARGET)-syms boot/mkelf32
52 ./boot/mkelf32 $(TARGET)-syms $(TARGET) 0x100000 \
53 `$(NM) -nr $(TARGET)-syms | head -n 1 | sed -e 's/^\([^ ]*\).*/0x\1/'`
55 ALL_OBJS := $(BASEDIR)/arch/x86/boot/built_in.o $(ALL_OBJS)
57 $(TARGET)-syms: $(ALL_OBJS) xen.lds
58 $(MAKE) -f $(BASEDIR)/Rules.mk $(BASEDIR)/common/symbols-dummy.o
59 $(LD) $(LDFLAGS) -T xen.lds -N $(ALL_OBJS) \
60 $(BASEDIR)/common/symbols-dummy.o -o $(@D)/.$(@F).0
61 $(NM) -n $(@D)/.$(@F).0 | $(BASEDIR)/tools/symbols >$(@D)/.$(@F).0.S
62 $(MAKE) -f $(BASEDIR)/Rules.mk $(@D)/.$(@F).0.o
63 $(LD) $(LDFLAGS) -T xen.lds -N $(ALL_OBJS) \
64 $(@D)/.$(@F).0.o -o $(@D)/.$(@F).1
65 $(NM) -n $(@D)/.$(@F).1 | $(BASEDIR)/tools/symbols >$(@D)/.$(@F).1.S
66 $(MAKE) -f $(BASEDIR)/Rules.mk $(@D)/.$(@F).1.o
67 $(LD) $(LDFLAGS) -T xen.lds -N $(ALL_OBJS) \
68 $(@D)/.$(@F).1.o -o $@
69 rm -f $(@D)/.$(@F).[0-9]*
71 asm-offsets.s: $(TARGET_SUBARCH)/asm-offsets.c $(HDRS)
72 $(CC) $(CFLAGS) -S -o $@ $<
74 xen.lds: $(TARGET_SUBARCH)/xen.lds.S $(HDRS)
75 $(CC) -P -E -Ui386 $(AFLAGS) -o $@ $<
77 boot/mkelf32: boot/mkelf32.c
78 $(HOSTCC) $(HOSTCFLAGS) -o $@ $<
80 .PHONY: clean
81 clean::
82 rm -f asm-offsets.s xen.lds boot/*.o boot/*~ boot/core boot/mkelf32
83 rm -f $(BASEDIR)/.xen-syms.[0-9]*