xref: /freebsd/sys/conf/files.i386 (revision b9c6fa339d9c7c90a1c0f9ebc000ecbde8873508)
1c3e72289SRodney W. Grimes# This file tells config what files go into building a kernel,
2c3e72289SRodney W. Grimes# files marked standard are always included.
35b81b6b3SRodney W. Grimes#
4d66a5066SPeter Wemm#
59246a83cSWarner Losh
69246a83cSWarner Losh# common files stuff between i386 and amd64
79246a83cSWarner Loshinclude 	"conf/files.x86"
89246a83cSWarner Losh
920c776a5SBruce Evans# The long compile-with and dependency lines are required because of
1020c776a5SBruce Evans# limitations in config: backslash-newline doesn't work in strings, and
1120c776a5SBruce Evans# dependency lines other than the first are silently ignored.
1220c776a5SBruce Evans#
134f4d15f0SRuslan Bukincddl/dev/dtrace/i386/dtrace_asm.S			optional dtrace compile-with "${DTRACE_S}"
144f4d15f0SRuslan Bukincddl/dev/dtrace/i386/dtrace_subr.c			optional dtrace compile-with "${DTRACE_C}"
155f270659SKonstantin Belousovcrypto/aesni/aeskeys_i386.S	optional aesni
160e00c709SJohn Baldwincrypto/des/arch/i386/des_enc.S	optional netsmb
17197ff4c3SKornel Dulebacrypto/openssl/i386/aesni-x86.S	optional ossl
1892aecd1eSJohn Baldwincrypto/openssl/i386/chacha-x86.S	optional ossl
19a079e38bSJohn Baldwincrypto/openssl/i386/poly1305-x86.S	optional ossl
20ba610be9SJohn Baldwincrypto/openssl/i386/sha1-586.S	optional ossl
21ba610be9SJohn Baldwincrypto/openssl/i386/sha256-586.S	optional ossl
22ba610be9SJohn Baldwincrypto/openssl/i386/sha512-586.S	optional ossl
23dbac8ff4SJohn Baldwindev/agp/agp_ali.c		optional agp
24dbac8ff4SJohn Baldwindev/agp/agp_amd.c		optional agp
25dbac8ff4SJohn Baldwindev/agp/agp_ati.c		optional agp
26dbac8ff4SJohn Baldwindev/agp/agp_intel.c		optional agp
27dbac8ff4SJohn Baldwindev/agp/agp_nvidia.c		optional agp
28dbac8ff4SJohn Baldwindev/agp/agp_sis.c		optional agp
29149d1c89SHenrik Brix Andersendev/glxiic/glxiic.c		optional glxiic
30a51aa5d1SPhilip Paepsdev/glxsb/glxsb.c		optional glxsb
31a51aa5d1SPhilip Paepsdev/glxsb/glxsb_hash.c		optional glxsb
32d8bf5168SSepherosa Ziehaudev/hyperv/vmbus/i386/hyperv_machdep.c			optional	hyperv
33136eda1dSMarius Strobldev/le/if_le_isa.c		optional le isa
3424042910SMarcin Wojtasdev/ofw/ofw_pcib.c		optional fdt pci
359b229abcSJoerg Wunschdev/pcf/pcf_isa.c		optional pcf
3626e46883SJohn Baldwindev/sbni/if_sbni.c		optional sbni
3726e46883SJohn Baldwindev/sbni/if_sbni_isa.c		optional sbni isa
3826e46883SJohn Baldwindev/sbni/if_sbni_pci.c		optional sbni pci
39d2ec391bSJohn Baldwini386/acpica/acpi_machdep.c	optional acpi
402b6eec53SKonstantin Belousovi386/acpica/acpi_wakeup.c	optional acpi
41a3c464fbSJung-uk Kimacpi_wakecode.o			optional acpi				\
42fc2a8776SEd Maste	dependency	"$S/i386/acpica/acpi_wakecode.S assym.inc"	\
43a3c464fbSJung-uk Kim	compile-with	"${NORMAL_S}"					\
446161544cSTakanori Watanabe	no-obj no-implicit-rule before-depend				\
45a3c464fbSJung-uk Kim	clean		"acpi_wakecode.o"
46a3c464fbSJung-uk Kimacpi_wakecode.bin		optional acpi				\
47a3c464fbSJung-uk Kim	dependency	"acpi_wakecode.o"				\
4872bacdc5SDavid E. O'Brien	compile-with	"${OBJCOPY} -S -O binary acpi_wakecode.o ${.TARGET}" \
49a3c464fbSJung-uk Kim	no-obj no-implicit-rule	before-depend				\
50a3c464fbSJung-uk Kim	clean		"acpi_wakecode.bin"
51a3c464fbSJung-uk Kimacpi_wakecode.h			optional acpi				\
52a3c464fbSJung-uk Kim	dependency	"acpi_wakecode.bin"				\
53a3c464fbSJung-uk Kim	compile-with	"file2c -sx 'static char wakecode[] = {' '};' < acpi_wakecode.bin > ${.TARGET}" \
54a3c464fbSJung-uk Kim	no-obj no-implicit-rule	before-depend				\
55a3c464fbSJung-uk Kim	clean		"acpi_wakecode.h"
56a3c464fbSJung-uk Kimacpi_wakedata.h			optional acpi				\
57a3c464fbSJung-uk Kim	dependency	"acpi_wakecode.o"				\
58a3c464fbSJung-uk Kim	compile-with	'${NM} -n --defined-only acpi_wakecode.o | while read offset dummy what; do echo "#define	$${what}	0x$${offset}"; done > ${.TARGET}' \
59a3c464fbSJung-uk Kim	no-obj no-implicit-rule	before-depend				\
60a3c464fbSJung-uk Kim	clean		"acpi_wakedata.h"
616161544cSTakanori Watanabe#
6296aa4252SMatthew N. Doddi386/bios/smapi.c		optional smapi
6396aa4252SMatthew N. Doddi386/bios/smapi_bios.S		optional smapi
64ccd9b49fSElliott Mitchell#i386/i386/apic_vector.S		optional apic
65ed95805eSJohn Baldwini386/i386/bios.c		standard
66ccd9b49fSElliott Mitchelli386/i386/bioscall.S		standard
67848c454cSJung-uk Kimi386/i386/bpf_jit_machdep.c	optional bpf_jitter
68d86c1f0dSKonstantin Belousovi386/i386/copyout.c		standard
69aa653b8fSPeter Wemmi386/i386/db_disasm.c		optional ddb
70aa653b8fSPeter Wemmi386/i386/db_interface.c	optional ddb
71aa653b8fSPeter Wemmi386/i386/db_trace.c		optional ddb
724c5bf591SKonstantin Belousovi386/i386/exec_machdep.c	standard
73a8e06f2aSRuslan Ermilovi386/i386/elan-mmcr.c		optional cpu_elan | cpu_soekris
74aa653b8fSPeter Wemmi386/i386/elf_machdep.c		standard
75ccd9b49fSElliott Mitchelli386/i386/exception.S		standard
765971a234SMarcel Moolenaari386/i386/gdb_machdep.c		optional gdb
77f633e006SPoul-Henning Kampi386/i386/geode.c		optional cpu_geode
78ecbbe831SMark Johnstoni386/i386/in_cksum_machdep.c	optional inet | inet6
79aa653b8fSPeter Wemmi386/i386/initcpu.c		standard
808ab2f5ecSMark Murrayi386/i386/io.c			optional io
818ab2f5ecSMark Murrayi386/i386/k6_mem.c		optional mem
82ccd9b49fSElliott Mitchelli386/i386/locore.S		standard	no-obj
83386a89edSTakeshi Shibagakii386/i386/longrun.c		optional cpu_enable_longrun
84aa653b8fSPeter Wemmi386/i386/machdep.c		standard
858ab2f5ecSMark Murrayi386/i386/mem.c			optional mem
864503a06eSPeter Wemmi386/i386/minidump_machdep.c	standard
879a527560SKonstantin Belousovi386/i386/minidump_machdep_pae.c	standard
889a527560SKonstantin Belousovi386/i386/minidump_machdep_nopae.c	standard
8924514292SPoul-Henning Kampi386/i386/mp_clock.c		optional smp
90ed95805eSJohn Baldwini386/i386/mp_machdep.c		optional smp
91ccd9b49fSElliott Mitchelli386/i386/mpboot.S		optional smp
920cc997d2SKonstantin Belousovi386/i386/npx.c			standard
93aa653b8fSPeter Wemmi386/i386/perfmon.c		optional perfmon
949a527560SKonstantin Belousovi386/i386/pmap_base.c		standard
959a527560SKonstantin Belousovi386/i386/pmap_nopae.c		standard
969a527560SKonstantin Belousovi386/i386/pmap_pae.c		standard
978d7681bbSDoug Rabsoni386/i386/ptrace_machdep.c	standard
98ccd9b49fSElliott Mitchelli386/i386/sigtramp.S		standard
99ccd9b49fSElliott Mitchelli386/i386/support.S		standard
100ccd9b49fSElliott Mitchelli386/i386/swtch.S		standard
101aa653b8fSPeter Wemmi386/i386/sys_machdep.c		standard
102aa653b8fSPeter Wemmi386/i386/trap.c		standard
10300cfafd7SAlan Coxi386/i386/uio_machdep.c		standard
104aa653b8fSPeter Wemmi386/i386/vm86.c		standard
105aa653b8fSPeter Wemmi386/i386/vm_machdep.c		standard
10638f92448SBruce Evansi386/pci/pci_cfgreg.c		optional pci
10777fa00faSJohn Baldwini386/pci/pci_pir.c		optional pci
108c8d2ffd6SGleb Smirnoffkern/subr_sfbuf.c		standard
109aa653b8fSPeter Wemmlibkern/divdi3.c		standard
110*cc4f247fSJohn Baldwinlibkern/divmoddi4.c		standard
111a8e3f99eSMateusz Guziklibkern/memcmp.c		standard
1129f94082eSYoshihiro Takahashilibkern/memset.c		standard
113aa653b8fSPeter Wemmlibkern/moddi3.c		standard
114aa653b8fSPeter Wemmlibkern/qdivrem.c		standard
115af366d35SMateusz Guziklibkern/strlen.c		standard
1161533a5cfSMike Smithlibkern/ucmpdi2.c		standard
117aa653b8fSPeter Wemmlibkern/udivdi3.c		standard
118*cc4f247fSJohn Baldwinlibkern/udivmoddi4.c		standard
119aa653b8fSPeter Wemmlibkern/umoddi3.c		standard
1202f66eb1eSXin LI#
12159023e6cSJung-uk Kim# x86 real mode BIOS support, required by dpms/pci/vesa
1222f66eb1eSXin LI#
12359023e6cSJung-uk Kimcompat/x86bios/x86bios.c	optional x86bios | dpms | pci | vesa
124286b4bedSWarner Losh# Common files where we currently configure the system differently, but perhaps shouldn't
125286b4bedSWarner Losh# config(8) doesn't have a way to force standard options, so we've been inconsistent
126286b4bedSWarner Losh# about marking non-optional things 'standard'.
12713e25cb7SJohn Baldwinx86/acpica/madt.c		optional acpi apic
12832580301SAttilio Raox86/cpufreq/smist.c		optional cpufreq
12932580301SAttilio Raox86/isa/atpic.c			optional atpic
130ed95805eSJohn Baldwinx86/isa/elcr.c			optional atpic | apic
13132580301SAttilio Raox86/isa/isa.c			optional isa
13232580301SAttilio Raox86/isa/isa_dma.c		optional isa
13353a908cbSJohn Baldwinx86/x86/io_apic.c		optional apic
13453a908cbSJohn Baldwinx86/x86/local_apic.c		optional apic
135ed95805eSJohn Baldwinx86/x86/mptable.c		optional apic
136ed95805eSJohn Baldwinx86/x86/mptable_pci.c		optional apic pci
137b9cd2f77SJohn Baldwinx86/x86/msi.c			optional apic pci
138c2705ceaSColin Percival# Clock calibration subroutine; uses floating-point arithmetic
139c2705ceaSColin Percivalsubr_clockcalib.o		standard				\
140c2705ceaSColin Percival	dependency	"$S/kern/subr_clockcalib.c"			\
141c2705ceaSColin Percival	compile-with	"${CC} -c ${CFLAGS:C/^-O2$/-O3/:N-nostdinc} ${WERROR} -m80387 ${.IMPSRC}" \
142c2705ceaSColin Percival	no-implicit-rule						\
143c2705ceaSColin Percival	clean		"subr_clockcalib.o"
144