xref: /freebsd/sys/conf/files.x86 (revision 058ac3e8063366dafa634d9107642e12b038bf09)
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_kbd.c				optional	hyperv
119dev/hyperv/input/hv_kbdc.c				optional	hyperv
120dev/hyperv/pcib/vmbus_pcib.c				optional	hyperv pci
121dev/hyperv/netvsc/hn_nvs.c				optional	hyperv
122dev/hyperv/netvsc/hn_rndis.c				optional	hyperv
123dev/hyperv/netvsc/if_hn.c				optional	hyperv
124dev/hyperv/storvsc/hv_storvsc_drv_freebsd.c		optional	hyperv
125dev/hyperv/utilities/hv_kvp.c				optional	hyperv
126dev/hyperv/utilities/hv_snapshot.c			optional	hyperv
127dev/hyperv/utilities/vmbus_heartbeat.c			optional	hyperv
128dev/hyperv/utilities/vmbus_ic.c				optional	hyperv
129dev/hyperv/utilities/vmbus_shutdown.c			optional	hyperv
130dev/hyperv/utilities/vmbus_timesync.c			optional	hyperv
131dev/hyperv/vmbus/hyperv.c				optional	hyperv
132dev/hyperv/vmbus/x86/hyperv_x86.c		optional    hyperv
133dev/hyperv/vmbus/x86/vmbus_x86.c		optional    hyperv
134dev/hyperv/vmbus/hyperv_busdma.c			optional	hyperv
135dev/hyperv/vmbus/vmbus.c				optional	hyperv pci
136dev/hyperv/vmbus/vmbus_br.c				optional	hyperv
137dev/hyperv/vmbus/vmbus_chan.c				optional	hyperv
138dev/hyperv/vmbus/vmbus_et.c				optional	hyperv
139dev/hyperv/vmbus/vmbus_if.m				optional	hyperv
140dev/hyperv/vmbus/vmbus_res.c				optional	hyperv
141dev/hyperv/vmbus/vmbus_xact.c				optional	hyperv
142dev/ichwd/ichwd.c		optional	ichwd
143dev/imcsmb/imcsmb.c		optional	imcsmb
144dev/imcsmb/imcsmb_pci.c		optional	imcsmb pci
145dev/intel/pchtherm.c		optional	pchtherm
146dev/intel/spi.c			optional	intelspi
147dev/io/iodev.c			optional	io
148dev/iommu/busdma_iommu.c	optional	acpi iommu pci
149dev/iommu/iommu_gas.c		optional	acpi iommu pci
150dev/ipmi/ipmi.c			optional	ipmi
151dev/ipmi/ipmi_acpi.c		optional	ipmi acpi
152dev/ipmi/ipmi_isa.c		optional	ipmi isa
153dev/ipmi/ipmi_kcs.c		optional	ipmi
154dev/ipmi/ipmi_smic.c		optional	ipmi
155dev/ipmi/ipmi_smbus.c		optional	ipmi smbus
156dev/ipmi/ipmi_smbios.c		optional	ipmi
157dev/ipmi/ipmi_ssif.c		optional	ipmi smbus
158dev/ipmi/ipmi_pci.c		optional	ipmi pci
159dev/isci/isci.c							optional isci \
160	compile-with "${NORMAL_C} ${NO_WUNUSED_BUT_SET_VARIABLE}"
161dev/isci/isci_controller.c					optional isci
162dev/isci/isci_domain.c						optional isci
163dev/isci/isci_interrupt.c					optional isci
164dev/isci/isci_io_request.c					optional isci
165dev/isci/isci_logger.c						optional isci
166dev/isci/isci_oem_parameters.c					optional isci
167dev/isci/isci_remote_device.c					optional isci
168dev/isci/isci_sysctl.c						optional isci
169dev/isci/isci_task_request.c					optional isci
170dev/isci/isci_timer.c						optional isci
171dev/isci/scil/sati.c						optional isci
172dev/isci/scil/sati_abort_task_set.c				optional isci
173dev/isci/scil/sati_atapi.c					optional isci
174dev/isci/scil/sati_device.c					optional isci
175dev/isci/scil/sati_inquiry.c					optional isci
176dev/isci/scil/sati_log_sense.c					optional isci
177dev/isci/scil/sati_lun_reset.c					optional isci
178dev/isci/scil/sati_mode_pages.c					optional isci
179dev/isci/scil/sati_mode_select.c				optional isci \
180	compile-with "${NORMAL_C} ${NO_WUNUSED_BUT_SET_VARIABLE}"
181dev/isci/scil/sati_mode_sense.c					optional isci
182dev/isci/scil/sati_mode_sense_10.c				optional isci
183dev/isci/scil/sati_mode_sense_6.c				optional isci
184dev/isci/scil/sati_move.c					optional isci
185dev/isci/scil/sati_passthrough.c				optional isci \
186	compile-with "${NORMAL_C} ${NO_WUNUSED_BUT_SET_VARIABLE}"
187dev/isci/scil/sati_read.c					optional isci
188dev/isci/scil/sati_read_buffer.c				optional isci
189dev/isci/scil/sati_read_capacity.c				optional isci
190dev/isci/scil/sati_reassign_blocks.c				optional isci \
191	compile-with "${NORMAL_C} ${NO_WUNUSED_BUT_SET_VARIABLE}"
192dev/isci/scil/sati_report_luns.c				optional isci
193dev/isci/scil/sati_request_sense.c				optional isci
194dev/isci/scil/sati_start_stop_unit.c				optional isci
195dev/isci/scil/sati_synchronize_cache.c				optional isci
196dev/isci/scil/sati_test_unit_ready.c				optional isci
197dev/isci/scil/sati_unmap.c					optional isci \
198	compile-with "${NORMAL_C} ${NO_WUNUSED_BUT_SET_VARIABLE}"
199dev/isci/scil/sati_util.c					optional isci
200dev/isci/scil/sati_verify.c					optional isci
201dev/isci/scil/sati_write.c					optional isci
202dev/isci/scil/sati_write_and_verify.c				optional isci
203dev/isci/scil/sati_write_buffer.c				optional isci
204dev/isci/scil/sati_write_long.c					optional isci
205dev/isci/scil/sci_abstract_list.c				optional isci
206dev/isci/scil/sci_base_controller.c				optional isci
207dev/isci/scil/sci_base_domain.c					optional isci
208dev/isci/scil/sci_base_iterator.c				optional isci
209dev/isci/scil/sci_base_library.c				optional isci
210dev/isci/scil/sci_base_logger.c					optional isci
211dev/isci/scil/sci_base_memory_descriptor_list.c			optional isci
212dev/isci/scil/sci_base_memory_descriptor_list_decorator.c	optional isci
213dev/isci/scil/sci_base_object.c					optional isci
214dev/isci/scil/sci_base_observer.c				optional isci
215dev/isci/scil/sci_base_phy.c					optional isci
216dev/isci/scil/sci_base_port.c					optional isci
217dev/isci/scil/sci_base_remote_device.c				optional isci
218dev/isci/scil/sci_base_request.c				optional isci
219dev/isci/scil/sci_base_state_machine.c				optional isci
220dev/isci/scil/sci_base_state_machine_logger.c			optional isci
221dev/isci/scil/sci_base_state_machine_observer.c			optional isci
222dev/isci/scil/sci_base_subject.c				optional isci
223dev/isci/scil/sci_util.c					optional isci
224dev/isci/scil/scic_sds_controller.c				optional isci \
225	compile-with "${NORMAL_C} ${NO_WUNUSED_BUT_SET_VARIABLE}"
226dev/isci/scil/scic_sds_library.c				optional isci
227dev/isci/scil/scic_sds_pci.c					optional isci
228dev/isci/scil/scic_sds_phy.c					optional isci \
229	compile-with "${NORMAL_C} ${NO_WUNUSED_BUT_SET_VARIABLE}"
230dev/isci/scil/scic_sds_port.c					optional isci
231dev/isci/scil/scic_sds_port_configuration_agent.c		optional isci
232dev/isci/scil/scic_sds_remote_device.c				optional isci
233dev/isci/scil/scic_sds_remote_node_context.c			optional isci
234dev/isci/scil/scic_sds_remote_node_table.c			optional isci
235dev/isci/scil/scic_sds_request.c				optional isci \
236	compile-with "${NORMAL_C} ${NO_WUNUSED_BUT_SET_VARIABLE}"
237dev/isci/scil/scic_sds_sgpio.c					optional isci
238dev/isci/scil/scic_sds_smp_remote_device.c			optional isci
239dev/isci/scil/scic_sds_smp_request.c				optional isci \
240	compile-with "${NORMAL_C} ${NO_WUNUSED_BUT_SET_VARIABLE}"
241dev/isci/scil/scic_sds_ssp_request.c				optional isci
242dev/isci/scil/scic_sds_stp_packet_request.c			optional isci
243dev/isci/scil/scic_sds_stp_remote_device.c			optional isci
244dev/isci/scil/scic_sds_stp_request.c				optional isci \
245	compile-with "${NORMAL_C} ${NO_WUNUSED_BUT_SET_VARIABLE}"
246dev/isci/scil/scic_sds_unsolicited_frame_control.c		optional isci
247dev/isci/scil/scif_sas_controller.c				optional isci \
248	compile-with "${NORMAL_C} ${NO_WUNUSED_BUT_SET_VARIABLE}"
249dev/isci/scil/scif_sas_controller_state_handlers.c		optional isci
250dev/isci/scil/scif_sas_controller_states.c			optional isci
251dev/isci/scil/scif_sas_domain.c					optional isci
252dev/isci/scil/scif_sas_domain_state_handlers.c			optional isci \
253	compile-with "${NORMAL_C} ${NO_WUNUSED_BUT_SET_VARIABLE}"
254dev/isci/scil/scif_sas_domain_states.c				optional isci
255dev/isci/scil/scif_sas_high_priority_request_queue.c		optional isci
256dev/isci/scil/scif_sas_internal_io_request.c			optional isci
257dev/isci/scil/scif_sas_io_request.c				optional isci
258dev/isci/scil/scif_sas_io_request_state_handlers.c		optional isci
259dev/isci/scil/scif_sas_io_request_states.c			optional isci
260dev/isci/scil/scif_sas_library.c				optional isci
261dev/isci/scil/scif_sas_remote_device.c				optional isci
262dev/isci/scil/scif_sas_remote_device_ready_substate_handlers.c	optional isci
263dev/isci/scil/scif_sas_remote_device_ready_substates.c		optional isci \
264	compile-with "${NORMAL_C} ${NO_WUNUSED_BUT_SET_VARIABLE}"
265dev/isci/scil/scif_sas_remote_device_starting_substate_handlers.c		optional isci
266dev/isci/scil/scif_sas_remote_device_starting_substates.c	optional isci
267dev/isci/scil/scif_sas_remote_device_state_handlers.c		optional isci
268dev/isci/scil/scif_sas_remote_device_states.c			optional isci
269dev/isci/scil/scif_sas_request.c				optional isci
270dev/isci/scil/scif_sas_smp_activity_clear_affiliation.c		optional isci
271dev/isci/scil/scif_sas_smp_io_request.c				optional isci
272dev/isci/scil/scif_sas_smp_phy.c				optional isci
273dev/isci/scil/scif_sas_smp_remote_device.c			optional isci \
274	compile-with "${NORMAL_C} ${NO_WUNUSED_BUT_SET_VARIABLE}"
275dev/isci/scil/scif_sas_stp_io_request.c				optional isci
276dev/isci/scil/scif_sas_stp_remote_device.c			optional isci
277dev/isci/scil/scif_sas_stp_task_request.c			optional isci
278dev/isci/scil/scif_sas_task_request.c				optional isci
279dev/isci/scil/scif_sas_task_request_state_handlers.c		optional isci
280dev/isci/scil/scif_sas_task_request_states.c			optional isci
281dev/isci/scil/scif_sas_timer.c					optional isci
282dev/itwd/itwd.c							optional itwd
283dev/kvm_clock/kvm_clock.c	optional	kvm_clock
284dev/mana/gdma_main.c		optional	mana
285dev/mana/mana_en.c		optional	mana
286dev/mana/mana_sysctl.c		optional	mana
287dev/mana/shm_channel.c		optional	mana
288dev/mana/hw_channel.c		optional	mana
289dev/mana/gdma_util.c		optional	mana
290dev/qat_c2xxx/qat.c		optional	qat_c2xxx
291dev/qat_c2xxx/qat_ae.c		optional	qat_c2xxx
292dev/qat_c2xxx/qat_c2xxx.c	optional	qat_c2xxx
293dev/qat_c2xxx/qat_hw15.c	optional	qat_c2xxx
294libkern/strcmp.c		standard
295libkern/strncmp.c		standard
296libkern/x86/crc32_sse42.c	standard
297#
298# x86 shared code between IA32 and AMD64 architectures
299#
300x86/acpica/OsdEnvironment.c	optional	acpi
301x86/acpica/acpi_apm.c		optional	acpi
302x86/acpica/srat.c		optional	acpi
303x86/bios/vpd.c			optional	vpd
304x86/cpufreq/est.c		optional	cpufreq
305x86/cpufreq/hwpstate_amd.c	optional	cpufreq
306x86/cpufreq/hwpstate_intel.c	optional	cpufreq
307x86/cpufreq/p4tcc.c		optional	cpufreq
308x86/cpufreq/powernow.c		optional	cpufreq
309x86/iommu/intel_ctx.c		optional	acpi iommu pci
310x86/iommu/intel_drv.c		optional	acpi iommu pci
311x86/iommu/intel_fault.c		optional	acpi iommu pci
312x86/iommu/intel_idpgtbl.c	optional	acpi iommu pci
313x86/iommu/intel_intrmap.c	optional	acpi iommu pci
314x86/iommu/intel_qi.c		optional	acpi iommu pci
315x86/iommu/intel_quirks.c	optional	acpi iommu pci
316x86/iommu/intel_utils.c		optional	acpi iommu pci
317x86/isa/atrtc.c			standard
318x86/isa/clock.c			standard
319x86/isa/isa.c			optional	isa
320x86/isa/isa_dma.c		optional	isa
321x86/isa/nmi.c			standard
322x86/isa/orm.c			optional	isa
323x86/pci/pci_bus.c		optional	pci
324x86/pci/qpi.c			optional	pci
325x86/x86/autoconf.c		standard
326x86/x86/bus_machdep.c		standard
327x86/x86/busdma_bounce.c		standard
328x86/x86/busdma_machdep.c	standard
329x86/x86/cpu_machdep.c		standard
330x86/x86/dbreg.c			optional	ddb | gdb
331x86/x86/dump_machdep.c		standard
332x86/x86/fdt_machdep.c		optional	fdt
333x86/x86/identcpu.c		standard
334x86/x86/intr_machdep.c		standard
335x86/x86/legacy.c		standard
336x86/x86/mca.c			standard
337x86/x86/x86_mem.c		optional	mem
338x86/x86/mp_x86.c		optional	smp
339x86/x86/nexus.c			standard
340x86/x86/pvclock.c		optional	kvm_clock | xenhvm
341x86/x86/stack_machdep.c		optional	ddb | stack
342x86/x86/tsc.c			standard
343x86/x86/ucode.c			standard
344x86/x86/delay.c			standard
345x86/xen/hvm.c			optional	xenhvm
346x86/xen/xen_intr.c		optional	xenhvm
347x86/xen/xen_apic.c		optional	xenhvm smp
348