xref: /freebsd/sys/conf/files.i386 (revision af23369a6deaaeb612ab266eb88b8bb8d560c322)
1# This file tells config what files go into building a kernel,
2# files marked standard are always included.
3#
4# $FreeBSD$
5#
6
7# common files stuff between i386 and amd64
8include 	"conf/files.x86"
9
10# The long compile-with and dependency lines are required because of
11# limitations in config: backslash-newline doesn't work in strings, and
12# dependency lines other than the first are silently ignored.
13#
14cddl/dev/dtrace/i386/dtrace_asm.S			optional dtrace compile-with "${DTRACE_S}"
15cddl/dev/dtrace/i386/dtrace_subr.c			optional dtrace compile-with "${DTRACE_C}"
16crypto/aesni/aeskeys_i386.S	optional aesni
17crypto/des/arch/i386/des_enc.S	optional netsmb
18crypto/openssl/i386/aesni-x86.S	optional ossl
19crypto/openssl/i386/chacha-x86.S	optional ossl
20crypto/openssl/i386/poly1305-x86.S	optional ossl
21crypto/openssl/i386/sha1-586.S	optional ossl
22crypto/openssl/i386/sha256-586.S	optional ossl
23crypto/openssl/i386/sha512-586.S	optional ossl
24dev/agp/agp_ali.c		optional agp
25dev/agp/agp_amd.c		optional agp
26dev/agp/agp_amd64.c		optional agp
27dev/agp/agp_ati.c		optional agp
28dev/agp/agp_i810.c		optional agp
29dev/agp/agp_intel.c		optional agp
30dev/agp/agp_nvidia.c		optional agp
31dev/agp/agp_sis.c		optional agp
32dev/agp/agp_via.c		optional agp
33dev/glxiic/glxiic.c		optional glxiic
34dev/glxsb/glxsb.c		optional glxsb
35dev/glxsb/glxsb_hash.c		optional glxsb
36dev/hyperv/vmbus/i386/hyperv_machdep.c			optional	hyperv
37dev/le/if_le_isa.c		optional le isa
38dev/nctgpio/nctgpio.c		optional nctgpio
39dev/nfe/if_nfe.c		optional nfe pci
40dev/ntb/if_ntb/if_ntb.c		optional if_ntb
41dev/ntb/ntb_transport.c		optional ntb_transport | if_ntb
42dev/ntb/ntb.c			optional ntb | ntb_transport | if_ntb | ntb_hw_amd | ntb_hw_intel | ntb_hw_plx | ntb_hw
43dev/ntb/ntb_if.m		optional ntb | ntb_transport | if_ntb | ntb_hw_amd | ntb_hw_intel | ntb_hw_plx | ntb_hw
44dev/ntb/ntb_hw/ntb_hw_amd.c	optional ntb_hw_amd | ntb_hw
45dev/ntb/ntb_hw/ntb_hw_intel.c	optional ntb_hw_intel | ntb_hw
46dev/ntb/ntb_hw/ntb_hw_plx.c	optional ntb_hw_plx | ntb_hw
47dev/ntb/test/ntb_tool.c		optional ntb_tool
48dev/nvram/nvram.c		optional	nvram isa
49dev/ofw/ofw_pcib.c		optional fdt pci
50dev/pcf/pcf_isa.c		optional pcf
51dev/random/ivy.c		optional rdrand_rng !random_loadable
52dev/random/nehemiah.c		optional padlock_rng !random_loadable
53dev/sbni/if_sbni.c		optional sbni
54dev/sbni/if_sbni_isa.c		optional sbni isa
55dev/sbni/if_sbni_pci.c		optional sbni pci
56dev/speaker/spkr.c		optional speaker
57dev/superio/superio.c		optional superio isa
58dev/syscons/scvesactl.c		optional sc vga vesa
59dev/syscons/scvgarndr.c		optional sc vga
60dev/tpm/tpm.c			optional tpm
61dev/tpm/tpm_acpi.c		optional tpm acpi
62dev/tpm/tpm_isa.c		optional tpm isa
63dev/uart/uart_cpu_x86.c		optional uart
64dev/viawd/viawd.c		optional viawd
65dev/vmd/vmd.c			optional vmd
66dev/acpi_support/acpi_wmi_if.m	standard
67dev/wbwd/wbwd.c			optional wbwd
68dev/wdatwd/wdatwd.c		optional wdatwd
69i386/acpica/acpi_machdep.c	optional acpi
70i386/acpica/acpi_wakeup.c	optional acpi
71acpi_wakecode.o			optional acpi				\
72	dependency	"$S/i386/acpica/acpi_wakecode.S assym.inc"	\
73	compile-with	"${NORMAL_S}"					\
74	no-obj no-implicit-rule before-depend				\
75	clean		"acpi_wakecode.o"
76acpi_wakecode.bin		optional acpi				\
77	dependency	"acpi_wakecode.o"				\
78	compile-with	"${OBJCOPY} -S -O binary acpi_wakecode.o ${.TARGET}" \
79	no-obj no-implicit-rule	before-depend				\
80	clean		"acpi_wakecode.bin"
81acpi_wakecode.h			optional acpi				\
82	dependency	"acpi_wakecode.bin"				\
83	compile-with	"file2c -sx 'static char wakecode[] = {' '};' < acpi_wakecode.bin > ${.TARGET}" \
84	no-obj no-implicit-rule	before-depend				\
85	clean		"acpi_wakecode.h"
86acpi_wakedata.h			optional acpi				\
87	dependency	"acpi_wakecode.o"				\
88	compile-with	'${NM} -n --defined-only acpi_wakecode.o | while read offset dummy what; do echo "#define	$${what}	0x$${offset}"; done > ${.TARGET}' \
89	no-obj no-implicit-rule	before-depend				\
90	clean		"acpi_wakedata.h"
91#
92i386/bios/smapi.c		optional smapi
93i386/bios/smapi_bios.S		optional smapi
94#i386/i386/apic_vector.S		optional apic
95i386/i386/bios.c		standard
96i386/i386/bioscall.S		standard
97i386/i386/bpf_jit_machdep.c	optional bpf_jitter
98i386/i386/copyout.c		standard
99i386/i386/db_disasm.c		optional ddb
100i386/i386/db_interface.c	optional ddb
101i386/i386/db_trace.c		optional ddb
102i386/i386/exec_machdep.c	standard
103i386/i386/elan-mmcr.c		optional cpu_elan | cpu_soekris
104i386/i386/elf_machdep.c		standard
105i386/i386/exception.S		standard
106i386/i386/gdb_machdep.c		optional gdb
107i386/i386/geode.c		optional cpu_geode
108i386/i386/in_cksum_machdep.c	optional inet | inet6
109i386/i386/initcpu.c		standard
110i386/i386/io.c			optional io
111i386/i386/k6_mem.c		optional mem
112i386/i386/locore.S		standard	no-obj
113i386/i386/longrun.c		optional cpu_enable_longrun
114i386/i386/machdep.c		standard
115i386/i386/mem.c			optional mem
116i386/i386/minidump_machdep.c	standard
117i386/i386/minidump_machdep_pae.c	standard
118i386/i386/minidump_machdep_nopae.c	standard
119i386/i386/mp_clock.c		optional smp
120i386/i386/mp_machdep.c		optional smp
121i386/i386/mpboot.S		optional smp
122i386/i386/npx.c			standard
123i386/i386/perfmon.c		optional perfmon
124i386/i386/pmap_base.c		standard
125i386/i386/pmap_nopae.c		standard
126i386/i386/pmap_pae.c		standard
127i386/i386/ptrace_machdep.c	standard
128i386/i386/sigtramp.S		standard
129i386/i386/support.S		standard
130i386/i386/swtch.S		standard
131i386/i386/sys_machdep.c		standard
132i386/i386/trap.c		standard
133i386/i386/uio_machdep.c		standard
134i386/i386/vm86.c		standard
135i386/i386/vm_machdep.c		standard
136i386/pci/pci_cfgreg.c		optional pci
137i386/pci/pci_pir.c		optional pci
138isa/syscons_isa.c		optional sc
139isa/vga_isa.c			optional vga
140kern/imgact_aout.c		optional compat_aout
141kern/subr_sfbuf.c		standard
142libkern/divdi3.c		standard
143libkern/ffsll.c			standard
144libkern/flsll.c			standard
145libkern/memcmp.c		standard
146libkern/memset.c		standard
147libkern/moddi3.c		standard
148libkern/qdivrem.c		standard
149libkern/strlen.c		standard
150libkern/ucmpdi2.c		standard
151libkern/udivdi3.c		standard
152libkern/umoddi3.c		standard
153#
154# x86 real mode BIOS support, required by dpms/pci/vesa
155#
156compat/x86bios/x86bios.c	optional x86bios | dpms | pci | vesa
157# Common files where we currently configure the system differently, but perhaps shouldn't
158# config(8) doesn't have a way to force standard options, so we've been inconsistent
159# about marking non-optional things 'standard'.
160x86/acpica/madt.c		optional acpi apic
161x86/cpufreq/smist.c		optional cpufreq
162x86/isa/atpic.c			optional atpic
163x86/isa/elcr.c			optional atpic | apic
164x86/isa/isa.c			optional isa
165x86/isa/isa_dma.c		optional isa
166x86/x86/io_apic.c		optional apic
167x86/x86/local_apic.c		optional apic
168x86/x86/mptable.c		optional apic
169x86/x86/mptable_pci.c		optional apic pci
170x86/x86/msi.c			optional apic pci
171# Clock calibration subroutine; uses floating-point arithmetic
172subr_clockcalib.o		standard				\
173	dependency	"$S/kern/subr_clockcalib.c"			\
174	compile-with	"${CC} -c ${CFLAGS:C/^-O2$/-O3/:N-nostdinc} ${WERROR} -m80387 ${.IMPSRC}" \
175	no-implicit-rule						\
176	clean		"subr_clockcalib.o"
177