1 # This file tells config what files go into building a kernel,
2 # files marked standard are always included.
8 mips/mips/autoconf.c standard
9 mips/mips/bus_space_generic.c standard
10 mips/mips/busdma_machdep.c standard
11 mips/mips/cache.c standard
12 mips/mips/cache_mipsNN.c standard
13 mips/mips/cpu.c standard
14 mips/mips/db_disasm.c optional ddb
15 mips/mips/db_interface.c optional ddb
16 mips/mips/db_trace.c optional ddb
17 mips/mips/dump_machdep.c standard
18 mips/mips/elf_machdep.c standard
19 mips/mips/exception.S standard
20 mips/mips/fp.S standard
21 mips/mips/freebsd32_machdep.c optional compat_freebsd32
22 mips/mips/gdb_machdep.c standard
23 mips/mips/in_cksum.c optional inet
24 mips/mips/libkern_machdep.c standard
25 mips/mips/locore.S standard no-obj
26 mips/mips/machdep.c standard
27 mips/mips/mem.c optional mem
28 mips/mips/minidump_machdep.c standard
29 mips/mips/mp_machdep.c optional smp
30 mips/mips/mpboot.S optional smp
31 mips/mips/nexus.c standard
32 mips/mips/ofw_machdep.c optional fdt
33 mips/mips/pm_machdep.c standard
34 mips/mips/pmap.c standard
35 mips/mips/ptrace_machdep.c standard
36 mips/mips/sc_machdep.c standard
37 mips/mips/stack_machdep.c optional ddb | stack
38 mips/mips/stdatomic.c standard \
39 compile-with "${NORMAL_C:N-Wmissing-prototypes}"
40 mips/mips/support.S standard
41 mips/mips/bcopy.S standard
42 mips/mips/swtch.S standard
43 mips/mips/sys_machdep.c standard
44 mips/mips/tlb.c standard
45 mips/mips/trap.c standard
46 mips/mips/uio_machdep.c standard
47 mips/mips/uma_machdep.c standard
48 mips/mips/vm_machdep.c standard
51 kern/link_elf_obj.c standard
52 kern/subr_atomic64.c optional mips | mipsel | mipshf | mipselhf
53 kern/subr_busdma_bufalloc.c standard
54 kern/subr_dummy_vdso_tc.c standard
55 kern/subr_sfbuf.c optional mips | mipsel | mipsn32
56 kern/subr_sfbuf.c optional mipshf | mipselhf
59 libkern/ffsl.c standard
60 libkern/ffsll.c standard
61 libkern/fls.c standard
62 libkern/flsl.c standard
63 libkern/flsll.c standard
64 libkern/cmpdi2.c optional mips | mipshf | mipsel | mipselhf
65 libkern/ucmpdi2.c optional mips | mipshf | mipsel | mipselhf
66 libkern/ashldi3.c standard
67 libkern/ashrdi3.c standard
68 libkern/memcmp.c standard
71 dev/cfe/cfe_api.c optional cfe
72 dev/cfe/cfe_console.c optional cfe_console
73 dev/cfe/cfe_env.c optional cfe_env
76 dev/fb/fb.c optional sc
77 dev/syscons/scgfbrndr.c optional sc
78 mips/mips/sc_machdep.c optional sc
81 dev/uart/uart_cpu_fdt.c optional uart fdt
83 # crypto support -- use generic
84 crypto/des/des_enc.c optional netsmb
86 # AP common nvram interface MIPS specific, but maybe should be more generic
87 dev/nvram2env/nvram2env_mips.c optional nvram2env
88 dev/nvram2env/nvram2env.c optional nvram2env
91 dev/hwpmc/hwpmc_beri.c optional hwpmc_beri
92 dev/hwpmc/hwpmc_mips.c optional hwpmc_mips24k | \
94 dev/hwpmc/hwpmc_mips24k.c optional hwpmc_mips24k
95 dev/hwpmc/hwpmc_mips74k.c optional hwpmc_mips74k
98 dev/ofw/ofwpci.c optional fdt pci
100 # INTRNG support code
101 kern/msi_if.m optional intrng
102 kern/pic_if.m optional intrng
103 kern/subr_intr.c optional intrng
104 # INTRNG compatible MIPS32 interrupt controller
105 mips/mips/mips_pic.c optional intrng
108 cddl/compat/opensolaris/kern/opensolaris_atomic.c optional zfs | dtrace compile-with "${CDDL_C}"
109 cddl/dev/dtrace/mips/dtrace_asm.S optional dtrace compile-with "${DTRACE_S}"
110 cddl/dev/dtrace/mips/dtrace_subr.c optional dtrace compile-with "${DTRACE_C}"
111 cddl/dev/fbt/mips/fbt_isa.c optional dtrace_fbt | dtraceall compile-with "${FBT_C}"
114 contrib/zstd/lib/freebsd/zstd_kfreebsd.c optional zstdio compile-with ${ZSTD_C}