850b2a0beadd7a732d351096ac2eb9c300589fa2
[dragonfly.git] / sys / platform / pc64 / conf / files
1 # This file tells config what files go into building a kernel,
2 # files marked standard are always included.
3 #
4 linux32_genassym.o              optional        compat_linux32                  \
5         dependency      "$S/emulation/linux/x86_64/linux32_genassym.c ${FORWARD_HEADERS_COOKIE}" \
6         compile-with    "${CC} ${CFLAGS:N-fno-common} ${WERROR} -c ${.IMPSRC}" \
7         no-obj no-implicit-rule                                            \
8         clean           "linux32_genassym.o"
9 #
10 linux32_assym.h                 optional        compat_linux32             \
11         dependency      "$S/kern/genassym.sh linux32_genassym.o"                   \
12         compile-with    "sh $S/kern/genassym.sh linux32_genassym.o > ${.TARGET}" \
13         no-obj no-implicit-rule before-depend                              \
14         clean           "linux32_assym.h"
15 #
16 font.h                          optional        sc_dflt_font            \
17         compile-with    "uudecode < /usr/share/syscons/fonts/${SC_DFLT_FONT}-8x16.fnt && file2c 'static u_char dflt_font_16[16*256] = {' '};' < ${SC_DFLT_FONT}-8x16 > font.h && uudecode < /usr/share/syscons/fonts/${SC_DFLT_FONT}-8x14.fnt && file2c 'static u_char dflt_font_14[14*256] = {' '};' < ${SC_DFLT_FONT}-8x14 >> font.h && uudecode < /usr/share/syscons/fonts/${SC_DFLT_FONT}-8x8.fnt && file2c 'static u_char dflt_font_8[8*256] = {' '};' < ${SC_DFLT_FONT}-8x8 >> font.h" \
18         no-obj no-implicit-rule before-depend                           \
19         clean           "font.h"
20 #
21 atkbdmap.h                      optional        atkbd_dflt_keymap       \
22         compile-with    "/usr/sbin/kbdcontrol -L ${ATKBD_DFLT_KEYMAP} | sed -e 's/^static keymap_t.* = /static keymap_t key_map = /' -e 's/^static accentmap_t.* = /static accentmap_t accent_map = /' > atkbdmap.h"                            \
23         no-obj no-implicit-rule before-depend                           \
24         clean           "atkbdmap.h"
25 #
26 ukbdmap.h                       optional        ukbd_dflt_keymap        \
27         compile-with    "/usr/sbin/kbdcontrol -L ${UKBD_DFLT_KEYMAP} | sed -e 's/^static keymap_t.* = /static keymap_t key_map = /' -e 's/^static accentmap_t.* = /static accentmap_t accent_map = /' > ukbdmap.h"                              \
28         no-obj no-implicit-rule before-depend                           \
29         clean           "ukbdmap.h"
30 #
31 hpt27xx_lib.o                   optional        hpt27xx                 \
32         dependency      "$S/dev/raid/hpt27xx/x86_64-elf.hpt27xx_lib.o.uu" \
33         compile-with    "uudecode < $S/dev/raid/hpt27xx/x86_64-elf.hpt27xx_lib.o.uu" \
34         no-implicit-rule
35 #
36 hptmvraid.o                     optional        hptmv                   \
37         dependency      "$S/dev/raid/hptmv/x86_64-elf.raid.o.uu"        \
38         compile-with    "uudecode < $S/dev/raid/hptmv/x86_64-elf.raid.o.uu" \
39         no-implicit-rule
40 #
41 hptrr_lib.o                     optional        hptrr                   \
42         dependency      "$S/dev/raid/hptrr/x86_64-elf.hptrr_lib.o.uu"   \
43         compile-with    "uudecode < $S/dev/raid/hptrr/x86_64-elf.hptrr_lib.o.uu" \
44         no-implicit-rule
45 #
46 emulation/linux/linux_file.c    optional        compat_linux32
47 emulation/linux/linux_getcwd.c  optional        compat_linux32
48 emulation/linux/linux_ioctl.c   optional        compat_linux32
49 emulation/linux/linux_ipc.c     optional        compat_linux32
50 emulation/linux/linux_mib.c     optional        compat_linux32
51 emulation/linux/linux_misc.c    optional        compat_linux32
52 emulation/linux/linux_signal.c  optional        compat_linux32
53 emulation/linux/linux_socket.c  optional        compat_linux32
54 emulation/linux/linux_stats.c   optional        compat_linux32
55 emulation/linux/linux_sysctl.c  optional        compat_linux32
56 emulation/linux/linux_uid16.c   optional        compat_linux32
57 emulation/linux/linux_util.c    optional        compat_linux32
58 emulation/linux/x86_64/linux32_dummy.c  optional        compat_linux32
59 emulation/linux/x86_64/linux32_locore.s optional        compat_linux32    \
60         dependency      "linux32_assym.h"
61 emulation/linux/x86_64/linux32_machdep.c        optional        compat_linux32
62 emulation/linux/x86_64/linux32_sysent.c optional        compat_linux32
63 emulation/linux/x86_64/linux32_sysvec.c optional        compat_linux32
64 emulation/ndis/kern_ndis.c      optional        ndisapi pci
65 emulation/ndis/kern_windrv.c    optional        ndisapi pci
66 emulation/ndis/subr_hal.c       optional        ndisapi pci
67 emulation/ndis/subr_ndis.c      optional        ndisapi pci
68 emulation/ndis/subr_ntoskrnl.c  optional        ndisapi pci
69 emulation/ndis/subr_pe.c        optional        ndisapi pci
70 emulation/ndis/subr_usbd.c      optional        ndisapi pci usb
71 emulation/ndis/subr_u4bd.c      optional        ndisapi pci usb4bsd
72 emulation/ndis/winx64_wrap.S    optional        ndisapi pci
73
74 # XXX use assembler versions of bf_enc and des_enc
75 crypto/blowfish/bf_enc.c                optional        ipsec ipsec_esp
76 crypto/des/des_enc.c                    optional        ipsec ipsec_esp
77 crypto/des/des_ecb.c                    optional        netsmbcrypto
78 crypto/des/des_enc.c                    optional        netsmbcrypto
79 crypto/des/des_setkey.c                 optional        netsmbcrypto
80 crypto/blowfish/bf_enc.c                optional        crypto
81 crypto/des/des_enc.c                    optional        crypto
82 crypto/des/des_ecb.c                    optional        crypto
83 crypto/des/des_setkey.c                 optional        crypto
84
85 ${OSACPI_MD_DIR}/OsdEnvironment.c       optional        acpi
86 ${OSACPI_MD_DIR}/acpi_cpu_machdep.c     optional        acpi
87 ${OSACPI_MD_DIR}/acpi_machdep.c         optional        acpi
88 ${OSACPI_MD_DIR}/acpi_pstate_machdep.c  optional        acpi
89 ${OSACPI_MD_DIR}/acpi_wakeup.c          optional        acpi
90 acpi.h                                  optional        acpi            \
91         dependency      "$S/${ACPICA_DIR}/include/acpi.h"               \
92         compile-with    "cp $S/${ACPICA_DIR}/include/acpi.h ${.OBJDIR}/"        \
93         no-obj no-implicit-rule before-depend                           \
94         clean           "acpi.h"
95 platform/acenv.h                        optional        acpi            \
96         dependency      "$S/${ACPICA_DIR}/include/platform/acenv.h"     \
97         compile-with    "mkdir -p ${.OBJDIR}/platform; cat ${.ALLSRC} | sed -e 's/__FreeBSD__/__DragonFly__/' -e 's/acfreebsd.h/acdragonfly.h/' > ${.TARGET}" \
98         no-obj no-implicit-rule before-depend                           \
99         clean           "acenv.h"
100 acpi_wakecode.h                         optional        acpi            \
101         dependency      "$S/${OSACPI_MD_DIR}/acpi_wakecode.S"           \
102         compile-with    "${MAKE} -f $S/${OSACPI_MD_DIR}/Makefile MAKESRCPATH=$S/${OSACPI_MD_DIR}" \
103        no-obj no-implicit-rule before-depend                            \
104        clean           "acpi_wakecode.h acpi_wakecode.o acpi_wakecode.bin"
105 #
106 dev/crypto/aesni/aesencdec_x86_64.S     optional        aesni
107 dev/crypto/aesni/aeskeys_x86_64.S       optional        aesni
108 dev/crypto/aesni/aesni.c                optional        aesni
109 dev/crypto/aesni/aesni_wrap.c           optional        aesni
110 dev/crypto/padlock/padlock.c            optional        padlock
111 dev/crypto/padlock/padlock_cipher.c     optional        padlock
112 dev/crypto/padlock/padlock_hash.c       optional        padlock
113 dev/crypto/padlock/padlock_rng.c        optional        padlock
114 dev/crypto/padlock/rng_harvest_x86_64.S optional        padlock
115 dev/crypto/rdrand/rdrand.c              optional        rdrand
116 dev/crypto/rdrand/rdrand_harvest_x86_64.S       optional        rdrand
117 dev/video/fb/fb.c                       optional        vga
118 dev/video/fb/splash.c                   optional        splash
119 dev/video/fb/vga.c                      optional        vga
120 dev/powermng/est/est.c                  optional        cpu_enable_est
121 dev/netif/ndis/if_ndis.c                optional        ndis
122 dev/netif/ndis/if_ndis_pccard.c         optional        ndis pccard
123 dev/netif/ndis/if_ndis_pci.c            optional        ndis cardbus
124 dev/netif/ndis/if_ndis_pci.c            optional        ndis pci
125 dev/netif/ndis/if_ndis_usb.c            optional        ndis usb
126 dev/netif/ndis/if_ndis_u4b.c            optional        ndis usb4bsd
127 dev/misc/kbd/atkbd.c                    optional        atkbd
128 dev/misc/kbd/atkbdc.c                   optional        atkbdc
129 dev/misc/kbd/kbd.c                      optional        atkbd
130 dev/misc/kbd/kbd.c                      optional        kbd
131 dev/misc/kbd/kbd.c                      optional        sc
132 dev/misc/kbd/kbd.c                      optional        ukbd
133 dev/misc/kbd/kbdsw.c                    optional        atkbd
134 dev/misc/kbd/kbdsw.c                    optional        kbd
135 dev/misc/kbd/kbdsw.c                    optional        sc
136 dev/misc/kbd/kbdsw.c                    optional        ukbd
137 dev/misc/syscons/schistory.c            optional        sc
138 dev/misc/syscons/scmouse.c              optional        sc
139 dev/misc/syscons/scterm.c               optional        sc
140 dev/misc/syscons/scterm-dumb.c          optional        sc
141 dev/misc/syscons/scterm-sc.c            optional        sc
142 dev/misc/syscons/scvgarndr.c            optional        sc vga
143 dev/misc/syscons/scvidctl.c             optional        sc
144 dev/misc/syscons/scvtb.c                optional        sc
145 dev/misc/syscons/syscons.c              optional        sc
146 dev/misc/syscons/sysmouse.c             optional        sc
147 kern/link_elf_obj.c             standard
148 vfs/smbfs/smbfs_io.c            optional        smbfs
149 vfs/smbfs/smbfs_node.c          optional        smbfs
150 vfs/smbfs/smbfs_smb.c           optional        smbfs
151 vfs/smbfs/smbfs_subr.c          optional        smbfs
152 vfs/smbfs/smbfs_vfsops.c        optional        smbfs
153 vfs/smbfs/smbfs_vnops.c         optional        smbfs
154
155 cpu/x86_64/misc/atomic.c                standard                        \
156         compile-with    "${CC} -c ${CFLAGS} ${WERROR} ${DEFINED_PROF:S/^$/-fomit-frame-pointer/} ${.IMPSRC}"
157 platform/pc64/x86_64/autoconf.c standard
158 platform/pc64/x86_64/mpboot.S   standard
159
160 # DDB XXX
161 cpu/x86_64/misc/x86_64-gdbstub.c        optional        ddb
162 cpu/x86_64/misc/lwbuf.c                 standard
163 cpu/x86_64/misc/elf_machdep.c           standard
164 cpu/x86_64/misc/in_cksum2.s             optional        inet
165 cpu/x86_64/misc/in_cksum2.s             optional        inet6
166 cpu/x86_64/misc/ktr.c                   optional        ktr
167 cpu/x86_64/misc/db_disasm.c             optional        ddb
168 cpu/x86_64/misc/bzeront.s               standard
169 cpu/x86_64/misc/monitor.s               standard
170 #
171 # DOS mbr and gpt
172 kern/subr_diskmbr.c                     standard
173 kern/subr_diskgpt.c                     standard
174
175 libkern/memset.c                        standard
176 libkern/stack_protector.c               standard
177
178 # DEVICES
179 #
180
181 # PLATFORM FILES
182 #
183 platform/pc64/x86_64/exception.S                standard
184 platform/pc64/x86_64/msi_vector.s       standard
185 platform/pc64/x86_64/ipl.s              standard
186 platform/pc64/x86_64/global.s           standard
187 platform/pc64/x86_64/support.s          standard
188 platform/pc64/x86_64/sigtramp.s         standard
189 platform/pc64/x86_64/swtch.s            standard
190 platform/pc64/x86_64/npx.c              standard
191 platform/pc64/x86_64/db_interface.c     optional        ddb
192 platform/pc64/x86_64/db_trace.c         optional        ddb
193 platform/pc64/x86_64/dump_machdep.c     standard
194 platform/pc64/x86_64/minidump_machdep.c standard
195 platform/pc64/x86_64/vm_machdep.c       standard
196 platform/pc64/x86_64/machdep.c          standard
197 platform/pc64/x86_64/userldt.c          standard
198 platform/pc64/x86_64/tls.c              standard
199 platform/pc64/x86_64/trap.c             standard
200 platform/pc64/x86_64/procfs_machdep.c   standard
201 platform/pc64/x86_64/initcpu.c          standard
202 platform/pc64/x86_64/identcpu.c         standard
203 platform/pc64/x86_64/amd64_mem.c        standard
204 platform/pc64/x86_64/cpufreq_machdep.c    standard
205 platform/pc64/x86_64/msi.c              standard
206
207 platform/pc64/apic/lapic.c              standard
208 platform/pc64/apic/ioapic.c             standard
209 platform/pc64/apic/ioapic_abi.c         standard
210 platform/pc64/apic/ioapic_ipl.s         standard
211 platform/pc64/apic/apic_vector.s        standard
212
213 bus/isa/x86_64/isa.c                    optional        isa
214 bus/isa/x86_64/isa_dma.c                        optional        isa
215
216 platform/pc64/x86_64/nexus.c            standard
217
218 platform/pc64/icu/icu.c                 standard
219 platform/pc64/icu/icu_abi.c             standard
220 platform/pc64/icu/icu_ipl.s             standard
221 platform/pc64/icu/icu_vector.s          standard
222 platform/pc64/icu/elcr.c                standard
223
224 bus/pci/x86_64/legacy.c                 optional        pci
225 bus/pci/x86_64/pci_bus.c                        optional        pci
226 bus/pci/x86_64/pci_cfgreg.c             optional        pci
227 bus/pci/x86_64/mptable_pci.c            optional        pci
228 # notyet (BIOS struct and functions)
229 #bus/pci/x86_64/pci_pir.c                       optional        pci
230
231 platform/pc64/x86_64/pmap.c             standard
232 platform/pc64/x86_64/pmap_inval.c               standard
233 platform/pc64/x86_64/busdma_machdep.c standard
234 platform/pc64/x86_64/sysarch.c  standard
235 platform/pc64/x86_64/ipl_funcs.c        standard
236 kern/syscalls.c                 standard
237 platform/pc64/x86_64/mp_machdep.c       standard
238 platform/pc64/x86_64/mptable.c          standard
239 platform/pc64/acpica/acpi_sdt.c standard
240 platform/pc64/acpica/acpi_fadt.c        standard
241 platform/pc64/acpica/acpi_madt.c        standard
242 dev/misc/atkbd/atkbd_isa.c              optional        atkbd
243 dev/misc/atkbdc_layer/atkbdc_isa.c      optional        atkbdc
244 dev/misc/ppc/ppc.c                      optional        ppc
245 dev/misc/psm/psm.c                      optional        psm
246 dev/serial/sio/sio.c                    optional        sio
247 bus/isa/syscons_isa.c                   optional        sc
248 bus/isa/vga_isa.c                       optional        vga
249 platform/pc64/isa/clock.c               standard nowerror
250 platform/pc64/isa/isa_intr.c            standard
251 platform/pc64/x86_64/spinlock.s         standard
252 dev/netif/elink_layer/elink.c           optional        ep