Print this page
remove inlines,some other files
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 2018 Joyent, Inc.
27 27 # Copyright 2019 OmniOS Community Edition (OmniOSce) Association.
28 28 #
29 29 # This Makefile defines file modules in the directory uts/i86pc
30 30 # and its children. These are the source files which are i86pc
31 31 # "implementation architecture" dependent.
32 32 #
33 33
34 34 #
35 35 # object lists
36 36 #
37 37 CORE_OBJS += \
38 38 acpi_stubs.o \
39 39 biosdisk.o \
40 40 bios_call.o \
41 41 cbe.o \
42 42 cmi.o \
43 43 cmi_hw.o \
44 44 cms.o \
45 45 comm_page.o \
46 46 confunix.o \
47 47 cpu_idle.o \
48 48 cpuid.o \
49 49 cpuid_subr.o \
50 50 cpupm.o \
51 51 cpupm_mach.o \
52 52 cpupm_amd.o \
53 53 cpupm_intel.o \
54 54 cpupm_throttle.o \
55 55 cpu_acpi.o \
56 56 dis_tables.o \
57 57 ddi_impl.o \
58 58 dtrace_subr.o \
59 59 dvma.o \
60 60 fpu_subr.o \
61 61 fakebop.o \
62 62 fastboot.o \
63 63 fb_swtch.o \
64 64 graphics.o \
65 65 hardclk.o \
66 66 hat_i86.o \
67 67 hat_kdi.o \
68 68 hma_fpu.o \
69 69 hment.o \
70 70 hold_page.o \
71 71 hrtimers.o \
72 72 htable.o \
73 73 hypercall.o \
74 74 hypersubr.o \
75 75 i86_mmu.o \
76 76 ibft.o \
77 77 instr_size.o \
78 78 intr.o \
79 79 kboot_mmu.o \
80 80 kdi_idt.o \
81 81 kdi_idthdl.o \
82 82 kdi_asm.o \
83 83 lgrpplat.o \
84 84 mach_kdi.o \
85 85 mach_sysconfig.o \
86 86 machdep.o \
87 87 md_clear.o \
88 88 mem_config.o \
89 89 mem_config_stubs.o \
90 90 mem_config_arch.o \
91 91 memlist_new.o \
92 92 memnode.o \
93 93 microcode.o \
94 94 microfind.o \
95 95 mlsetup.o \
96 96 mp_call.o \
97 97 mp_implfuncs.o \
98 98 mp_machdep.o \
99 99 mp_pc.o \
100 100 mp_startup.o \
101 101 memscrub.o \
102 102 mpcore.o \
103 103 notes.o \
104 104 pci_bios.o \
105 105 pci_cfgacc.o \
106 106 pci_cfgacc_x86.o \
107 107 pci_cfgspace.o \
108 108 pci_mech1.o \
109 109 pci_mech1_amd.o \
110 110 pci_mech2.o \
111 111 pci_neptune.o \
112 112 pci_orion.o \
113 113 pmem.o \
114 114 ppage.o \
115 115 pwrnow.o \
116 116 smt.o \
117 117 speedstep.o \
118 118 ssp.o \
119 119 startup.o \
120 120 timestamp.o \
121 121 todpc_subr.o \
122 122 trap.o \
123 123 turbo.o \
124 124 vm_machdep.o \
125 125 xpv_platform.o \
126 126 x_call.o
127 127
128 128 #
129 129 # Add the SMBIOS subsystem object files directly to the list of objects
130 130 # built into unix itself; this is all common code except for smb_dev.c.
131 131 #
132 132 CORE_OBJS += $(SMBIOS_OBJS)
133 133
134 134 #
135 135 # These get compiled twice:
136 136 # - once in the dboot (direct boot) identity mapped code
137 137 # - once for use during early startup in unix
138 138 #
139 139 BOOT_DRIVER_OBJS = \
140 140 boot_console.o \
141 141 boot_keyboard.o \
142 142 boot_keyboard_table.o \
143 143 boot_vga.o \
144 144 boot_fb.o \
↓ open down ↓ |
144 lines elided |
↑ open up ↑ |
145 145 boot_mmu.o \
146 146 dboot_multiboot2.o \
147 147 $(FONT_OBJS)
148 148
149 149 CORE_OBJS += $(BOOT_DRIVER_OBJS)
150 150
151 151 #
152 152 # locore.o is special. It must be the first file relocated so that it
153 153 # it is relocated just where its name implies.
154 154 #
155 -SPECIAL_OBJS_32 += \
155 +SPECIAL_OBJS += \
156 156 locore.o \
157 157 fast_trap_asm.o \
158 158 interrupt.o \
159 - syscall_asm.o
160 -
161 -SPECIAL_OBJS_64 += \
162 - locore.o \
163 - fast_trap_asm.o \
164 - interrupt.o \
165 - syscall_asm_amd64.o \
159 + syscall_asm.o \
166 160 kpti_trampolines.o
167 161
168 -SPECIAL_OBJS += $(SPECIAL_OBJS_$(CLASS))
169 -
170 162 #
171 163 # Objects that get compiled into the identity mapped PT_LOAD section of unix
172 164 # to handle the earliest part of booting.
173 165 #
174 166 DBOOT_OBJS_32 =
175 167
176 168 DBOOT_OBJS_64 += dboot_elfload.o
177 169
178 170 DBOOT_OBJS += \
179 171 dboot_asm.o \
180 172 dboot_grub.o \
181 173 dboot_printf.o \
182 174 dboot_startkern.o \
183 175 memcpy.o \
184 176 memset.o \
185 177 muldiv.o \
186 178 sha1.o \
187 179 string.o \
188 180 $(BOOT_DRIVER_OBJS) \
189 181 $(DBOOT_OBJS_$(CLASS))
190 182
191 183 #
192 184 # driver and misc modules
193 185 #
194 186 GFX_PRIVATE_OBJS += gfx_private.o gfxp_pci.o gfxp_segmap.o \
195 187 gfxp_devmap.o gfxp_vgatext.o gfxp_vm.o vgasubr.o \
196 188 gfxp_fb.o gfxp_bitmap.o
197 189 FIPE_OBJS += fipe_drv.o fipe_pm.o
198 190 IOAT_OBJS += ioat.o ioat_rs.o ioat_ioctl.o ioat_chan.o
199 191 ISANEXUS_OBJS += isa.o dma_engine.o i8237A.o
200 192 PCIE_MISC_OBJS += pcie_acpi.o pciehpc_acpi.o pcie_x86.o
201 193 PCI_E_NEXUS_OBJS += npe.o npe_misc.o
202 194 PCI_E_NEXUS_OBJS += pci_common.o pci_kstats.o pci_tools.o
203 195 PCINEXUS_OBJS += pci.o pci_common.o pci_kstats.o pci_tools.o
204 196 PCPLUSMP_OBJS += apic.o apic_regops.o psm_common.o apic_introp.o \
205 197 mp_platform_common.o mp_platform_misc.o \
206 198 hpet_acpi.o apic_common.o apic_timer.o
207 199 APIX_OBJS += apix.o apic_regops.o psm_common.o apix_intr.o apix_utils.o \
208 200 apix_irm.o mp_platform_common.o hpet_acpi.o apic_common.o \
209 201 apic_timer.o apix_regops.o
210 202
211 203
212 204 ACPI_DRV_OBJS += acpi_drv.o acpi_video.o
213 205 ACPINEX_OBJS += acpinex_drv.o acpinex_event.o
214 206
215 207 CPUDRV_OBJS += \
216 208 cpudrv.o \
217 209 cpudrv_mach.o
218 210
219 211 PPM_OBJS += ppm_subr.o ppm.o ppm_plat.o
220 212
221 213 ACPIPPM_OBJS += acpippm.o acpisleep.o
222 214 ACPIDEV_OBJS += acpidev_drv.o \
223 215 acpidev_scope.o acpidev_device.o \
224 216 acpidev_container.o \
225 217 acpidev_cpu.o \
226 218 acpidev_dr.o \
227 219 acpidev_memory.o \
228 220 acpidev_pci.o \
229 221 acpidev_resource.o \
230 222 acpidev_usbport.o \
231 223 acpidev_util.o
232 224
233 225 DRMACH_ACPI_OBJS += drmach_acpi.o dr_util.o drmach_err.o
234 226
235 227 DR_OBJS += dr.o dr_cpu.o dr_err.o dr_io.o dr_mem_acpi.o dr_quiesce.o dr_util.o
236 228
237 229 ROOTNEX_OBJS += rootnex.o immu.o immu_dmar.o immu_dvma.o \
238 230 immu_intrmap.o immu_qinv.o immu_regs.o
239 231
240 232 TZMON_OBJS += tzmon.o
241 233 UPPC_OBJS += uppc.o psm_common.o
242 234 XSVC_OBJS += xsvc.o
243 235 AMD_IOMMU_OBJS += amd_iommu.o amd_iommu_impl.o amd_iommu_acpi.o \
244 236 amd_iommu_cmd.o amd_iommu_log.o amd_iommu_page_tables.o
245 237
246 238 #
247 239 # Build up defines and paths.
248 240 #
249 241 ALL_DEFS += -Di86pc
250 242 INC_PATH += -I$(UTSBASE)/i86pc -I$(SRC)/common
251 243 INC_PATH += -I$(UTSBASE)/i86xpv -I$(UTSBASE)/common/xen
252 244
253 245 #
254 246 # Since the assym files are derived, the dependencies must be explicit for
255 247 # all files including this file. (This is only actually required in the
256 248 # instance when the .nse_depinfo file does not exist.)
257 249 #
258 250
259 251 ASSYM_DEPS += \
260 252 copy.o \
261 253 desctbls_asm.o \
262 254 ddi_i86_asm.o \
263 255 exception.o \
↓ open down ↓ |
84 lines elided |
↑ open up ↑ |
264 256 fast_trap_asm.o \
265 257 float.o \
266 258 i86_subr.o \
267 259 interrupt.o \
268 260 lock_prim.o \
269 261 locore.o \
270 262 mpcore.o \
271 263 sseblk.o \
272 264 swtch.o \
273 265 syscall_asm.o \
274 - syscall_asm_amd64.o \
275 266 kpti_trampolines.o \
276 267 cpr_wakecode.o
277 268
278 269 CPR_IMPL_OBJS = cpr_impl.o cpr_wakecode.o
279 270
280 271 $(KDI_ASSYM_DEPS:%=$(OBJS_DIR)/%): $(DSF_DIR)/$(OBJS_DIR)/kdi_assym.h
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX