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