xref: /freebsd/sys/conf/files.amd64 (revision 2fea6431120dc19a04430c68b2484524074b2e43)
1# This file tells config what files go into building a kernel,
2# files marked standard are always included.
3#
4# $FreeBSD$
5#
6# The long compile-with and dependency lines are required because of
7# limitations in config: backslash-newline doesn't work in strings, and
8# dependency lines other than the first are silently ignored.
9#
10#
11linux32_genassym.o		optional	compat_linux32		\
12	dependency 	"$S/amd64/linux32/linux32_genassym.c"		\
13	compile-with	"${CC} ${CFLAGS:N-fno-common} -c ${.IMPSRC}"	\
14	no-obj no-implicit-rule						\
15	clean		"linux32_genassym.o"
16#
17linux32_assym.h			optional	compat_linux32		\
18	dependency 	"$S/kern/genassym.sh linux32_genassym.o"	\
19	compile-with	"sh $S/kern/genassym.sh linux32_genassym.o > ${.TARGET}" \
20	no-obj no-implicit-rule before-depend				\
21	clean		"linux32_assym.h"
22#
23ia32_genassym.o			standard				\
24	dependency 	"$S/compat/ia32/ia32_genassym.c"		\
25	compile-with	"${CC} ${CFLAGS:N-fno-common} -c ${.IMPSRC}"	\
26	no-obj no-implicit-rule						\
27	clean		"ia32_genassym.o"
28#
29ia32_assym.h			standard				\
30	dependency 	"$S/kern/genassym.sh ia32_genassym.o"		\
31	compile-with	"env NM='${NM}' sh $S/kern/genassym.sh ia32_genassym.o > ${.TARGET}" \
32	no-obj no-implicit-rule before-depend				\
33	clean		"ia32_assym.h"
34#
35font.h				optional	sc_dflt_font		\
36	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"									\
37	no-obj no-implicit-rule before-depend				\
38	clean		"font.h ${SC_DFLT_FONT}-8x14 ${SC_DFLT_FONT}-8x16 ${SC_DFLT_FONT}-8x8"
39#
40atkbdmap.h			optional	atkbd_dflt_keymap	\
41	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"			\
42	no-obj no-implicit-rule before-depend				\
43	clean		"atkbdmap.h"
44#
45ukbdmap.h			optional	ukbd_dflt_keymap	\
46	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"			\
47	no-obj no-implicit-rule before-depend				\
48	clean		"ukbdmap.h"
49#
50nvenetlib.o			optional	nve pci			\
51	dependency	"$S/contrib/dev/nve/amd64/nvenetlib.o.bz2.uu"	\
52	compile-with	"uudecode $S/contrib/dev/nve/amd64/nvenetlib.o.bz2.uu ; bzip2 -df nvenetlib.o.bz2" \
53	no-implicit-rule
54#
55os+%DIKED-nve.h		optional	nve pci			\
56	dependency	"$S/contrib/dev/nve/os.h"			\
57	compile-with	"sed -e 's/^.*#include.*phy\.h.*$$//' $S/contrib/dev/nve/os.h > os+%DIKED-nve.h" \
58	no-implicit-rule no-obj before-depend				\
59	clean		"os+%DIKED-nve.h"
60#
61hptmvraid.o			optional	hptmv			\
62	dependency	"$S/dev/hptmv/amd64-elf.raid.o.uu"	\
63	compile-with	"uudecode < $S/dev/hptmv/amd64-elf.raid.o.uu" \
64	no-implicit-rule
65hptrr_lib.o			optional	hptrr			\
66	dependency	"$S/dev/hptrr/amd64-elf.hptrr_lib.o.uu"		\
67	compile-with	"uudecode < $S/dev/hptrr/amd64-elf.hptrr_lib.o.uu" \
68	no-implicit-rule
69#
70amd64/acpica/acpi_machdep.c	optional	acpi
71amd64/acpica/acpi_switch.S	optional	acpi
72acpi_wakecode.o			optional	acpi			\
73	dependency	"$S/amd64/acpica/acpi_wakecode.S assym.s"	\
74	compile-with	"${NORMAL_S}"					\
75	no-obj no-implicit-rule before-depend				\
76	clean		"acpi_wakecode.o"
77acpi_wakecode.bin		optional	acpi			\
78	dependency	"acpi_wakecode.o"				\
79	compile-with	"objcopy -S -O binary acpi_wakecode.o ${.TARGET}" \
80	no-obj no-implicit-rule	before-depend				\
81	clean		"acpi_wakecode.bin"
82acpi_wakecode.h			optional	acpi			\
83	dependency	"acpi_wakecode.bin"				\
84	compile-with	"file2c -sx 'static char wakecode[] = {' '};' < acpi_wakecode.bin > ${.TARGET}" \
85	no-obj no-implicit-rule	before-depend				\
86	clean		"acpi_wakecode.h"
87acpi_wakedata.h			optional	acpi			\
88	dependency	"acpi_wakecode.o"				\
89	compile-with	'${NM} -n --defined-only acpi_wakecode.o | while read offset dummy what; do echo "#define	$${what}	0x$${offset}"; done > ${.TARGET}' \
90	no-obj no-implicit-rule	before-depend				\
91	clean		"acpi_wakedata.h"
92#
93amd64/acpica/acpi_wakeup.c	optional	acpi
94amd64/amd64/amd64_mem.c		optional	mem
95#amd64/amd64/apic_vector.S	standard
96amd64/amd64/atomic.c		standard
97amd64/amd64/autoconf.c		standard
98amd64/amd64/bios.c		standard
99amd64/amd64/bpf_jit_machdep.c	optional	bpf_jitter
100amd64/amd64/cpu_switch.S	standard
101amd64/amd64/db_disasm.c		optional	ddb
102amd64/amd64/db_interface.c	optional	ddb
103amd64/amd64/db_trace.c		optional	ddb
104amd64/amd64/elf_machdep.c	standard
105amd64/amd64/exception.S		standard
106amd64/amd64/fpu.c		standard
107amd64/amd64/gdb_machdep.c	optional	gdb
108amd64/amd64/identcpu.c		standard
109amd64/amd64/in_cksum.c		optional	inet
110amd64/amd64/initcpu.c		standard
111amd64/amd64/intr_machdep.c	standard
112amd64/amd64/io.c		optional	io
113amd64/amd64/legacy.c		standard
114amd64/amd64/locore.S		standard	no-obj
115amd64/amd64/machdep.c		standard
116amd64/amd64/mem.c		optional	mem
117amd64/amd64/minidump_machdep.c	standard
118amd64/amd64/mp_machdep.c	optional	smp
119amd64/amd64/mp_watchdog.c	optional	mp_watchdog smp
120amd64/amd64/mpboot.S		optional	smp
121amd64/amd64/pmap.c		standard
122amd64/amd64/prof_machdep.c	optional	profiling-routine
123amd64/amd64/sigtramp.S		standard
124amd64/amd64/stack_machdep.c	optional	ddb | stack
125amd64/amd64/support.S		standard
126amd64/amd64/sys_machdep.c	standard
127amd64/amd64/trap.c		standard
128amd64/amd64/uio_machdep.c	standard
129amd64/amd64/uma_machdep.c	standard
130amd64/amd64/vm_machdep.c	standard
131amd64/pci/pci_bus.c		optional	pci
132amd64/pci/pci_cfgreg.c		optional	pci
133crypto/aesni/aesencdec_amd64.S	optional aesni
134crypto/aesni/aeskeys_amd64.S	optional aesni
135crypto/aesni/aesni.c		optional aesni
136crypto/aesni/aesni_wrap.c	optional aesni
137crypto/blowfish/bf_enc.c	optional	crypto | ipsec
138crypto/des/des_enc.c		optional	crypto | ipsec | netsmb
139crypto/via/padlock.c		optional	padlock
140crypto/via/padlock_cipher.c	optional	padlock
141crypto/via/padlock_hash.c	optional	padlock
142dev/acpica/acpi_if.m		standard
143dev/acpi_support/acpi_wmi_if.m	standard
144dev/agp/agp_amd64.c		optional	agp
145dev/agp/agp_i810.c		optional	agp
146dev/agp/agp_intel.c		optional	agp
147dev/agp/agp_via.c		optional	agp
148dev/amdsbwd/amdsbwd.c		optional	amdsbwd
149dev/amdtemp/amdtemp.c		optional	amdtemp
150dev/arcmsr/arcmsr.c		optional	arcmsr pci
151dev/asmc/asmc.c			optional	asmc isa
152dev/atkbdc/atkbd.c		optional	atkbd atkbdc
153dev/atkbdc/atkbd_atkbdc.c	optional	atkbd atkbdc
154dev/atkbdc/atkbdc.c		optional	atkbdc
155dev/atkbdc/atkbdc_isa.c		optional	atkbdc isa
156dev/atkbdc/atkbdc_subr.c	optional	atkbdc
157dev/atkbdc/psm.c		optional	psm atkbdc
158dev/coretemp/coretemp.c		optional	coretemp
159dev/cpuctl/cpuctl.c		optional	cpuctl
160dev/dpms/dpms.c			optional	dpms
161# There are no systems with isa slots, so all ed isa entries should go..
162dev/ed/if_ed_3c503.c		optional	ed isa ed_3c503
163dev/ed/if_ed_isa.c		optional	ed isa
164dev/ed/if_ed_wd80x3.c		optional	ed isa
165dev/ed/if_ed_hpp.c		optional	ed isa ed_hpp
166dev/ed/if_ed_sic.c		optional	ed isa ed_sic
167dev/fb/fb.c			optional	fb | vga
168dev/fb/s3_pci.c			optional	s3pci
169dev/fb/vesa.c			optional	vga vesa
170dev/fb/vga.c			optional	vga
171dev/ichwd/ichwd.c		optional	ichwd
172dev/if_ndis/if_ndis.c		optional	ndis
173dev/if_ndis/if_ndis_pccard.c	optional	ndis pccard
174dev/if_ndis/if_ndis_pci.c	optional	ndis cardbus | ndis pci
175dev/if_ndis/if_ndis_usb.c	optional	ndis usb
176dev/io/iodev.c			optional	io
177dev/ipmi/ipmi.c			optional	ipmi
178dev/ipmi/ipmi_acpi.c		optional	ipmi acpi
179dev/ipmi/ipmi_isa.c		optional	ipmi isa
180dev/ipmi/ipmi_kcs.c		optional	ipmi
181dev/ipmi/ipmi_smic.c		optional	ipmi
182dev/ipmi/ipmi_smbus.c		optional	ipmi smbus
183dev/ipmi/ipmi_smbios.c		optional	ipmi
184dev/ipmi/ipmi_ssif.c		optional	ipmi smbus
185dev/ipmi/ipmi_pci.c		optional	ipmi pci
186dev/ipmi/ipmi_linux.c		optional	ipmi compat_linux32
187dev/fdc/fdc.c			optional	fdc
188dev/fdc/fdc_acpi.c		optional	fdc
189dev/fdc/fdc_isa.c		optional	fdc isa
190dev/fdc/fdc_pccard.c		optional	fdc pccard
191dev/hptmv/entry.c		optional	hptmv
192dev/hptmv/mv.c			optional	hptmv
193dev/hptmv/gui_lib.c		optional	hptmv
194dev/hptmv/hptproc.c		optional	hptmv
195dev/hptmv/ioctl.c		optional	hptmv
196dev/hptrr/hptrr_os_bsd.c	optional	hptrr
197dev/hptrr/hptrr_osm_bsd.c	optional	hptrr
198dev/hptrr/hptrr_config.c	optional	hptrr
199dev/hwpmc/hwpmc_amd.c		optional	hwpmc
200dev/hwpmc/hwpmc_intel.c		optional	hwpmc
201dev/hwpmc/hwpmc_core.c		optional	hwpmc
202dev/hwpmc/hwpmc_uncore.c	optional	hwpmc
203dev/hwpmc/hwpmc_piv.c		optional	hwpmc
204dev/hwpmc/hwpmc_tsc.c		optional	hwpmc
205dev/hwpmc/hwpmc_x86.c		optional	hwpmc
206dev/kbd/kbd.c			optional	atkbd | sc | ukbd
207dev/lindev/full.c		optional	lindev
208dev/lindev/lindev.c		optional	lindev
209dev/nfe/if_nfe.c		optional	nfe pci
210dev/nve/if_nve.c		optional	nve pci
211dev/nvram/nvram.c		optional	nvram isa
212dev/sio/sio.c			optional	sio
213dev/sio/sio_isa.c		optional	sio isa
214dev/sio/sio_pccard.c		optional	sio pccard
215dev/sio/sio_pci.c		optional	sio pci
216dev/sio/sio_puc.c		optional	sio puc
217dev/speaker/spkr.c		optional	speaker
218dev/syscons/apm/apm_saver.c	optional	apm_saver apm
219dev/syscons/scterm-teken.c	optional	sc
220dev/syscons/scvesactl.c		optional	sc vga vesa
221dev/syscons/scvgarndr.c		optional	sc vga
222dev/syscons/scvtb.c		optional	sc
223dev/tpm/tpm.c			optional	tpm
224dev/tpm/tpm_acpi.c		optional	tpm acpi
225dev/tpm/tpm_isa.c		optional	tpm isa
226dev/uart/uart_cpu_amd64.c	optional	uart
227dev/wpi/if_wpi.c		optional	wpi
228isa/syscons_isa.c		optional	sc
229isa/vga_isa.c			optional	vga
230kern/kern_clocksource.c		standard
231kern/link_elf_obj.c		standard
232#
233# IA32 binary support
234#
235#amd64/ia32/ia32_exception.S	optional	compat_freebsd32
236amd64/ia32/ia32_reg.c		optional	compat_freebsd32
237amd64/ia32/ia32_signal.c	optional	compat_freebsd32
238amd64/ia32/ia32_sigtramp.S	optional	compat_freebsd32
239amd64/ia32/ia32_syscall.c	optional	compat_freebsd32
240amd64/ia32/ia32_misc.c		optional	compat_freebsd32
241compat/freebsd32/freebsd32_ioctl.c	optional	compat_freebsd32
242compat/freebsd32/freebsd32_misc.c	optional	compat_freebsd32
243compat/freebsd32/freebsd32_syscalls.c	optional	compat_freebsd32
244compat/freebsd32/freebsd32_sysent.c	optional	compat_freebsd32
245compat/ia32/ia32_sysvec.c	optional	compat_freebsd32
246compat/linprocfs/linprocfs.c	optional	linprocfs
247compat/linsysfs/linsysfs.c	optional	linsysfs
248kern/imgact_elf32.c		optional	compat_freebsd32
249#
250# Linux/i386 binary support
251#
252amd64/linux32/linux32_dummy.c	optional	compat_linux32
253amd64/linux32/linux32_locore.s	optional	compat_linux32		\
254	dependency 	"linux32_assym.h"
255amd64/linux32/linux32_machdep.c	optional	compat_linux32
256amd64/linux32/linux32_support.s	optional	compat_linux32		\
257	dependency 	"linux32_assym.h"
258amd64/linux32/linux32_sysent.c	optional	compat_linux32
259amd64/linux32/linux32_sysvec.c	optional	compat_linux32
260compat/linux/linux_emul.c	optional	compat_linux32
261compat/linux/linux_file.c	optional	compat_linux32
262compat/linux/linux_futex.c	optional	compat_linux32
263compat/linux/linux_getcwd.c	optional	compat_linux32
264compat/linux/linux_ioctl.c	optional	compat_linux32
265compat/linux/linux_ipc.c	optional	compat_linux32
266compat/linux/linux_mib.c	optional	compat_linux32
267compat/linux/linux_misc.c	optional	compat_linux32
268compat/linux/linux_signal.c	optional	compat_linux32
269compat/linux/linux_socket.c	optional	compat_linux32
270compat/linux/linux_stats.c	optional	compat_linux32
271compat/linux/linux_sysctl.c	optional	compat_linux32
272compat/linux/linux_time.c	optional	compat_linux32
273compat/linux/linux_uid16.c	optional	compat_linux32
274compat/linux/linux_util.c	optional	compat_linux32
275dev/amr/amr_linux.c		optional	compat_linux32 amr
276dev/mfi/mfi_linux.c		optional	compat_linux32 mfi
277#
278# Windows NDIS driver support
279#
280compat/ndis/kern_ndis.c		optional	ndisapi pci
281compat/ndis/kern_windrv.c	optional	ndisapi pci
282compat/ndis/subr_hal.c		optional	ndisapi pci
283compat/ndis/subr_ndis.c		optional	ndisapi pci
284compat/ndis/subr_ntoskrnl.c	optional	ndisapi pci
285compat/ndis/subr_pe.c		optional	ndisapi pci
286compat/ndis/subr_usbd.c		optional	ndisapi pci
287compat/ndis/winx64_wrap.S	optional	ndisapi pci
288#
289libkern/memmove.c		standard
290libkern/memset.c		standard
291#
292# x86 real mode BIOS emulator, required by atkbdc/dpms/vesa
293#
294compat/x86bios/x86bios.c	optional x86bios | atkbd | dpms | vesa
295contrib/x86emu/x86emu.c		optional x86bios | atkbd | dpms | vesa
296#
297# x86 shared code between IA32, AMD64 and PC98 architectures
298#
299x86/acpica/OsdEnvironment.c	optional	acpi
300x86/acpica/acpi_apm.c		optional	acpi
301x86/acpica/madt.c		optional	acpi
302x86/acpica/srat.c		optional	acpi
303x86/bios/smbios.c		optional	smbios
304x86/bios/vpd.c			optional	vpd
305x86/cpufreq/powernow.c		optional	cpufreq
306x86/cpufreq/est.c		optional	cpufreq
307x86/cpufreq/hwpstate.c		optional	cpufreq
308x86/cpufreq/p4tcc.c		optional	cpufreq
309x86/isa/atpic.c			optional	atpic isa
310x86/isa/atrtc.c			standard
311x86/isa/clock.c			standard
312x86/isa/elcr.c			standard
313x86/isa/isa.c			standard
314x86/isa/isa_dma.c		standard
315x86/isa/nmi.c			standard
316x86/isa/orm.c			optional	isa
317x86/pci/qpi.c			standard
318x86/x86/busdma_machdep.c	standard
319x86/x86/dump_machdep.c		standard
320x86/x86/io_apic.c		standard
321x86/x86/local_apic.c		standard
322x86/x86/mca.c			standard
323x86/x86/mptable.c		optional	mptable
324x86/x86/mptable_pci.c		optional	mptable pci
325x86/x86/msi.c			optional	pci
326x86/x86/nexus.c			standard
327x86/x86/tsc.c			standard
328