fbccd6c3bc7f6dfb8d0cb67e2cf5bc65c666f5c8
[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 hptmvraid.o                     optional        hptmv                   \
32         dependency      "$S/dev/raid/hptmv/x86_64-elf.raid.o.uu"        \
33         compile-with    "uudecode < $S/dev/raid/hptmv/x86_64-elf.raid.o.uu" \
34         no-implicit-rule
35 #
36 emulation/linux/linux_file.c    optional        compat_linux32
37 emulation/linux/linux_getcwd.c  optional        compat_linux32
38 emulation/linux/linux_ioctl.c   optional        compat_linux32
39 emulation/linux/linux_ipc.c     optional        compat_linux32
40 emulation/linux/linux_mib.c     optional        compat_linux32
41 emulation/linux/linux_misc.c    optional        compat_linux32
42 emulation/linux/linux_signal.c  optional        compat_linux32
43 emulation/linux/linux_socket.c  optional        compat_linux32
44 emulation/linux/linux_stats.c   optional        compat_linux32
45 emulation/linux/linux_sysctl.c  optional        compat_linux32
46 emulation/linux/linux_uid16.c   optional        compat_linux32
47 emulation/linux/linux_util.c    optional        compat_linux32
48 emulation/linux/x86_64/linux32_dummy.c  optional        compat_linux32
49 emulation/linux/x86_64/linux32_locore.s optional        compat_linux32    \
50         dependency      "linux32_assym.h"
51 emulation/linux/x86_64/linux32_machdep.c        optional        compat_linux32
52 emulation/linux/x86_64/linux32_sysent.c optional        compat_linux32
53 emulation/linux/x86_64/linux32_sysvec.c optional        compat_linux32
54 emulation/ndis/kern_ndis.c      optional        ndisapi pci
55 emulation/ndis/kern_windrv.c    optional        ndisapi pci
56 emulation/ndis/subr_hal.c       optional        ndisapi pci
57 emulation/ndis/subr_ndis.c      optional        ndisapi pci
58 emulation/ndis/subr_ntoskrnl.c  optional        ndisapi pci
59 emulation/ndis/subr_pe.c        optional        ndisapi pci
60 emulation/ndis/subr_usbd.c      optional        ndisapi pci
61 emulation/ndis/winx64_wrap.S    optional        ndisapi pci
62
63 # XXX use assembler versions of bf_enc and des_enc
64 crypto/blowfish/bf_enc.c                optional        ipsec ipsec_esp
65 crypto/des/des_enc.c                    optional        ipsec ipsec_esp
66 crypto/des/des_ecb.c                    optional        netsmbcrypto
67 crypto/des/des_enc.c                    optional        netsmbcrypto
68 crypto/des/des_setkey.c                 optional        netsmbcrypto
69 crypto/blowfish/bf_enc.c                optional        crypto
70 crypto/des/des_enc.c                    optional        crypto
71 crypto/des/des_ecb.c                    optional        crypto
72 crypto/des/des_setkey.c                 optional        crypto
73
74 ${OSACPI_MD_DIR}/OsdEnvironment.c       optional        acpi
75 ${OSACPI_MD_DIR}/acpi_machdep.c         optional        acpi
76 ${OSACPI_MD_DIR}/acpi_pstate_machdep.c  optional        acpi
77 ${OSACPI_MD_DIR}/acpi_wakeup.c          optional        acpi
78 acpi.h                                  optional        acpi            \
79         dependency      "$S/${ACPICA_DIR}/include/acpi.h"               \
80         compile-with    "cp $S/${ACPICA_DIR}/include/acpi.h ${.OBJDIR}/"        \
81         no-obj no-implicit-rule before-depend                           \
82         clean           "acpi.h"
83 platform/acenv.h                        optional        acpi            \
84         dependency      "$S/${ACPICA_DIR}/include/platform/acenv.h"     \
85         compile-with    "mkdir -p ${.OBJDIR}/platform; cat ${.ALLSRC} | sed -e 's/__FreeBSD__/__DragonFly__/' -e 's/acfreebsd.h/acdragonfly.h/' > ${.TARGET}" \
86         no-obj no-implicit-rule before-depend                           \
87         clean           "acenv.h"
88 acpi_wakecode.h                         optional        acpi            \
89         dependency      "$S/${OSACPI_MD_DIR}/acpi_wakecode.S"           \
90         compile-with    "${MAKE} -f $S/${OSACPI_MD_DIR}/Makefile MAKESRCPATH=$S/${OSACPI_MD_DIR}" \
91        no-obj no-implicit-rule before-depend                            \
92        clean           "acpi_wakecode.h acpi_wakecode.o acpi_wakecode.bin"
93 #
94 dev/crypto/aesni/aesencdec_x86_64.S     optional        aesni
95 dev/crypto/aesni/aeskeys_x86_64.S       optional        aesni
96 dev/crypto/aesni/aesni.c                optional        aesni
97 dev/crypto/aesni/aesni_wrap.c           optional        aesni
98 dev/crypto/padlock/padlock.c            optional        padlock
99 dev/crypto/padlock/padlock_cipher.c     optional        padlock
100 dev/crypto/padlock/padlock_hash.c       optional        padlock
101 dev/crypto/padlock/padlock_rng.c        optional        padlock
102 dev/crypto/padlock/rng_harvest_x86_64.S optional        padlock
103 dev/video/fb/fb.c                       optional        vga
104 dev/video/fb/splash.c                   optional        splash
105 dev/video/fb/vga.c                      optional        vga
106 dev/powermng/est/est.c                  optional        cpu_enable_est
107 dev/netif/ndis/if_ndis.c                optional        ndis
108 dev/netif/ndis/if_ndis_pccard.c         optional        ndis pccard
109 dev/netif/ndis/if_ndis_pci.c            optional        ndis cardbus
110 dev/netif/ndis/if_ndis_pci.c            optional        ndis pci
111 dev/netif/ndis/if_ndis_usb.c            optional        ndis usb
112 dev/misc/kbd/atkbd.c                    optional        atkbd
113 dev/misc/kbd/atkbdc.c                   optional        atkbdc
114 dev/misc/kbd/kbd.c                      optional        atkbd
115 dev/misc/kbd/kbd.c                      optional        kbd
116 dev/misc/kbd/kbd.c                      optional        sc
117 dev/misc/kbd/kbd.c                      optional        ukbd
118 dev/misc/kbd/kbdsw.c                    optional        atkbd
119 dev/misc/kbd/kbdsw.c                    optional        kbd
120 dev/misc/kbd/kbdsw.c                    optional        sc
121 dev/misc/kbd/kbdsw.c                    optional        ukbd
122 dev/misc/syscons/schistory.c            optional        sc
123 dev/misc/syscons/scmouse.c              optional        sc
124 dev/misc/syscons/scterm.c               optional        sc
125 dev/misc/syscons/scterm-dumb.c          optional        sc
126 dev/misc/syscons/scterm-sc.c            optional        sc
127 dev/misc/syscons/scvgarndr.c            optional        sc vga
128 dev/misc/syscons/scvidctl.c             optional        sc
129 dev/misc/syscons/scvtb.c                optional        sc
130 dev/misc/syscons/syscons.c              optional        sc
131 dev/misc/syscons/sysmouse.c             optional        sc
132 kern/link_elf_obj.c             standard
133 vfs/smbfs/smbfs_io.c            optional        smbfs
134 vfs/smbfs/smbfs_node.c          optional        smbfs
135 vfs/smbfs/smbfs_smb.c           optional        smbfs
136 vfs/smbfs/smbfs_subr.c          optional        smbfs
137 vfs/smbfs/smbfs_vfsops.c        optional        smbfs
138 vfs/smbfs/smbfs_vnops.c         optional        smbfs
139
140 cpu/x86_64/misc/atomic.c                standard                        \
141         compile-with    "${CC} -c ${CFLAGS} ${WERROR} ${DEFINED_PROF:S/^$/-fomit-frame-pointer/} ${.IMPSRC}"
142 platform/pc64/x86_64/autoconf.c standard
143 platform/pc64/x86_64/mpboot.S           optional        smp
144
145 # DDB XXX
146 cpu/x86_64/misc/x86_64-gdbstub.c        optional        ddb
147 cpu/x86_64/misc/lwbuf.c                 standard
148 cpu/x86_64/misc/elf_machdep.c           standard
149 cpu/x86_64/misc/in_cksum2.s             optional        inet
150 cpu/x86_64/misc/ktr.c                   optional        ktr
151 cpu/x86_64/misc/db_disasm.c             optional        ddb
152 cpu/x86_64/misc/bzeront.s               standard
153 cpu/x86_64/misc/monitor.s               standard
154 #
155 # DOS mbr and gpt
156 kern/subr_diskmbr.c                     standard
157 kern/subr_diskgpt.c                     standard
158
159 libkern/memset.c                        standard
160 libkern/stack_protector.c               standard
161
162 # DEVICES
163 #
164
165 # PLATFORM FILES
166 #
167 platform/pc64/x86_64/exception.S                standard
168 platform/pc64/x86_64/msi_vector.s       standard
169 platform/pc64/x86_64/ipl.s              standard
170 platform/pc64/x86_64/global.s           standard
171 platform/pc64/x86_64/support.s          standard
172 platform/pc64/x86_64/sigtramp.s         standard
173 platform/pc64/x86_64/swtch.s            standard
174 platform/pc64/x86_64/npx.c              standard
175 platform/pc64/x86_64/db_interface.c     optional        ddb
176 platform/pc64/x86_64/db_trace.c         optional        ddb
177 platform/pc64/x86_64/dump_machdep.c     standard
178 platform/pc64/x86_64/minidump_machdep.c standard
179 platform/pc64/x86_64/vm_machdep.c       standard
180 platform/pc64/x86_64/machdep.c          standard
181 platform/pc64/x86_64/userldt.c          standard
182 platform/pc64/x86_64/tls.c              standard
183 platform/pc64/x86_64/trap.c             standard
184 platform/pc64/x86_64/procfs_machdep.c   standard
185 platform/pc64/x86_64/initcpu.c          standard
186 platform/pc64/x86_64/identcpu.c         standard
187 platform/pc64/x86_64/amd64_mem.c        standard
188 platform/pc64/x86_64/cpufreq_machdep.c    standard
189 platform/pc64/x86_64/msi.c              standard
190
191 platform/pc64/apic/lapic.c              standard
192 platform/pc64/apic/ioapic.c             standard
193 platform/pc64/apic/ioapic_abi.c         standard
194 platform/pc64/apic/ioapic_ipl.s         standard
195 platform/pc64/apic/apic_vector.s        standard
196
197 bus/isa/x86_64/isa.c                    optional        isa
198 bus/isa/x86_64/isa_dma.c                        optional        isa
199
200 platform/pc64/x86_64/nexus.c            standard
201
202 platform/pc64/icu/icu.c                 standard
203 platform/pc64/icu/icu_abi.c             standard
204 platform/pc64/icu/icu_ipl.s             standard
205 platform/pc64/icu/icu_vector.s          standard
206 platform/pc64/icu/elcr.c                standard
207
208 bus/pci/x86_64/legacy.c                 optional        pci
209 bus/pci/x86_64/pci_bus.c                        optional        pci
210 bus/pci/x86_64/pci_cfgreg.c             optional        pci
211 bus/pci/x86_64/mptable_pci.c            optional        pci
212 # notyet (BIOS struct and functions)
213 #bus/pci/x86_64/pci_pir.c                       optional        pci
214
215 platform/pc64/x86_64/pmap.c             standard
216 platform/pc64/x86_64/pmap_inval.c               standard
217 platform/pc64/x86_64/busdma_machdep.c standard
218 platform/pc64/x86_64/sysarch.c  standard
219 platform/pc64/x86_64/ipl_funcs.c        standard
220 kern/syscalls.c                 standard
221 platform/pc64/x86_64/mp_machdep.c               optional        smp
222 platform/pc64/x86_64/mptable.c          standard
223 platform/pc64/acpica5/acpi_sdt.c        standard
224 platform/pc64/acpica5/acpi_fadt.c       standard
225 platform/pc64/acpica5/acpi_madt.c       standard
226 dev/misc/atkbd/atkbd_isa.c              optional        atkbd
227 dev/misc/atkbdc_layer/atkbdc_isa.c      optional        atkbdc
228 dev/misc/ppc/ppc.c                      optional        ppc
229 dev/misc/psm/psm.c                      optional        psm
230 dev/serial/sio/sio.c                    optional        sio
231 bus/isa/syscons_isa.c                   optional        sc
232 bus/isa/vga_isa.c                       optional        vga
233 platform/pc64/isa/clock.c               standard nowerror
234 platform/pc64/isa/isa_intr.c            standard
235 platform/pc64/x86_64/spinlock.s         standard
236 dev/netif/elink_layer/elink.c           optional        ep