kernel: Make SMP support default (and non-optional).
[dragonfly.git] / sys / platform / pc64 / conf / files
CommitLineData
d7f50089
YY
1# This file tells config what files go into building a kernel,
2# files marked standard are always included.
3#
d7f50089 4linux32_genassym.o optional compat_linux32 \
b2b3ffcd 5 dependency "$S/emulation/linux/x86_64/linux32_genassym.c ${FORWARD_HEADERS_COOKIE}" \
40ec0564 6 compile-with "${CC} ${CFLAGS:N-fno-common} ${WERROR} -c ${.IMPSRC}" \
d7f50089
YY
7 no-obj no-implicit-rule \
8 clean "linux32_genassym.o"
9#
10linux32_assym.h optional compat_linux32 \
11 dependency "$S/kern/genassym.sh linux32_genassym.o" \
12 compile-with "sh $S/kern/genassym.sh linux32_genassym.o > ${.TARGET}" \
13 no-obj no-implicit-rule before-depend \
14 clean "linux32_assym.h"
15#
c8fe38ae
MD
16font.h optional sc_dflt_font \
17 compile-with "uudecode < /usr/share/syscons/fonts/${SC_DFLT_FONT}-8x16.fnt && file2c 'static u_char dflt_font_16[16*256] = {' '};' < ${SC_DFLT_FONT}-8x16 > font.h && uudecode < /usr/share/syscons/fonts/${SC_DFLT_FONT}-8x14.fnt && file2c 'static u_char dflt_font_14[14*256] = {' '};' < ${SC_DFLT_FONT}-8x14 >> font.h && uudecode < /usr/share/syscons/fonts/${SC_DFLT_FONT}-8x8.fnt && file2c 'static u_char dflt_font_8[8*256] = {' '};' < ${SC_DFLT_FONT}-8x8 >> font.h" \
18 no-obj no-implicit-rule before-depend \
19 clean "font.h"
20#
21atkbdmap.h optional atkbd_dflt_keymap \
22 compile-with "/usr/sbin/kbdcontrol -L ${ATKBD_DFLT_KEYMAP} | sed -e 's/^static keymap_t.* = /static keymap_t key_map = /' -e 's/^static accentmap_t.* = /static accentmap_t accent_map = /' > atkbdmap.h" \
23 no-obj no-implicit-rule before-depend \
24 clean "atkbdmap.h"
25#
26ukbdmap.h optional ukbd_dflt_keymap \
27 compile-with "/usr/sbin/kbdcontrol -L ${UKBD_DFLT_KEYMAP} | sed -e 's/^static keymap_t.* = /static keymap_t key_map = /' -e 's/^static accentmap_t.* = /static accentmap_t accent_map = /' > ukbdmap.h" \
28 no-obj no-implicit-rule before-depend \
29 clean "ukbdmap.h"
30#
0f74dae5
SW
31hpt27xx_lib.o optional hpt27xx \
32 dependency "$S/dev/raid/hpt27xx/x86_64-elf.hpt27xx_lib.o.uu" \
33 compile-with "uudecode < $S/dev/raid/hpt27xx/x86_64-elf.hpt27xx_lib.o.uu" \
34 no-implicit-rule
35#
35878b55
SW
36hptmvraid.o optional hptmv \
37 dependency "$S/dev/raid/hptmv/x86_64-elf.raid.o.uu" \
38 compile-with "uudecode < $S/dev/raid/hptmv/x86_64-elf.raid.o.uu" \
39 no-implicit-rule
40#
0e32bd08
SW
41hptrr_lib.o optional hptrr \
42 dependency "$S/dev/raid/hptrr/x86_64-elf.hptrr_lib.o.uu" \
43 compile-with "uudecode < $S/dev/raid/hptrr/x86_64-elf.hptrr_lib.o.uu" \
44 no-implicit-rule
45#
d7f50089
YY
46emulation/linux/linux_file.c optional compat_linux32
47emulation/linux/linux_getcwd.c optional compat_linux32
48emulation/linux/linux_ioctl.c optional compat_linux32
49emulation/linux/linux_ipc.c optional compat_linux32
50emulation/linux/linux_mib.c optional compat_linux32
51emulation/linux/linux_misc.c optional compat_linux32
52emulation/linux/linux_signal.c optional compat_linux32
53emulation/linux/linux_socket.c optional compat_linux32
54emulation/linux/linux_stats.c optional compat_linux32
55emulation/linux/linux_sysctl.c optional compat_linux32
56emulation/linux/linux_uid16.c optional compat_linux32
57emulation/linux/linux_util.c optional compat_linux32
b2b3ffcd
SS
58emulation/linux/x86_64/linux32_dummy.c optional compat_linux32
59emulation/linux/x86_64/linux32_locore.s optional compat_linux32 \
d7f50089 60 dependency "linux32_assym.h"
b2b3ffcd
SS
61emulation/linux/x86_64/linux32_machdep.c optional compat_linux32
62emulation/linux/x86_64/linux32_sysent.c optional compat_linux32
63emulation/linux/x86_64/linux32_sysvec.c optional compat_linux32
efba76b4
SW
64emulation/ndis/kern_ndis.c optional ndisapi pci
65emulation/ndis/kern_windrv.c optional ndisapi pci
66emulation/ndis/subr_hal.c optional ndisapi pci
67emulation/ndis/subr_ndis.c optional ndisapi pci
68emulation/ndis/subr_ntoskrnl.c optional ndisapi pci
69emulation/ndis/subr_pe.c optional ndisapi pci
e395458e 70emulation/ndis/subr_usbd.c optional ndisapi pci usb
efba76b4 71emulation/ndis/winx64_wrap.S optional ndisapi pci
d7f50089 72
503ce1e0
SS
73# XXX use assembler versions of bf_enc and des_enc
74crypto/blowfish/bf_enc.c optional ipsec ipsec_esp
75crypto/des/des_enc.c optional ipsec ipsec_esp
76crypto/des/des_ecb.c optional netsmbcrypto
77crypto/des/des_enc.c optional netsmbcrypto
78crypto/des/des_setkey.c optional netsmbcrypto
79crypto/blowfish/bf_enc.c optional crypto
80crypto/des/des_enc.c optional crypto
81crypto/des/des_ecb.c optional crypto
82crypto/des/des_setkey.c optional crypto
83
5d614934 84${OSACPI_MD_DIR}/OsdEnvironment.c optional acpi
cc4ba8f9 85${OSACPI_MD_DIR}/acpi_cpu_machdep.c optional acpi
5d614934
SW
86${OSACPI_MD_DIR}/acpi_machdep.c optional acpi
87${OSACPI_MD_DIR}/acpi_pstate_machdep.c optional acpi
88${OSACPI_MD_DIR}/acpi_wakeup.c optional acpi
89acpi.h optional acpi \
90 dependency "$S/${ACPICA_DIR}/include/acpi.h" \
91 compile-with "cp $S/${ACPICA_DIR}/include/acpi.h ${.OBJDIR}/" \
92 no-obj no-implicit-rule before-depend \
93 clean "acpi.h"
94platform/acenv.h optional acpi \
95 dependency "$S/${ACPICA_DIR}/include/platform/acenv.h" \
96 compile-with "mkdir -p ${.OBJDIR}/platform; cat ${.ALLSRC} | sed -e 's/__FreeBSD__/__DragonFly__/' -e 's/acfreebsd.h/acdragonfly.h/' > ${.TARGET}" \
97 no-obj no-implicit-rule before-depend \
98 clean "acenv.h"
99acpi_wakecode.h optional acpi \
100 dependency "$S/${OSACPI_MD_DIR}/acpi_wakecode.S" \
101 compile-with "${MAKE} -f $S/${OSACPI_MD_DIR}/Makefile MAKESRCPATH=$S/${OSACPI_MD_DIR}" \
102 no-obj no-implicit-rule before-depend \
103 clean "acpi_wakecode.h acpi_wakecode.o acpi_wakecode.bin"
104#
ceab6f8f
SW
105dev/crypto/aesni/aesencdec_x86_64.S optional aesni
106dev/crypto/aesni/aeskeys_x86_64.S optional aesni
107dev/crypto/aesni/aesni.c optional aesni
108dev/crypto/aesni/aesni_wrap.c optional aesni
7677fc11
AH
109dev/crypto/padlock/padlock.c optional padlock
110dev/crypto/padlock/padlock_cipher.c optional padlock
111dev/crypto/padlock/padlock_hash.c optional padlock
112dev/crypto/padlock/padlock_rng.c optional padlock
113dev/crypto/padlock/rng_harvest_x86_64.S optional padlock
83c37607
AH
114dev/crypto/rdrand/rdrand.c optional rdrand
115dev/crypto/rdrand/rdrand_harvest_x86_64.S optional rdrand
c8fe38ae
MD
116dev/video/fb/fb.c optional vga
117dev/video/fb/splash.c optional splash
118dev/video/fb/vga.c optional vga
364ddae1 119dev/powermng/est/est.c optional cpu_enable_est
efba76b4
SW
120dev/netif/ndis/if_ndis.c optional ndis
121dev/netif/ndis/if_ndis_pccard.c optional ndis pccard
122dev/netif/ndis/if_ndis_pci.c optional ndis cardbus
123dev/netif/ndis/if_ndis_pci.c optional ndis pci
124dev/netif/ndis/if_ndis_usb.c optional ndis usb
c8fe38ae
MD
125dev/misc/kbd/atkbd.c optional atkbd
126dev/misc/kbd/atkbdc.c optional atkbdc
127dev/misc/kbd/kbd.c optional atkbd
128dev/misc/kbd/kbd.c optional kbd
129dev/misc/kbd/kbd.c optional sc
130dev/misc/kbd/kbd.c optional ukbd
fc9700a1
MD
131dev/misc/kbd/kbdsw.c optional atkbd
132dev/misc/kbd/kbdsw.c optional kbd
133dev/misc/kbd/kbdsw.c optional sc
134dev/misc/kbd/kbdsw.c optional ukbd
c8fe38ae
MD
135dev/misc/syscons/schistory.c optional sc
136dev/misc/syscons/scmouse.c optional sc
137dev/misc/syscons/scterm.c optional sc
138dev/misc/syscons/scterm-dumb.c optional sc
139dev/misc/syscons/scterm-sc.c optional sc
140dev/misc/syscons/scvgarndr.c optional sc vga
141dev/misc/syscons/scvidctl.c optional sc
142dev/misc/syscons/scvtb.c optional sc
143dev/misc/syscons/syscons.c optional sc
144dev/misc/syscons/sysmouse.c optional sc
28730bd3 145kern/link_elf_obj.c standard
d7f50089
YY
146vfs/smbfs/smbfs_io.c optional smbfs
147vfs/smbfs/smbfs_node.c optional smbfs
148vfs/smbfs/smbfs_smb.c optional smbfs
149vfs/smbfs/smbfs_subr.c optional smbfs
150vfs/smbfs/smbfs_vfsops.c optional smbfs
151vfs/smbfs/smbfs_vnops.c optional smbfs
152
2acda721 153cpu/x86_64/misc/atomic.c standard \
40ec0564 154 compile-with "${CC} -c ${CFLAGS} ${WERROR} ${DEFINED_PROF:S/^$/-fomit-frame-pointer/} ${.IMPSRC}"
0e6594a8 155platform/pc64/x86_64/autoconf.c standard
1918fc5c 156platform/pc64/x86_64/mpboot.S standard
d7f50089
YY
157
158# DDB XXX
0e6594a8
SW
159cpu/x86_64/misc/x86_64-gdbstub.c optional ddb
160cpu/x86_64/misc/lwbuf.c standard
2acda721
JG
161cpu/x86_64/misc/elf_machdep.c standard
162cpu/x86_64/misc/in_cksum2.s optional inet
48c8994d 163cpu/x86_64/misc/in_cksum2.s optional inet6
2acda721
JG
164cpu/x86_64/misc/ktr.c optional ktr
165cpu/x86_64/misc/db_disasm.c optional ddb
bb6811be 166cpu/x86_64/misc/bzeront.s standard
38e518ec 167cpu/x86_64/misc/monitor.s standard
d7f50089
YY
168#
169# DOS mbr and gpt
170kern/subr_diskmbr.c standard
171kern/subr_diskgpt.c standard
172
c8fe38ae 173libkern/memset.c standard
d7f50089
YY
174libkern/stack_protector.c standard
175
176# DEVICES
177#
178
179# PLATFORM FILES
180#
b2b3ffcd 181platform/pc64/x86_64/exception.S standard
e1d76d85 182platform/pc64/x86_64/msi_vector.s standard
b2b3ffcd
SS
183platform/pc64/x86_64/ipl.s standard
184platform/pc64/x86_64/global.s standard
185platform/pc64/x86_64/support.s standard
186platform/pc64/x86_64/sigtramp.s standard
187platform/pc64/x86_64/swtch.s standard
188platform/pc64/x86_64/npx.c standard
3f6724a9
SW
189platform/pc64/x86_64/db_interface.c optional ddb
190platform/pc64/x86_64/db_trace.c optional ddb
be66ad11
AH
191platform/pc64/x86_64/dump_machdep.c standard
192platform/pc64/x86_64/minidump_machdep.c standard
b2b3ffcd
SS
193platform/pc64/x86_64/vm_machdep.c standard
194platform/pc64/x86_64/machdep.c standard
195platform/pc64/x86_64/userldt.c standard
196platform/pc64/x86_64/tls.c standard
197platform/pc64/x86_64/trap.c standard
198platform/pc64/x86_64/procfs_machdep.c standard
199platform/pc64/x86_64/initcpu.c standard
200platform/pc64/x86_64/identcpu.c standard
02f0e3c6 201platform/pc64/x86_64/amd64_mem.c standard
b2b3ffcd 202platform/pc64/x86_64/cpufreq_machdep.c standard
c9852c4c 203platform/pc64/x86_64/msi.c standard
c8fe38ae 204
9a4bd8f3
SZ
205platform/pc64/apic/lapic.c standard
206platform/pc64/apic/ioapic.c standard
207platform/pc64/apic/ioapic_abi.c standard
208platform/pc64/apic/ioapic_ipl.s standard
209platform/pc64/apic/apic_vector.s standard
46d4e165 210
b2b3ffcd 211bus/isa/x86_64/isa.c optional isa
b2b3ffcd 212bus/isa/x86_64/isa_dma.c optional isa
c8fe38ae 213
b2b3ffcd 214platform/pc64/x86_64/nexus.c standard
c8fe38ae 215
1b505979 216platform/pc64/icu/icu.c standard
c8fe38ae
MD
217platform/pc64/icu/icu_abi.c standard
218platform/pc64/icu/icu_ipl.s standard
219platform/pc64/icu/icu_vector.s standard
7265a4fe 220platform/pc64/icu/elcr.c standard
d7f50089 221
b2b3ffcd
SS
222bus/pci/x86_64/legacy.c optional pci
223bus/pci/x86_64/pci_bus.c optional pci
224bus/pci/x86_64/pci_cfgreg.c optional pci
9a4bd8f3 225bus/pci/x86_64/mptable_pci.c optional pci
2ac05e91 226# notyet (BIOS struct and functions)
b2b3ffcd 227#bus/pci/x86_64/pci_pir.c optional pci
2ac05e91 228
b2b3ffcd
SS
229platform/pc64/x86_64/pmap.c standard
230platform/pc64/x86_64/pmap_inval.c standard
231platform/pc64/x86_64/busdma_machdep.c standard
232platform/pc64/x86_64/sysarch.c standard
b2b3ffcd 233platform/pc64/x86_64/ipl_funcs.c standard
c8fe38ae 234kern/syscalls.c standard
1918fc5c 235platform/pc64/x86_64/mp_machdep.c standard
9a4bd8f3 236platform/pc64/x86_64/mptable.c standard
3a3c37b8
SZ
237platform/pc64/acpica5/acpi_sdt.c standard
238platform/pc64/acpica5/acpi_fadt.c standard
9a4bd8f3 239platform/pc64/acpica5/acpi_madt.c standard
c8fe38ae
MD
240dev/misc/atkbd/atkbd_isa.c optional atkbd
241dev/misc/atkbdc_layer/atkbdc_isa.c optional atkbdc
3b681182 242dev/misc/ppc/ppc.c optional ppc
c8fe38ae
MD
243dev/misc/psm/psm.c optional psm
244dev/serial/sio/sio.c optional sio
245bus/isa/syscons_isa.c optional sc
246bus/isa/vga_isa.c optional vga
f8c035f1 247platform/pc64/isa/clock.c standard nowerror
57a9c56b 248platform/pc64/isa/isa_intr.c standard
b2b3ffcd 249platform/pc64/x86_64/spinlock.s standard
e14d027d 250dev/netif/elink_layer/elink.c optional ep