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