xref: /freebsd/sys/conf/files.amd64 (revision 8d96e455313f137de3023d7c893b4b24975c47bb)
1d2be885eSDavid E. O'Brien# This file tells config what files go into building a kernel,
2d2be885eSDavid E. O'Brien# files marked standard are always included.
3d2be885eSDavid E. O'Brien#
4d2be885eSDavid E. O'Brien# $FreeBSD$
5d2be885eSDavid E. O'Brien#
6d2be885eSDavid E. O'Brien# The long compile-with and dependency lines are required because of
7d2be885eSDavid E. O'Brien# limitations in config: backslash-newline doesn't work in strings, and
8d2be885eSDavid E. O'Brien# dependency lines other than the first are silently ignored.
9d2be885eSDavid E. O'Brien#
10ea0fabbcSTim J. Robbins#
11ea0fabbcSTim J. Robbinslinux32_genassym.o		optional	compat_linux32		\
12ea0fabbcSTim J. Robbins	dependency 	"$S/amd64/linux32/linux32_genassym.c"		\
13ea0fabbcSTim J. Robbins	compile-with	"${CC} ${CFLAGS:N-fno-common} -c ${.IMPSRC}"	\
14ea0fabbcSTim J. Robbins	no-obj no-implicit-rule						\
15ea0fabbcSTim J. Robbins	clean		"linux32_genassym.o"
16ea0fabbcSTim J. Robbins#
17ea0fabbcSTim J. Robbinslinux32_assym.h			optional	compat_linux32		\
18ea0fabbcSTim J. Robbins	dependency 	"$S/kern/genassym.sh linux32_genassym.o"	\
19ea0fabbcSTim J. Robbins	compile-with	"sh $S/kern/genassym.sh linux32_genassym.o > ${.TARGET}" \
20ea0fabbcSTim J. Robbins	no-obj no-implicit-rule before-depend				\
21ea0fabbcSTim J. Robbins	clean		"linux32_assym.h"
22ea0fabbcSTim J. Robbins#
230d2a2989SPeter Wemmia32_genassym.o			standard				\
24401004dbSPeter Wemm	dependency 	"$S/compat/ia32/ia32_genassym.c"		\
25d85631c4SPeter Wemm	compile-with	"${CC} ${CFLAGS:N-fno-common} -c ${.IMPSRC}"	\
26d85631c4SPeter Wemm	no-obj no-implicit-rule						\
27d85631c4SPeter Wemm	clean		"ia32_genassym.o"
28d85631c4SPeter Wemm#
290d2a2989SPeter Wemmia32_assym.h			standard				\
30d85631c4SPeter Wemm	dependency 	"$S/kern/genassym.sh ia32_genassym.o"		\
31f91067a3SDavid E. O'Brien	compile-with	"env NM='${NM}' sh $S/kern/genassym.sh ia32_genassym.o > ${.TARGET}" \
32d85631c4SPeter Wemm	no-obj no-implicit-rule before-depend				\
33d85631c4SPeter Wemm	clean		"ia32_assym.h"
34d85631c4SPeter Wemm#
3554262acdSDavid E. O'Brienfont.h				optional	sc_dflt_font		\
3654262acdSDavid E. O'Brien	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"									\
3754262acdSDavid E. O'Brien	no-obj no-implicit-rule before-depend				\
3854262acdSDavid E. O'Brien	clean		"font.h ${SC_DFLT_FONT}-8x14 ${SC_DFLT_FONT}-8x16 ${SC_DFLT_FONT}-8x8"
3954262acdSDavid E. O'Brien#
4054262acdSDavid E. O'Brienatkbdmap.h			optional	atkbd_dflt_keymap	\
4154262acdSDavid E. O'Brien	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"			\
4254262acdSDavid E. O'Brien	no-obj no-implicit-rule before-depend				\
4354262acdSDavid E. O'Brien	clean		"atkbdmap.h"
4454262acdSDavid E. O'Brien#
4554262acdSDavid E. O'Brienukbdmap.h			optional	ukbd_dflt_keymap	\
4654262acdSDavid E. O'Brien	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"			\
4754262acdSDavid E. O'Brien	no-obj no-implicit-rule before-depend				\
4854262acdSDavid E. O'Brien	clean		"ukbdmap.h"
4954262acdSDavid E. O'Brien#
501556fbfcSPeter Wemmhal.o				optional	ath_hal			\
511556fbfcSPeter Wemm	dependency	"$S/contrib/dev/ath/public/x86_64-elf.hal.o.uu"	\
521556fbfcSPeter Wemm	compile-with	"uudecode < $S/contrib/dev/ath/public/x86_64-elf.hal.o.uu" \
531556fbfcSPeter Wemm	no-implicit-rule
541556fbfcSPeter Wemmopt_ah.h			optional	ath_hal			\
551556fbfcSPeter Wemm	dependency	"$S/contrib/dev/ath/public/x86_64-elf.opt_ah.h"	\
561556fbfcSPeter Wemm	compile-with	"cp $S/contrib/dev/ath/public/x86_64-elf.opt_ah.h opt_ah.h" \
571556fbfcSPeter Wemm	no-obj no-implicit-rule before-depend				\
581556fbfcSPeter Wemm	clean		"opt_ah.h"
591556fbfcSPeter Wemm#
601b1a07adSDavid E. O'Briennvenetlib.o			optional	nve pci			\
611b1a07adSDavid E. O'Brien	dependency	"$S/contrib/dev/nve/amd64/nvenetlib.o.bz2.uu"	\
621b1a07adSDavid E. O'Brien	compile-with	"uudecode $S/contrib/dev/nve/amd64/nvenetlib.o.bz2.uu ; bzip2 -df nvenetlib.o.bz2" \
631b1a07adSDavid E. O'Brien 	no-implicit-rule
641b1a07adSDavid E. O'Brien#
651b1a07adSDavid E. O'Brienos+%DIKED-nve.h		optional	nve pci			\
661b1a07adSDavid E. O'Brien	dependency	"$S/contrib/dev/nve/os.h"			\
671b1a07adSDavid E. O'Brien	compile-with	"sed -e 's/^.*#include.*phy\.h.*$$//' $S/contrib/dev/nve/os.h > os+%DIKED-nve.h" \
68108311baSRuslan Ermilov	no-implicit-rule no-obj before-depend				\
69108311baSRuslan Ermilov	clean		"os+%DIKED-nve.h"
701b1a07adSDavid E. O'Brien#
71dc8540a9SScott Longhptmvraid.o			optional	hptmv			\
72dc8540a9SScott Long	dependency	"$S/dev/hptmv/amd64-elf.raid.o.uu"	\
73dc8540a9SScott Long	compile-with	"uudecode < $S/dev/hptmv/amd64-elf.raid.o.uu" \
74dc8540a9SScott Long	no-implicit-rule
75dc8540a9SScott Long#
76ff7bf2f7SPeter Wemmamd64/acpica/OsdEnvironment.c	optional	acpi
77ff7bf2f7SPeter Wemmamd64/acpica/acpi_machdep.c	optional	acpi
78ff7bf2f7SPeter Wemmamd64/acpica/acpi_wakeup.c	optional	acpi
790d2a2989SPeter Wemmamd64/acpica/madt.c		optional	acpi
80932fc0bcSMark Murrayamd64/amd64/amd64_mem.c		optional	mem
81003d5d66SBruce Evans#amd64/amd64/apic_vector.S	standard
820d2a2989SPeter Wemmamd64/amd64/atomic.c		standard
83b05deb9bSPeter Wemmamd64/amd64/autoconf.c		standard
8421691935SPeter Wemmamd64/amd64/bios.c		standard
85848c454cSJung-uk Kimamd64/amd64/bpf_jit_machdep.c	optional	bpf_jitter
86b05deb9bSPeter Wemmamd64/amd64/busdma_machdep.c	standard
877dca36c9SPeter Wemmamd64/amd64/cpu_switch.S	standard
88ec2343a8SPeter Wemmamd64/amd64/db_disasm.c		optional	ddb
89ec2343a8SPeter Wemmamd64/amd64/db_interface.c	optional	ddb
90ec2343a8SPeter Wemmamd64/amd64/db_trace.c		optional	ddb
91b05deb9bSPeter Wemmamd64/amd64/dump_machdep.c	standard
92b05deb9bSPeter Wemmamd64/amd64/elf_machdep.c	standard
9327828625SPeter Wemmamd64/amd64/exception.S		standard
940d2a2989SPeter Wemmamd64/amd64/fpu.c		standard
955971a234SMarcel Moolenaaramd64/amd64/gdb_machdep.c	optional	gdb
96b05deb9bSPeter Wemmamd64/amd64/identcpu.c		standard
970d2a2989SPeter Wemmamd64/amd64/in_cksum.c		optional	inet
98b05deb9bSPeter Wemmamd64/amd64/initcpu.c		standard
990d2a2989SPeter Wemmamd64/amd64/intr_machdep.c	standard
1008ab2f5ecSMark Murrayamd64/amd64/io.c		optional	io
1010d2a2989SPeter Wemmamd64/amd64/io_apic.c		standard
102b05deb9bSPeter Wemmamd64/amd64/legacy.c		standard
1030d2a2989SPeter Wemmamd64/amd64/local_apic.c	standard
10427828625SPeter Wemmamd64/amd64/locore.S		standard	no-obj
105b05deb9bSPeter Wemmamd64/amd64/machdep.c		standard
1068ab2f5ecSMark Murrayamd64/amd64/mem.c		optional	mem
1070d2a2989SPeter Wemmamd64/amd64/mp_machdep.c	optional	smp
1085fe155d0SPeter Wemmamd64/amd64/mp_watchdog.c	optional	mp_watchdog smp
1090d2a2989SPeter Wemmamd64/amd64/mpboot.S		optional	smp
1100d2a2989SPeter Wemmamd64/amd64/mptable.c		optional	mptable
1110d2a2989SPeter Wemmamd64/amd64/mptable_pci.c	optional	mptable pci
112b05deb9bSPeter Wemmamd64/amd64/nexus.c		standard
113b05deb9bSPeter Wemmamd64/amd64/pmap.c		standard
114a51bebabSBruce Evansamd64/amd64/prof_machdep.c	optional	profiling-routine
11527828625SPeter Wemmamd64/amd64/sigtramp.S		standard
11627828625SPeter Wemmamd64/amd64/support.S		standard
117b05deb9bSPeter Wemmamd64/amd64/sys_machdep.c	standard
118b05deb9bSPeter Wemmamd64/amd64/trap.c		standard
119b05deb9bSPeter Wemmamd64/amd64/tsc.c		standard
12033d13796SAlan Coxamd64/amd64/uio_machdep.c	standard
1217fb57893SAlan Coxamd64/amd64/uma_machdep.c	standard
122b05deb9bSPeter Wemmamd64/amd64/vm_machdep.c	standard
1230d2a2989SPeter Wemmamd64/isa/atpic.c		optional	atpic isa
124003d5d66SBruce Evans#amd64/isa/atpic_vector.S	optional	atpic isa
125b05deb9bSPeter Wemmamd64/isa/clock.c		standard
126463e5aa6SPeter Wemmamd64/isa/elcr.c		standard
127b05deb9bSPeter Wemmamd64/isa/isa.c			standard
128b05deb9bSPeter Wemmamd64/isa/isa_dma.c		standard
1290d2a2989SPeter Wemmamd64/isa/nmi.c			standard
130b05deb9bSPeter Wemmamd64/pci/pci_bus.c		optional	pci
1310d2a2989SPeter Wemmamd64/pci/pci_cfgreg.c		optional	pci
132a8e06f2aSRuslan Ermilovcrypto/blowfish/bf_enc.c	optional	crypto | ipsec ipsec_esp
133a8e06f2aSRuslan Ermilovcrypto/des/des_enc.c		optional	crypto | ipsec ipsec_esp | \
1348d96e455SYaroslav Tykhiy						netsmb
135939000cfSDavid E. O'Briendev/acpica/acpi_if.m		standard
1365ec8c336SScott Longdev/arcmsr/arcmsr.c		optional	arcmsr pci
137520b6353SMarius Strobldev/atkbdc/atkbd.c		optional	atkbd atkbdc
138520b6353SMarius Strobldev/atkbdc/atkbd_atkbdc.c	optional	atkbd atkbdc
139520b6353SMarius Strobldev/atkbdc/atkbdc.c		optional	atkbdc
140520b6353SMarius Strobldev/atkbdc/atkbdc_isa.c		optional	atkbdc isa
141520b6353SMarius Strobldev/atkbdc/atkbdc_subr.c	optional	atkbdc
142520b6353SMarius Strobldev/atkbdc/psm.c		optional	psm atkbdc
1436ec29713SPeter Wemm# There are no systems with isa slots, so all ed isa entries should go..
1446ec29713SPeter Wemmdev/ed/if_ed_3c503.c		optional	ed isa ed_3c503
1456ec29713SPeter Wemmdev/ed/if_ed_isa.c		optional	ed isa
1466ec29713SPeter Wemmdev/ed/if_ed_wd80x3.c		optional	ed isa
1476ec29713SPeter Wemmdev/ed/if_ed_hpp.c		optional	ed isa ed_hpp
1486ec29713SPeter Wemmdev/ed/if_ed_sic.c		optional	ed isa ed_sic
149a8e06f2aSRuslan Ermilovdev/fb/fb.c			optional	fb | vga
150b05deb9bSPeter Wemmdev/fb/splash.c			optional	splash
151b05deb9bSPeter Wemmdev/fb/vga.c			optional	vga
15280a11093SPeter Wemmdev/ichwd/ichwd.c		optional	ichwd
153d8f2dda7SBill Pauldev/if_ndis/if_ndis.c		optional	ndis
154d8f2dda7SBill Pauldev/if_ndis/if_ndis_pccard.c	optional	ndis pccard
155a8e06f2aSRuslan Ermilovdev/if_ndis/if_ndis_pci.c	optional	ndis cardbus | ndis pci
15696b50ea3SBill Pauldev/if_ndis/if_ndis_usb.c	optional	ndis usb
1578ab2f5ecSMark Murraydev/io/iodev.c			optional	io
1581c204a57SDoug Ambriskodev/ipmi/ipmi.c			optional	ipmi
1591c204a57SDoug Ambriskodev/ipmi/ipmi_smbios.c		optional	ipmi isa
1601c204a57SDoug Ambriskodev/ipmi/ipmi_pci.c		optional	ipmi pci
16101a8e5a9SWarner Loshdev/fdc/fdc.c			optional	fdc
16232cfa665SNate Lawsondev/fdc/fdc_acpi.c		optional	fdc
1638ade021aSWarner Loshdev/fdc/fdc_isa.c		optional	fdc isa
1648ade021aSWarner Loshdev/fdc/fdc_pccard.c		optional	fdc pccard
165dc8540a9SScott Longdev/hptmv/entry.c		optional	hptmv
166dc8540a9SScott Longdev/hptmv/mv.c			optional	hptmv
167dc8540a9SScott Longdev/hptmv/gui_lib.c		optional	hptmv
168dc8540a9SScott Longdev/hptmv/hptproc.c		optional	hptmv
169dc8540a9SScott Longdev/hptmv/ioctl.c		optional	hptmv
1709fa98e70SScott Longdev/hwpmc/hwpmc_amd.c		optional	hwpmc
171f263522aSJoseph Koshydev/hwpmc/hwpmc_piv.c		optional	hwpmc
172f263522aSJoseph Koshydev/hwpmc/hwpmc_x86.c		optional	hwpmc
173a8e06f2aSRuslan Ermilovdev/kbd/kbd.c			optional	atkbd | sc | ukbd
17429fe871dSMark Murraydev/mem/memutil.c		optional	mem
1751b1a07adSDavid E. O'Briendev/nve/if_nve.c		optional	nve pci
17611dc7df1SWarner Loshdev/ppc/ppc.c			optional	ppc
177b29a2e68SMarcel Moolenaardev/ppc/ppc_puc.c		optional	ppc puc
1780d2a2989SPeter Wemmdev/sio/sio.c			optional	sio
1790d2a2989SPeter Wemmdev/sio/sio_isa.c		optional	sio isa
1806d8200ffSRuslan Ermilovdev/speaker/spkr.c		optional	speaker
1810d2a2989SPeter Wemmdev/syscons/apm/apm_saver.c	optional	apm_saver apm
182b05deb9bSPeter Wemmdev/syscons/schistory.c		optional	sc
183b05deb9bSPeter Wemmdev/syscons/scmouse.c		optional	sc
184b05deb9bSPeter Wemmdev/syscons/scterm-dumb.c	optional	sc
185b05deb9bSPeter Wemmdev/syscons/scterm-sc.c		optional	sc
1860d2a2989SPeter Wemmdev/syscons/scterm.c		optional	sc
187b05deb9bSPeter Wemmdev/syscons/scvgarndr.c		optional	sc vga
188b05deb9bSPeter Wemmdev/syscons/scvidctl.c		optional	sc
189b05deb9bSPeter Wemmdev/syscons/scvtb.c		optional	sc
190b05deb9bSPeter Wemmdev/syscons/syscons.c		optional	sc
191b05deb9bSPeter Wemmdev/syscons/sysmouse.c		optional	sc
1920d2a2989SPeter Wemmdev/uart/uart_cpu_amd64.c	optional	uart
193b05deb9bSPeter Wemmgeom/geom_bsd.c			standard
194b05deb9bSPeter Wemmgeom/geom_bsd_enc.c		standard
195b05deb9bSPeter Wemmgeom/geom_mbr.c			standard
196b05deb9bSPeter Wemmgeom/geom_mbr_enc.c		standard
197b05deb9bSPeter Wemmisa/syscons_isa.c		optional	sc
198b05deb9bSPeter Wemmisa/vga_isa.c			optional	vga
1994d6bcc83SPeter Wemmkern/link_elf_obj.c		standard
2003c749e3fSDavid E. O'Brienpci/agp_amd64.c			optional	agp
2010d2a2989SPeter Wemmpci/agp_intel.c			optional	agp
2020d2a2989SPeter Wemm#
2030d2a2989SPeter Wemm# IA32 binary support
2040d2a2989SPeter Wemm#
2057a071c6aSDavid E. O'Brien#amd64/ia32/ia32_exception.S	optional	compat_ia32
20662919d78SPeter Wemmamd64/ia32/ia32_reg.c		optional	compat_ia32
2077a071c6aSDavid E. O'Brienamd64/ia32/ia32_signal.c	optional	compat_ia32
2087a071c6aSDavid E. O'Brienamd64/ia32/ia32_sigtramp.S	optional	compat_ia32
2097a071c6aSDavid E. O'Brienamd64/ia32/ia32_syscall.c	optional	compat_ia32
2107a071c6aSDavid E. O'Briencompat/freebsd32/freebsd32_misc.c	optional	compat_ia32
2117a071c6aSDavid E. O'Briencompat/freebsd32/freebsd32_syscalls.c	optional	compat_ia32
2127a071c6aSDavid E. O'Briencompat/freebsd32/freebsd32_sysent.c	optional	compat_ia32
2137a071c6aSDavid E. O'Briencompat/ia32/ia32_sysvec.c	optional	compat_ia32
2147a071c6aSDavid E. O'Brienkern/imgact_elf32.c		optional	compat_ia32
215ea0fabbcSTim J. Robbins#
216ea0fabbcSTim J. Robbins# Linux/i386 binary support
217ea0fabbcSTim J. Robbins#
218ea0fabbcSTim J. Robbinsamd64/linux32/linux32_dummy.c	optional	compat_linux32
219ea0fabbcSTim J. Robbinsamd64/linux32/linux32_locore.s	optional	compat_linux32		\
220ea0fabbcSTim J. Robbins	dependency 	"linux32_assym.h"
221ea0fabbcSTim J. Robbinsamd64/linux32/linux32_machdep.c	optional	compat_linux32
222ea0fabbcSTim J. Robbinsamd64/linux32/linux32_sysent.c	optional	compat_linux32
223ea0fabbcSTim J. Robbinsamd64/linux32/linux32_sysvec.c	optional	compat_linux32
224ea0fabbcSTim J. Robbinscompat/linux/linux_file.c	optional	compat_linux32
225ea0fabbcSTim J. Robbinscompat/linux/linux_getcwd.c	optional	compat_linux32
226ea0fabbcSTim J. Robbinscompat/linux/linux_ioctl.c	optional	compat_linux32
227ea0fabbcSTim J. Robbinscompat/linux/linux_ipc.c	optional	compat_linux32
228ea0fabbcSTim J. Robbinscompat/linux/linux_mib.c	optional	compat_linux32
229ea0fabbcSTim J. Robbinscompat/linux/linux_misc.c	optional	compat_linux32
230ea0fabbcSTim J. Robbinscompat/linux/linux_signal.c	optional	compat_linux32
231ea0fabbcSTim J. Robbinscompat/linux/linux_socket.c	optional	compat_linux32
232ea0fabbcSTim J. Robbinscompat/linux/linux_stats.c	optional	compat_linux32
233ea0fabbcSTim J. Robbinscompat/linux/linux_sysctl.c	optional	compat_linux32
234ea0fabbcSTim J. Robbinscompat/linux/linux_uid16.c	optional	compat_linux32
235ea0fabbcSTim J. Robbinscompat/linux/linux_util.c	optional	compat_linux32
236084500bcSDoug Ambriskodev/amr/amr_linux.c		optional	compat_linux32 amr
237d8f2dda7SBill Paul#
238d8f2dda7SBill Paul# Windows NDIS driver support
239d8f2dda7SBill Paul#
240d8f2dda7SBill Paulcompat/ndis/kern_ndis.c		optional	ndisapi pci
241d8f2dda7SBill Paulcompat/ndis/kern_windrv.c	optional	ndisapi pci
242d8f2dda7SBill Paulcompat/ndis/subr_hal.c		optional	ndisapi pci
243d8f2dda7SBill Paulcompat/ndis/subr_ndis.c		optional	ndisapi pci
244d8f2dda7SBill Paulcompat/ndis/subr_ntoskrnl.c	optional	ndisapi pci
245d8f2dda7SBill Paulcompat/ndis/subr_pe.c		optional	ndisapi pci
24663ba67b6SBill Paulcompat/ndis/subr_usbd.c		optional	ndisapi pci
247d8f2dda7SBill Paulcompat/ndis/winx64_wrap.S	optional	ndisapi pci
248a52daa5fSJung-uk Kimi386/bios/smbios.c		optional	smbios
2494bf21bfeSPeter Wemmi386/bios/vpd.c			optional	vpd
250bc4c8712SNate Lawsoni386/cpufreq/powernow.c		optional	cpufreq
251712de323SPaul Saabi386/cpufreq/est.c		optional	cpufreq
252712de323SPaul Saabi386/cpufreq/p4tcc.c		optional	cpufreq
253