xref: /freebsd/sys/conf/files.amd64 (revision 939000cf95343cf144bf36cb5319e7c2fc069493)
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"		\
3104ddc5deSDavid 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#
60ff7bf2f7SPeter Wemmamd64/acpica/OsdEnvironment.c	optional	acpi
61ff7bf2f7SPeter Wemmamd64/acpica/acpi_machdep.c	optional	acpi
62ff7bf2f7SPeter Wemmamd64/acpica/acpi_wakeup.c	optional	acpi
630d2a2989SPeter Wemmamd64/acpica/madt.c		optional	acpi
64932fc0bcSMark Murrayamd64/amd64/amd64_mem.c		optional	mem
65003d5d66SBruce Evans#amd64/amd64/apic_vector.S	standard
660d2a2989SPeter Wemmamd64/amd64/atomic.c		standard
67b05deb9bSPeter Wemmamd64/amd64/autoconf.c		standard
6821691935SPeter Wemmamd64/amd64/bios.c		standard
69b05deb9bSPeter Wemmamd64/amd64/busdma_machdep.c	standard
707dca36c9SPeter Wemmamd64/amd64/cpu_switch.S	standard
71b05deb9bSPeter Wemmamd64/amd64/critical.c		standard
72ec2343a8SPeter Wemmamd64/amd64/db_disasm.c		optional	ddb
73ec2343a8SPeter Wemmamd64/amd64/db_interface.c	optional	ddb
74ec2343a8SPeter Wemmamd64/amd64/db_trace.c		optional	ddb
75b05deb9bSPeter Wemmamd64/amd64/dump_machdep.c	standard
76b05deb9bSPeter Wemmamd64/amd64/elf_machdep.c	standard
7727828625SPeter Wemmamd64/amd64/exception.S		standard
780d2a2989SPeter Wemmamd64/amd64/fpu.c		standard
795971a234SMarcel Moolenaaramd64/amd64/gdb_machdep.c	optional	gdb
80b05deb9bSPeter Wemmamd64/amd64/identcpu.c		standard
810d2a2989SPeter Wemmamd64/amd64/in_cksum.c		optional	inet
82b05deb9bSPeter Wemmamd64/amd64/initcpu.c		standard
830d2a2989SPeter Wemmamd64/amd64/intr_machdep.c	standard
848ab2f5ecSMark Murrayamd64/amd64/io.c		optional	io
850d2a2989SPeter Wemmamd64/amd64/io_apic.c		standard
86b05deb9bSPeter Wemmamd64/amd64/legacy.c		standard
870d2a2989SPeter Wemmamd64/amd64/local_apic.c	standard
8827828625SPeter Wemmamd64/amd64/locore.S		standard	no-obj
89b05deb9bSPeter Wemmamd64/amd64/machdep.c		standard
908ab2f5ecSMark Murrayamd64/amd64/mem.c		optional	mem
910d2a2989SPeter Wemmamd64/amd64/mp_machdep.c	optional	smp
925fe155d0SPeter Wemmamd64/amd64/mp_watchdog.c	optional	mp_watchdog smp
930d2a2989SPeter Wemmamd64/amd64/mpboot.S		optional	smp
940d2a2989SPeter Wemmamd64/amd64/mptable.c		optional	mptable
950d2a2989SPeter Wemmamd64/amd64/mptable_pci.c	optional	mptable pci
96b05deb9bSPeter Wemmamd64/amd64/nexus.c		standard
97b05deb9bSPeter Wemmamd64/amd64/pmap.c		standard
98a51bebabSBruce Evansamd64/amd64/prof_machdep.c	optional	profiling-routine
9927828625SPeter Wemmamd64/amd64/sigtramp.S		standard
10027828625SPeter Wemmamd64/amd64/support.S		standard
101b05deb9bSPeter Wemmamd64/amd64/sys_machdep.c	standard
102b05deb9bSPeter Wemmamd64/amd64/trap.c		standard
103b05deb9bSPeter Wemmamd64/amd64/tsc.c		standard
10433d13796SAlan Coxamd64/amd64/uio_machdep.c	standard
1057fb57893SAlan Coxamd64/amd64/uma_machdep.c	standard
106b05deb9bSPeter Wemmamd64/amd64/vm_machdep.c	standard
1070d2a2989SPeter Wemmamd64/isa/atpic.c		optional	atpic isa
108003d5d66SBruce Evans#amd64/isa/atpic_vector.S	optional	atpic isa
109b05deb9bSPeter Wemmamd64/isa/clock.c		standard
110463e5aa6SPeter Wemmamd64/isa/elcr.c		standard
111b05deb9bSPeter Wemmamd64/isa/isa.c			standard
112b05deb9bSPeter Wemmamd64/isa/isa_dma.c		standard
1130d2a2989SPeter Wemmamd64/isa/nmi.c			standard
114b05deb9bSPeter Wemmamd64/pci/pci_bus.c		optional	pci
1150d2a2989SPeter Wemmamd64/pci/pci_cfgreg.c		optional	pci
116db41012cSPeter Wemmcrypto/blowfish/bf_enc.c	optional	crypto
117a51bebabSBruce Evanscrypto/blowfish/bf_enc.c	optional	ipsec ipsec_esp
1180b1d4202STim J. Robbinscrypto/des/des_ecb.c		optional	netsmbcrypto
119a51bebabSBruce Evanscrypto/des/des_enc.c		optional	crypto
120a51bebabSBruce Evanscrypto/des/des_enc.c		optional	ipsec ipsec_esp
1210b1d4202STim J. Robbinscrypto/des/des_enc.c		optional	netsmbcrypto
1220b1d4202STim J. Robbinscrypto/des/des_setkey.c		optional	netsmbcrypto
123939000cfSDavid E. O'Briendev/acpica/acpi_if.m		standard
124b05deb9bSPeter Wemmdev/fb/fb.c			optional	fb
125b05deb9bSPeter Wemmdev/fb/fb.c			optional	vga
126b05deb9bSPeter Wemmdev/fb/splash.c			optional	splash
127b05deb9bSPeter Wemmdev/fb/vga.c			optional	vga
1288ab2f5ecSMark Murraydev/io/iodev.c			optional	io
12901a8e5a9SWarner Loshdev/fdc/fdc.c			optional	fdc
13032cfa665SNate Lawsondev/fdc/fdc_acpi.c		optional	fdc
1318ade021aSWarner Loshdev/fdc/fdc_isa.c		optional	fdc isa
1328ade021aSWarner Loshdev/fdc/fdc_pccard.c		optional	fdc pccard
133b05deb9bSPeter Wemmdev/kbd/atkbd.c			optional	atkbd
134b05deb9bSPeter Wemmdev/kbd/atkbdc.c		optional	atkbdc
135b05deb9bSPeter Wemmdev/kbd/kbd.c			optional	atkbd
136b05deb9bSPeter Wemmdev/kbd/kbd.c			optional	sc
137b05deb9bSPeter Wemmdev/kbd/kbd.c			optional	ukbd
13829fe871dSMark Murraydev/mem/memutil.c		optional	mem
13911dc7df1SWarner Loshdev/ppc/ppc.c			optional	ppc
1400d2a2989SPeter Wemmdev/sio/sio.c			optional	sio
1410d2a2989SPeter Wemmdev/sio/sio_isa.c		optional	sio isa
1420d2a2989SPeter Wemmdev/syscons/apm/apm_saver.c	optional	apm_saver apm
143b05deb9bSPeter Wemmdev/syscons/schistory.c		optional	sc
144b05deb9bSPeter Wemmdev/syscons/scmouse.c		optional	sc
145b05deb9bSPeter Wemmdev/syscons/scterm-dumb.c	optional	sc
146b05deb9bSPeter Wemmdev/syscons/scterm-sc.c		optional	sc
1470d2a2989SPeter Wemmdev/syscons/scterm.c		optional	sc
148b05deb9bSPeter Wemmdev/syscons/scvgarndr.c		optional	sc vga
149b05deb9bSPeter Wemmdev/syscons/scvidctl.c		optional	sc
150b05deb9bSPeter Wemmdev/syscons/scvtb.c		optional	sc
151b05deb9bSPeter Wemmdev/syscons/syscons.c		optional	sc
152b05deb9bSPeter Wemmdev/syscons/sysmouse.c		optional	sc
1530d2a2989SPeter Wemmdev/uart/uart_cpu_amd64.c	optional	uart
154b05deb9bSPeter Wemmgeom/geom_bsd.c			standard
155b05deb9bSPeter Wemmgeom/geom_bsd_enc.c		standard
156b05deb9bSPeter Wemmgeom/geom_mbr.c			standard
157b05deb9bSPeter Wemmgeom/geom_mbr_enc.c		standard
158b05deb9bSPeter Wemmisa/atkbd_isa.c			optional	atkbd
159b05deb9bSPeter Wemmisa/atkbdc_isa.c		optional	atkbdc
160b05deb9bSPeter Wemmisa/psm.c			optional	psm
161b05deb9bSPeter Wemmisa/syscons_isa.c		optional	sc
162b05deb9bSPeter Wemmisa/vga_isa.c			optional	vga
1634d6bcc83SPeter Wemmkern/link_elf_obj.c		standard
1643c749e3fSDavid E. O'Brienpci/agp_amd64.c			optional	agp
1650d2a2989SPeter Wemmpci/agp_intel.c			optional	agp
1660d2a2989SPeter Wemm#
1670d2a2989SPeter Wemm# IA32 binary support
1680d2a2989SPeter Wemm#
1697a071c6aSDavid E. O'Brien#amd64/ia32/ia32_exception.S	optional	compat_ia32
1707a071c6aSDavid E. O'Brienamd64/ia32/ia32_signal.c	optional	compat_ia32
1717a071c6aSDavid E. O'Brienamd64/ia32/ia32_sigtramp.S	optional	compat_ia32
1727a071c6aSDavid E. O'Brienamd64/ia32/ia32_syscall.c	optional	compat_ia32
1737a071c6aSDavid E. O'Briencompat/freebsd32/freebsd32_misc.c	optional	compat_ia32
1747a071c6aSDavid E. O'Briencompat/freebsd32/freebsd32_syscalls.c	optional	compat_ia32
1757a071c6aSDavid E. O'Briencompat/freebsd32/freebsd32_sysent.c	optional	compat_ia32
1767a071c6aSDavid E. O'Briencompat/ia32/ia32_sysvec.c	optional	compat_ia32
1777a071c6aSDavid E. O'Brienkern/imgact_elf32.c		optional	compat_ia32
178ea0fabbcSTim J. Robbins#
179ea0fabbcSTim J. Robbins# Linux/i386 binary support
180ea0fabbcSTim J. Robbins#
181ea0fabbcSTim J. Robbinsamd64/linux32/linux32_dummy.c	optional	compat_linux32
182ea0fabbcSTim J. Robbinsamd64/linux32/linux32_locore.s	optional	compat_linux32		\
183ea0fabbcSTim J. Robbins	dependency 	"linux32_assym.h"
184ea0fabbcSTim J. Robbinsamd64/linux32/linux32_machdep.c	optional	compat_linux32
185ea0fabbcSTim J. Robbinsamd64/linux32/linux32_sysent.c	optional	compat_linux32
186ea0fabbcSTim J. Robbinsamd64/linux32/linux32_sysvec.c	optional	compat_linux32
187ea0fabbcSTim J. Robbinscompat/linux/linux_file.c	optional	compat_linux32
188ea0fabbcSTim J. Robbinscompat/linux/linux_getcwd.c	optional	compat_linux32
189ea0fabbcSTim J. Robbinscompat/linux/linux_ioctl.c	optional	compat_linux32
190ea0fabbcSTim J. Robbinscompat/linux/linux_ipc.c	optional	compat_linux32
191ea0fabbcSTim J. Robbinscompat/linux/linux_mib.c	optional	compat_linux32
192ea0fabbcSTim J. Robbinscompat/linux/linux_misc.c	optional	compat_linux32
193ea0fabbcSTim J. Robbinscompat/linux/linux_signal.c	optional	compat_linux32
194ea0fabbcSTim J. Robbinscompat/linux/linux_socket.c	optional	compat_linux32
195ea0fabbcSTim J. Robbinscompat/linux/linux_stats.c	optional	compat_linux32
196ea0fabbcSTim J. Robbinscompat/linux/linux_sysctl.c	optional	compat_linux32
197ea0fabbcSTim J. Robbinscompat/linux/linux_uid16.c	optional	compat_linux32
198ea0fabbcSTim J. Robbinscompat/linux/linux_util.c	optional	compat_linux32
199