Print this page
| Split |
Close |
| Expand all |
| Collapse all |
--- old/usr/src/uts/i86pc/Makefile.files
+++ new/usr/src/uts/i86pc/Makefile.files
1 1 #
2 2 # CDDL HEADER START
3 3 #
4 4 # The contents of this file are subject to the terms of the
5 5 # Common Development and Distribution License (the "License").
6 6 # You may not use this file except in compliance with the License.
7 7 #
8 8 # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9 9 # or http://www.opensolaris.org/os/licensing.
10 10 # See the License for the specific language governing permissions
11 11 # and limitations under the License.
12 12 #
13 13 # When distributing Covered Code, include this CDDL HEADER in each
14 14 # file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15 15 # If applicable, add the following below this CDDL HEADER, with the
16 16 # fields enclosed by brackets "[]" replaced with your own identifying
17 17 # information: Portions Copyright [yyyy] [name of copyright owner]
18 18 #
19 19 # CDDL HEADER END
20 20 #
21 21
22 22 #
23 23 # Copyright (c) 1992, 2010, Oracle and/or its affiliates. All rights reserved.
24 24 #
25 25 # Copyright (c) 2010, Intel Corporation.
26 26 # Copyright 2016 Joyent, Inc.
27 27 #
28 28 # This Makefile defines file modules in the directory uts/i86pc
29 29 # and its children. These are the source files which are i86pc
30 30 # "implementation architecture" dependent.
31 31 #
32 32
33 33 #
34 34 # object lists
35 35 #
36 36 CORE_OBJS += \
37 37 acpi_stubs.o \
38 38 biosdisk.o \
39 39 bios_call.o \
40 40 cbe.o \
41 41 cmi.o \
42 42 cmi_hw.o \
43 43 cms.o \
44 44 comm_page.o \
45 45 confunix.o \
46 46 cpu_idle.o \
47 47 cpuid.o \
48 48 cpuid_subr.o \
49 49 cpupm.o \
50 50 cpupm_mach.o \
51 51 cpupm_amd.o \
52 52 cpupm_intel.o \
53 53 cpupm_throttle.o \
54 54 cpu_acpi.o \
55 55 dis_tables.o \
56 56 ddi_impl.o \
57 57 dtrace_subr.o \
58 58 dvma.o \
59 59 fpu_subr.o \
60 60 fakebop.o \
61 61 fastboot.o \
62 62 fb_swtch.o \
63 63 graphics.o \
64 64 hardclk.o \
65 65 hat_i86.o \
66 66 hat_kdi.o \
67 67 hment.o \
68 68 hold_page.o \
69 69 hrtimers.o \
70 70 htable.o \
71 71 hypercall.o \
72 72 hypersubr.o \
73 73 i86_mmu.o \
74 74 ibft.o \
75 75 instr_size.o \
76 76 intr.o \
77 77 kboot_mmu.o \
78 78 kdi_subr.o \
79 79 kdi_idt.o \
80 80 kdi_idthdl.o \
81 81 kdi_asm.o \
82 82 lgrpplat.o \
83 83 mach_kdi.o \
84 84 mach_sysconfig.o \
85 85 machdep.o \
86 86 mem_config.o \
87 87 mem_config_stubs.o \
88 88 mem_config_arch.o \
89 89 memlist_new.o \
90 90 memnode.o \
91 91 microcode.o \
92 92 microfind.o \
93 93 mlsetup.o \
94 94 mp_call.o \
95 95 mp_implfuncs.o \
96 96 mp_machdep.o \
97 97 mp_pc.o \
98 98 mp_startup.o \
99 99 memscrub.o \
100 100 mpcore.o \
101 101 notes.o \
102 102 pci_bios.o \
103 103 pci_cfgacc.o \
104 104 pci_cfgacc_x86.o \
105 105 pci_cfgspace.o \
106 106 pci_mech1.o \
107 107 pci_mech1_amd.o \
108 108 pci_mech2.o \
109 109 pci_neptune.o \
110 110 pci_orion.o \
111 111 pmem.o \
112 112 ppage.o \
113 113 pwrnow.o \
114 114 speedstep.o \
115 115 ssp.o \
116 116 startup.o \
117 117 timestamp.o \
118 118 todpc_subr.o \
119 119 trap.o \
120 120 turbo.o \
121 121 vm_machdep.o \
122 122 xpv_platform.o \
123 123 x_call.o
124 124
125 125 #
126 126 # Add the SMBIOS subsystem object files directly to the list of objects
127 127 # built into unix itself; this is all common code except for smb_dev.c.
128 128 #
129 129 CORE_OBJS += $(SMBIOS_OBJS)
130 130
131 131 #
132 132 # These get compiled twice:
133 133 # - once in the dboot (direct boot) identity mapped code
134 134 # - once for use during early startup in unix
135 135 #
136 136 BOOT_DRIVER_OBJS = \
137 137 boot_console.o \
138 138 boot_keyboard.o \
139 139 boot_keyboard_table.o \
140 140 boot_vga.o \
141 141 boot_mmu.o
142 142
143 143 CORE_OBJS += $(BOOT_DRIVER_OBJS)
144 144
145 145 #
146 146 # locore.o is special. It must be the first file relocated so that it
147 147 # it is relocated just where its name implies.
148 148 #
149 149 SPECIAL_OBJS_32 += \
150 150 locore.o \
151 151 fast_trap_asm.o \
152 152 interrupt.o \
153 153 syscall_asm.o
154 154
155 155 SPECIAL_OBJS_64 += \
156 156 locore.o \
157 157 fast_trap_asm.o \
158 158 interrupt.o \
159 159 syscall_asm_amd64.o
160 160
161 161 SPECIAL_OBJS += $(SPECIAL_OBJS_$(CLASS))
162 162
163 163 #
164 164 # Objects that get compiled into the identity mapped PT_LOAD section of unix
165 165 # to handle the earliest part of booting.
166 166 #
167 167 DBOOT_OBJS_32 =
168 168
169 169 DBOOT_OBJS_64 += dboot_elfload.o
170 170
171 171 DBOOT_OBJS += \
172 172 dboot_asm.o \
173 173 dboot_grub.o \
174 174 dboot_printf.o \
175 175 dboot_startkern.o \
176 176 memcpy.o \
177 177 memset.o \
178 178 muldiv.o \
179 179 sha1.o \
180 180 string.o \
181 181 $(BOOT_DRIVER_OBJS) \
182 182 $(DBOOT_OBJS_$(CLASS))
183 183
184 184 #
185 185 # driver and misc modules
186 186 #
187 187 GFX_PRIVATE_OBJS += gfx_private.o gfxp_pci.o gfxp_segmap.o \
188 188 gfxp_devmap.o gfxp_vgatext.o gfxp_vm.o vgasubr.o
189 189 FIPE_OBJS += fipe_drv.o fipe_pm.o
190 190 IOAT_OBJS += ioat.o ioat_rs.o ioat_ioctl.o ioat_chan.o
191 191 ISANEXUS_OBJS += isa.o dma_engine.o i8237A.o
192 192 PCIE_MISC_OBJS += pcie_acpi.o pciehpc_acpi.o pcie_x86.o
193 193 PCI_E_NEXUS_OBJS += npe.o npe_misc.o
194 194 PCI_E_NEXUS_OBJS += pci_common.o pci_kstats.o pci_tools.o
195 195 PCINEXUS_OBJS += pci.o pci_common.o pci_kstats.o pci_tools.o
196 196 PCPLUSMP_OBJS += apic.o apic_regops.o psm_common.o apic_introp.o \
197 197 mp_platform_common.o mp_platform_misc.o \
198 198 hpet_acpi.o apic_common.o apic_timer.o
199 199 APIX_OBJS += apix.o apic_regops.o psm_common.o apix_intr.o apix_utils.o \
200 200 apix_irm.o mp_platform_common.o hpet_acpi.o apic_common.o \
201 201 apic_timer.o
202 202
203 203
204 204 ACPI_DRV_OBJS += acpi_drv.o acpi_video.o
205 205 ACPINEX_OBJS += acpinex_drv.o acpinex_event.o
206 206
207 207 CPUDRV_OBJS += \
208 208 cpudrv.o \
209 209 cpudrv_mach.o
210 210
211 211 PPM_OBJS += ppm_subr.o ppm.o ppm_plat.o
212 212
213 213 ACPIPPM_OBJS += acpippm.o acpisleep.o
214 214 ACPIDEV_OBJS += acpidev_drv.o \
215 215 acpidev_scope.o acpidev_device.o \
216 216 acpidev_container.o \
217 217 acpidev_cpu.o \
218 218 acpidev_dr.o \
219 219 acpidev_memory.o \
220 220 acpidev_pci.o \
221 221 acpidev_resource.o \
222 222 acpidev_util.o
223 223
224 224 DRMACH_ACPI_OBJS += drmach_acpi.o dr_util.o drmach_err.o
225 225
226 226 DR_OBJS += dr.o dr_cpu.o dr_err.o dr_io.o dr_mem_acpi.o dr_quiesce.o dr_util.o
227 227
228 228 ROOTNEX_OBJS += rootnex.o immu.o immu_dmar.o immu_dvma.o \
229 229 immu_intrmap.o immu_qinv.o immu_regs.o
230 230
231 231 TZMON_OBJS += tzmon.o
232 232 UPPC_OBJS += uppc.o psm_common.o
233 233 XSVC_OBJS += xsvc.o
234 234 AMD_IOMMU_OBJS += amd_iommu.o amd_iommu_impl.o amd_iommu_acpi.o \
235 235 amd_iommu_cmd.o amd_iommu_log.o amd_iommu_page_tables.o
236 236
237 237 #
238 238 # Build up defines and paths.
239 239 #
240 240 ALL_DEFS += -Di86pc
241 241 INC_PATH += -I$(UTSBASE)/i86pc -I$(SRC)/common
242 242 INC_PATH += -I$(UTSBASE)/i86xpv -I$(UTSBASE)/common/xen
243 243
244 244 #
245 245 # Since the assym files are derived, the dependencies must be explicit for
246 246 # all files including this file. (This is only actually required in the
247 247 # instance when the .nse_depinfo file does not exist.) It may seem that
248 248 # the lint targets should also have a similar dependency, but they don't
249 249 # since only C headers are included when #defined(__lint) is true.
250 250 #
251 251
252 252 ASSYM_DEPS += \
253 253 copy.o \
254 254 desctbls_asm.o \
255 255 ddi_i86_asm.o \
256 256 exception.o \
257 257 fast_trap_asm.o \
258 258 float.o \
259 259 i86_subr.o \
260 260 interrupt.o \
261 261 lock_prim.o \
262 262 locore.o \
263 263 mpcore.o \
264 264 sseblk.o \
265 265 swtch.o \
266 266 syscall_asm.o \
267 267 syscall_asm_amd64.o \
268 268 cpr_wakecode.o
269 269
270 270 CPR_IMPL_OBJS = cpr_impl.o cpr_wakecode.o
271 271
272 272 $(KDI_ASSYM_DEPS:%=$(OBJS_DIR)/%): $(DSF_DIR)/$(OBJS_DIR)/kdi_assym.h
273 273
274 274 ASSYM_DEPS += kdi_asm.o
|
↓ open down ↓ |
274 lines elided |
↑ open up ↑ |
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX