xref: /freebsd/sys/conf/files.x86 (revision 911f0260390e18cf85f3dbf2c719b593efdc1e3c)
1# This file tells config what files go into building a kernel,
2# files marked standard are always included.
3#
4# $FreeBSD$
5#
6# This file contains all the x86 devices and such that are
7# common between i386 and amd64, but aren't applicable to
8# any other architecture we support.
9#
10
11# The long compile-with and dependency lines are required because of
12# limitations in config: backslash-newline doesn't work in strings, and
13# dependency lines other than the first are silently ignored.
14
15#
16atkbdmap.h			optional	atkbd_dflt_keymap	\
17	compile-with	"${KEYMAP} -L ${ATKBD_DFLT_KEYMAP} | ${KEYMAP_FIX} > ${.TARGET}" \
18	no-obj no-implicit-rule before-depend				\
19	clean		"atkbdmap.h"
20cddl/dev/fbt/x86/fbt_isa.c				optional dtrace_fbt | dtraceall compile-with "${FBT_C}"
21cddl/dev/dtrace/x86/dis_tables.c			optional dtrace_fbt | dtraceall compile-with "${DTRACE_C}"
22cddl/dev/dtrace/x86/instr_size.c			optional dtrace_fbt | dtraceall compile-with "${DTRACE_C}"
23crypto/aesni/aesni.c		optional aesni
24aesni_ghash.o			optional aesni				\
25	dependency	"$S/crypto/aesni/aesni_ghash.c"			\
26	compile-with	"${CC} -c ${CFLAGS:C/^-O2$/-O3/:N-nostdinc} ${WERROR} ${NO_WCAST_QUAL} -mmmx -msse -msse4 -maes -mpclmul ${.IMPSRC}" \
27	no-implicit-rule						\
28	clean		"aesni_ghash.o"
29aesni_ccm.o			optional aesni				\
30	dependency	"$S/crypto/aesni/aesni_ccm.c"			\
31	compile-with	"${CC} -c ${CFLAGS:C/^-O2$/-O3/:N-nostdinc} ${WERROR} ${NO_WCAST_QUAL} -mmmx -msse -msse4 -maes -mpclmul ${.IMPSRC}" \
32	no-implicit-rule						\
33	clean		"aesni_ccm.o"
34aesni_wrap.o			optional aesni				\
35	dependency	"$S/crypto/aesni/aesni_wrap.c"			\
36	compile-with	"${CC} -c ${CFLAGS:C/^-O2$/-O3/:N-nostdinc} ${WERROR} ${NO_WCAST_QUAL} -mmmx -msse -msse4 -maes ${.IMPSRC}" \
37	no-implicit-rule						\
38	clean		"aesni_wrap.o"
39intel_sha1.o			optional	aesni			\
40	dependency	"$S/crypto/aesni/intel_sha1.c"			\
41	compile-with	"${CC} -c ${CFLAGS:C/^-O2$/-O3/:N-nostdinc} ${WERROR} -mmmx -msse -msse4 -msha ${.IMPSRC}" \
42	no-implicit-rule						\
43	clean		"intel_sha1.o"
44intel_sha256.o			optional	aesni			\
45	dependency	"$S/crypto/aesni/intel_sha256.c"		\
46	compile-with	"${CC} -c ${CFLAGS:C/^-O2$/-O3/:N-nostdinc} ${WERROR} -mmmx -msse -msse4 -msha ${.IMPSRC}" \
47	no-implicit-rule						\
48	clean		"intel_sha256.o"
49crypto/openssl/ossl_x86.c	optional ossl
50crypto/via/padlock.c		optional padlock
51crypto/via/padlock_cipher.c	optional padlock
52crypto/via/padlock_hash.c	optional padlock
53dev/acpica/acpi_hpet.c		optional	acpi
54dev/acpica/acpi_if.m		standard
55dev/acpica/acpi_pci.c		optional	acpi pci
56dev/acpica/acpi_pci_link.c	optional	acpi pci
57dev/acpica/acpi_pcib.c		optional	acpi pci
58dev/acpica/acpi_pcib_acpi.c	optional	acpi pci
59dev/acpica/acpi_pcib_pci.c	optional	acpi pci
60dev/acpica/acpi_pxm.c		optional	acpi
61dev/acpica/acpi_timer.c		optional	acpi
62dev/amdsbwd/amdsbwd.c		optional	amdsbwd
63dev/amdsmn/amdsmn.c		optional	amdsmn | amdtemp
64dev/amdtemp/amdtemp.c		optional	amdtemp
65dev/arcmsr/arcmsr.c		optional	arcmsr pci
66dev/asmc/asmc.c			optional	asmc isa
67dev/atkbdc/atkbd.c		optional	atkbd atkbdc
68dev/atkbdc/atkbd_atkbdc.c	optional	atkbd atkbdc
69dev/atkbdc/atkbdc.c		optional	atkbdc
70dev/atkbdc/atkbdc_isa.c		optional	atkbdc isa
71dev/atkbdc/atkbdc_subr.c	optional	atkbdc
72dev/atkbdc/psm.c		optional	psm atkbdc
73dev/bxe/bxe.c                   optional	bxe pci
74dev/bxe/bxe_stats.c             optional	bxe pci
75dev/bxe/bxe_debug.c             optional	bxe pci
76dev/bxe/ecore_sp.c              optional	bxe pci
77dev/bxe/bxe_elink.c             optional	bxe pci
78dev/bxe/57710_init_values.c     optional	bxe pci
79dev/bxe/57711_init_values.c     optional	bxe pci
80dev/bxe/57712_init_values.c     optional	bxe pci
81dev/coretemp/coretemp.c		optional	coretemp
82dev/cpuctl/cpuctl.c		optional	cpuctl
83dev/dpms/dpms.c			optional	dpms
84dev/fb/fb.c			optional	fb | vga
85dev/fb/s3_pci.c			optional	s3pci
86dev/fb/vesa.c			optional	vga vesa
87dev/fb/vga.c			optional	vga
88dev/fdc/fdc.c			optional	fdc
89dev/fdc/fdc_acpi.c		optional	fdc
90dev/fdc/fdc_isa.c		optional	fdc isa
91dev/gpio/bytgpio.c		optional	bytgpio
92dev/gpio/chvgpio.c		optional	chvgpio
93dev/hpt27xx/hpt27xx_os_bsd.c	optional	hpt27xx
94dev/hpt27xx/hpt27xx_osm_bsd.c	optional	hpt27xx
95dev/hpt27xx/hpt27xx_config.c	optional	hpt27xx
96dev/hpt27xx/$M-elf.hpt27xx_lib.o optional	hpt27xx
97dev/hptmv/entry.c		optional	hptmv
98dev/hptmv/mv.c			optional	hptmv
99dev/hptmv/gui_lib.c		optional	hptmv
100dev/hptmv/hptproc.c		optional	hptmv
101dev/hptmv/ioctl.c		optional	hptmv
102dev/hptmv/$M-elf.hptmvraid.o	optional	hptmv
103dev/hptnr/hptnr_os_bsd.c	optional	hptnr
104dev/hptnr/hptnr_osm_bsd.c	optional	hptnr
105dev/hptnr/hptnr_config.c	optional	hptnr
106dev/hptnr/$M-elf.hptnr_lib.o	optional	hptnr
107dev/hptrr/hptrr_os_bsd.c	optional	hptrr
108dev/hptrr/hptrr_osm_bsd.c	optional	hptrr
109dev/hptrr/hptrr_config.c	optional	hptrr
110dev/hptrr/$M-elf.hptrr_lib.o	optional	hptrr
111dev/hwpmc/hwpmc_amd.c		optional	hwpmc
112dev/hwpmc/hwpmc_intel.c		optional	hwpmc
113dev/hwpmc/hwpmc_core.c		optional	hwpmc
114dev/hwpmc/hwpmc_uncore.c	optional	hwpmc
115dev/hwpmc/hwpmc_tsc.c		optional	hwpmc
116dev/hwpmc/hwpmc_x86.c		optional	hwpmc
117dev/hyperv/hvsock/hv_sock.c				optional	hyperv
118dev/hyperv/input/hv_hid.c				optional	hyperv hvhid
119dev/hyperv/input/hv_kbd.c				optional	hyperv
120dev/hyperv/input/hv_kbdc.c				optional	hyperv
121dev/hyperv/pcib/vmbus_pcib.c				optional	hyperv pci
122dev/hyperv/netvsc/hn_nvs.c				optional	hyperv
123dev/hyperv/netvsc/hn_rndis.c				optional	hyperv
124dev/hyperv/netvsc/if_hn.c				optional	hyperv
125dev/hyperv/storvsc/hv_storvsc_drv_freebsd.c		optional	hyperv
126dev/hyperv/utilities/hv_kvp.c				optional	hyperv
127dev/hyperv/utilities/hv_snapshot.c			optional	hyperv
128dev/hyperv/utilities/vmbus_heartbeat.c			optional	hyperv
129dev/hyperv/utilities/vmbus_ic.c				optional	hyperv
130dev/hyperv/utilities/vmbus_shutdown.c			optional	hyperv
131dev/hyperv/utilities/vmbus_timesync.c			optional	hyperv
132dev/hyperv/vmbus/hyperv.c				optional	hyperv
133dev/hyperv/vmbus/x86/hyperv_x86.c		optional    hyperv
134dev/hyperv/vmbus/x86/vmbus_x86.c		optional    hyperv
135dev/hyperv/vmbus/hyperv_busdma.c			optional	hyperv
136dev/hyperv/vmbus/vmbus.c				optional	hyperv pci
137dev/hyperv/vmbus/vmbus_br.c				optional	hyperv
138dev/hyperv/vmbus/vmbus_chan.c				optional	hyperv
139dev/hyperv/vmbus/vmbus_et.c				optional	hyperv
140dev/hyperv/vmbus/vmbus_if.m				optional	hyperv
141dev/hyperv/vmbus/vmbus_res.c				optional	hyperv
142dev/hyperv/vmbus/vmbus_xact.c				optional	hyperv
143dev/ichwd/ichwd.c		optional	ichwd
144dev/imcsmb/imcsmb.c		optional	imcsmb
145dev/imcsmb/imcsmb_pci.c		optional	imcsmb pci
146dev/intel/pchtherm.c		optional	pchtherm
147dev/intel/spi.c			optional	intelspi
148dev/intel/spi_pci.c			optional	intelspi pci
149dev/intel/spi_acpi.c			optional	intelspi acpi
150dev/io/iodev.c			optional	io
151dev/iommu/busdma_iommu.c	optional	acpi iommu pci
152dev/iommu/iommu_gas.c		optional	acpi iommu pci
153dev/ipmi/ipmi.c			optional	ipmi
154dev/ipmi/ipmi_acpi.c		optional	ipmi acpi
155dev/ipmi/ipmi_isa.c		optional	ipmi isa
156dev/ipmi/ipmi_bt.c		optional	ipmi
157dev/ipmi/ipmi_kcs.c		optional	ipmi
158dev/ipmi/ipmi_smic.c		optional	ipmi
159dev/ipmi/ipmi_smbus.c		optional	ipmi smbus
160dev/ipmi/ipmi_smbios.c		optional	ipmi
161dev/ipmi/ipmi_ssif.c		optional	ipmi smbus
162dev/ipmi/ipmi_pci.c		optional	ipmi pci
163dev/isci/isci.c							optional isci \
164	compile-with "${NORMAL_C} ${NO_WUNUSED_BUT_SET_VARIABLE}"
165dev/isci/isci_controller.c					optional isci
166dev/isci/isci_domain.c						optional isci
167dev/isci/isci_interrupt.c					optional isci
168dev/isci/isci_io_request.c					optional isci
169dev/isci/isci_logger.c						optional isci
170dev/isci/isci_oem_parameters.c					optional isci
171dev/isci/isci_remote_device.c					optional isci
172dev/isci/isci_sysctl.c						optional isci
173dev/isci/isci_task_request.c					optional isci
174dev/isci/isci_timer.c						optional isci
175dev/isci/scil/sati.c						optional isci
176dev/isci/scil/sati_abort_task_set.c				optional isci
177dev/isci/scil/sati_atapi.c					optional isci
178dev/isci/scil/sati_device.c					optional isci
179dev/isci/scil/sati_inquiry.c					optional isci
180dev/isci/scil/sati_log_sense.c					optional isci
181dev/isci/scil/sati_lun_reset.c					optional isci
182dev/isci/scil/sati_mode_pages.c					optional isci
183dev/isci/scil/sati_mode_select.c				optional isci \
184	compile-with "${NORMAL_C} ${NO_WUNUSED_BUT_SET_VARIABLE}"
185dev/isci/scil/sati_mode_sense.c					optional isci
186dev/isci/scil/sati_mode_sense_10.c				optional isci
187dev/isci/scil/sati_mode_sense_6.c				optional isci
188dev/isci/scil/sati_move.c					optional isci
189dev/isci/scil/sati_passthrough.c				optional isci \
190	compile-with "${NORMAL_C} ${NO_WUNUSED_BUT_SET_VARIABLE}"
191dev/isci/scil/sati_read.c					optional isci
192dev/isci/scil/sati_read_buffer.c				optional isci
193dev/isci/scil/sati_read_capacity.c				optional isci
194dev/isci/scil/sati_reassign_blocks.c				optional isci \
195	compile-with "${NORMAL_C} ${NO_WUNUSED_BUT_SET_VARIABLE}"
196dev/isci/scil/sati_report_luns.c				optional isci
197dev/isci/scil/sati_request_sense.c				optional isci
198dev/isci/scil/sati_start_stop_unit.c				optional isci
199dev/isci/scil/sati_synchronize_cache.c				optional isci
200dev/isci/scil/sati_test_unit_ready.c				optional isci
201dev/isci/scil/sati_unmap.c					optional isci \
202	compile-with "${NORMAL_C} ${NO_WUNUSED_BUT_SET_VARIABLE}"
203dev/isci/scil/sati_util.c					optional isci
204dev/isci/scil/sati_verify.c					optional isci
205dev/isci/scil/sati_write.c					optional isci
206dev/isci/scil/sati_write_and_verify.c				optional isci
207dev/isci/scil/sati_write_buffer.c				optional isci
208dev/isci/scil/sati_write_long.c					optional isci
209dev/isci/scil/sci_abstract_list.c				optional isci
210dev/isci/scil/sci_base_controller.c				optional isci
211dev/isci/scil/sci_base_domain.c					optional isci
212dev/isci/scil/sci_base_iterator.c				optional isci
213dev/isci/scil/sci_base_library.c				optional isci
214dev/isci/scil/sci_base_logger.c					optional isci
215dev/isci/scil/sci_base_memory_descriptor_list.c			optional isci
216dev/isci/scil/sci_base_memory_descriptor_list_decorator.c	optional isci
217dev/isci/scil/sci_base_object.c					optional isci
218dev/isci/scil/sci_base_observer.c				optional isci
219dev/isci/scil/sci_base_phy.c					optional isci
220dev/isci/scil/sci_base_port.c					optional isci
221dev/isci/scil/sci_base_remote_device.c				optional isci
222dev/isci/scil/sci_base_request.c				optional isci
223dev/isci/scil/sci_base_state_machine.c				optional isci
224dev/isci/scil/sci_base_state_machine_logger.c			optional isci
225dev/isci/scil/sci_base_state_machine_observer.c			optional isci
226dev/isci/scil/sci_base_subject.c				optional isci
227dev/isci/scil/sci_util.c					optional isci
228dev/isci/scil/scic_sds_controller.c				optional isci \
229	compile-with "${NORMAL_C} ${NO_WUNUSED_BUT_SET_VARIABLE}"
230dev/isci/scil/scic_sds_library.c				optional isci
231dev/isci/scil/scic_sds_pci.c					optional isci
232dev/isci/scil/scic_sds_phy.c					optional isci \
233	compile-with "${NORMAL_C} ${NO_WUNUSED_BUT_SET_VARIABLE}"
234dev/isci/scil/scic_sds_port.c					optional isci
235dev/isci/scil/scic_sds_port_configuration_agent.c		optional isci
236dev/isci/scil/scic_sds_remote_device.c				optional isci
237dev/isci/scil/scic_sds_remote_node_context.c			optional isci
238dev/isci/scil/scic_sds_remote_node_table.c			optional isci
239dev/isci/scil/scic_sds_request.c				optional isci \
240	compile-with "${NORMAL_C} ${NO_WUNUSED_BUT_SET_VARIABLE}"
241dev/isci/scil/scic_sds_sgpio.c					optional isci
242dev/isci/scil/scic_sds_smp_remote_device.c			optional isci
243dev/isci/scil/scic_sds_smp_request.c				optional isci \
244	compile-with "${NORMAL_C} ${NO_WUNUSED_BUT_SET_VARIABLE}"
245dev/isci/scil/scic_sds_ssp_request.c				optional isci
246dev/isci/scil/scic_sds_stp_packet_request.c			optional isci
247dev/isci/scil/scic_sds_stp_remote_device.c			optional isci
248dev/isci/scil/scic_sds_stp_request.c				optional isci \
249	compile-with "${NORMAL_C} ${NO_WUNUSED_BUT_SET_VARIABLE}"
250dev/isci/scil/scic_sds_unsolicited_frame_control.c		optional isci
251dev/isci/scil/scif_sas_controller.c				optional isci \
252	compile-with "${NORMAL_C} ${NO_WUNUSED_BUT_SET_VARIABLE}"
253dev/isci/scil/scif_sas_controller_state_handlers.c		optional isci
254dev/isci/scil/scif_sas_controller_states.c			optional isci
255dev/isci/scil/scif_sas_domain.c					optional isci
256dev/isci/scil/scif_sas_domain_state_handlers.c			optional isci \
257	compile-with "${NORMAL_C} ${NO_WUNUSED_BUT_SET_VARIABLE}"
258dev/isci/scil/scif_sas_domain_states.c				optional isci
259dev/isci/scil/scif_sas_high_priority_request_queue.c		optional isci
260dev/isci/scil/scif_sas_internal_io_request.c			optional isci
261dev/isci/scil/scif_sas_io_request.c				optional isci
262dev/isci/scil/scif_sas_io_request_state_handlers.c		optional isci
263dev/isci/scil/scif_sas_io_request_states.c			optional isci
264dev/isci/scil/scif_sas_library.c				optional isci
265dev/isci/scil/scif_sas_remote_device.c				optional isci
266dev/isci/scil/scif_sas_remote_device_ready_substate_handlers.c	optional isci
267dev/isci/scil/scif_sas_remote_device_ready_substates.c		optional isci \
268	compile-with "${NORMAL_C} ${NO_WUNUSED_BUT_SET_VARIABLE}"
269dev/isci/scil/scif_sas_remote_device_starting_substate_handlers.c		optional isci
270dev/isci/scil/scif_sas_remote_device_starting_substates.c	optional isci
271dev/isci/scil/scif_sas_remote_device_state_handlers.c		optional isci
272dev/isci/scil/scif_sas_remote_device_states.c			optional isci
273dev/isci/scil/scif_sas_request.c				optional isci
274dev/isci/scil/scif_sas_smp_activity_clear_affiliation.c		optional isci
275dev/isci/scil/scif_sas_smp_io_request.c				optional isci
276dev/isci/scil/scif_sas_smp_phy.c				optional isci
277dev/isci/scil/scif_sas_smp_remote_device.c			optional isci \
278	compile-with "${NORMAL_C} ${NO_WUNUSED_BUT_SET_VARIABLE}"
279dev/isci/scil/scif_sas_stp_io_request.c				optional isci
280dev/isci/scil/scif_sas_stp_remote_device.c			optional isci
281dev/isci/scil/scif_sas_stp_task_request.c			optional isci
282dev/isci/scil/scif_sas_task_request.c				optional isci
283dev/isci/scil/scif_sas_task_request_state_handlers.c		optional isci
284dev/isci/scil/scif_sas_task_request_states.c			optional isci
285dev/isci/scil/scif_sas_timer.c					optional isci
286dev/itwd/itwd.c							optional itwd
287dev/kvm_clock/kvm_clock.c	optional	kvm_clock
288dev/mana/gdma_main.c		optional	mana
289dev/mana/mana_en.c		optional	mana
290dev/mana/mana_sysctl.c		optional	mana
291dev/mana/shm_channel.c		optional	mana
292dev/mana/hw_channel.c		optional	mana
293dev/mana/gdma_util.c		optional	mana
294dev/qat_c2xxx/qat.c		optional	qat_c2xxx
295dev/qat_c2xxx/qat_ae.c		optional	qat_c2xxx
296dev/qat_c2xxx/qat_c2xxx.c	optional	qat_c2xxx
297dev/qat_c2xxx/qat_hw15.c	optional	qat_c2xxx
298dev/smbios/smbios_subr.c	standard
299libkern/strcmp.c		standard
300libkern/strncmp.c		standard
301libkern/x86/crc32_sse42.c	standard
302#
303# x86 shared code between IA32 and AMD64 architectures
304#
305x86/acpica/OsdEnvironment.c	optional	acpi
306x86/acpica/acpi_apm.c		optional	acpi
307x86/acpica/srat.c		optional	acpi
308x86/bios/vpd.c			optional	vpd
309x86/cpufreq/est.c		optional	cpufreq
310x86/cpufreq/hwpstate_amd.c	optional	cpufreq
311x86/cpufreq/hwpstate_intel.c	optional	cpufreq
312x86/cpufreq/p4tcc.c		optional	cpufreq
313x86/cpufreq/powernow.c		optional	cpufreq
314x86/iommu/intel_ctx.c		optional	acpi iommu pci
315x86/iommu/intel_drv.c		optional	acpi iommu pci
316x86/iommu/intel_fault.c		optional	acpi iommu pci
317x86/iommu/intel_idpgtbl.c	optional	acpi iommu pci
318x86/iommu/intel_intrmap.c	optional	acpi iommu pci
319x86/iommu/intel_qi.c		optional	acpi iommu pci
320x86/iommu/intel_quirks.c	optional	acpi iommu pci
321x86/iommu/intel_utils.c		optional	acpi iommu pci
322x86/isa/atrtc.c			standard
323x86/isa/clock.c			standard
324x86/isa/isa.c			optional	isa
325x86/isa/isa_dma.c		optional	isa
326x86/isa/nmi.c			standard
327x86/isa/orm.c			optional	isa
328x86/pci/pci_bus.c		optional	pci
329x86/pci/qpi.c			optional	pci
330x86/x86/autoconf.c		standard
331x86/x86/bus_machdep.c		standard
332x86/x86/busdma_bounce.c		standard
333x86/x86/busdma_machdep.c	standard
334x86/x86/cpu_machdep.c		standard
335x86/x86/dbreg.c			optional	ddb | gdb
336x86/x86/dump_machdep.c		standard
337x86/x86/fdt_machdep.c		optional	fdt
338x86/x86/identcpu.c		standard
339x86/x86/intr_machdep.c		standard
340x86/x86/legacy.c		standard
341x86/x86/mca.c			standard
342x86/x86/x86_mem.c		optional	mem
343x86/x86/mp_x86.c		optional	smp
344x86/x86/nexus.c			standard
345x86/x86/pvclock.c		optional	kvm_clock | xenhvm
346x86/x86/stack_machdep.c		optional	ddb | stack
347x86/x86/tsc.c			standard
348x86/x86/ucode.c			standard
349x86/x86/delay.c			standard
350x86/xen/hvm.c			optional	xenhvm
351x86/xen/xen_apic.c		optional	xenhvm smp
352x86/xen/xen_arch_intr.c		optional	xenhvm
353