Print this page
remove inlines,some other files
Split |
Close |
Expand all |
Collapse all |
--- old/usr/src/uts/i86xpv/Makefile.files
+++ new/usr/src/uts/i86xpv/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) 2007, 2010, Oracle and/or its affiliates. All rights reserved.
24 24 #
25 25 # Copyright 2019 Joyent, Inc.
26 26 #
27 27
28 28 # This Makefile defines file modules in the directory uts/i86xpv
29 29 # and its children. These are the source files which are i86xpv
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 balloon.o \
39 39 biosdisk.o \
40 40 cbe.o \
41 41 cmi.o \
42 42 cmi_hw.o \
43 43 cms.o \
44 44 confunix.o \
45 45 cpuid.o \
46 46 cpuid_subr.o \
47 47 cpupm.o \
48 48 cpupm_mach.o \
49 49 dis_tables.o \
50 50 ddi_impl.o \
51 51 dtrace_subr.o \
52 52 dvma.o \
53 53 fakebop.o \
54 54 fpu_subr.o \
55 55 fastboot.o \
56 56 fb_swtch.o \
57 57 graphics.o \
58 58 hardclk.o \
59 59 hat_i86.o \
60 60 hat_kdi.o \
61 61 hment.o \
62 62 hold_page.o \
63 63 hrtimers.o \
64 64 htable.o \
65 65 i86_mmu.o \
66 66 ibft.o \
67 67 instr_size.o \
68 68 intr.o \
69 69 kboot_mmu.o \
70 70 kdi_idt.o \
71 71 kdi_idthdl.o \
72 72 kdi_asm.o \
73 73 lgrpplat.o \
74 74 mach_kdi.o \
75 75 mach_sysconfig.o \
76 76 machdep.o \
77 77 md_clear.o \
78 78 mem_config_stubs.o \
79 79 memnode.o \
80 80 microcode.o \
81 81 mlsetup.o \
82 82 mp_call.o \
83 83 mp_implfuncs.o \
84 84 mp_machdep.o \
85 85 mp_startup.o \
86 86 memscrub.o \
87 87 notes.o \
88 88 pci_bios.o \
89 89 pci_cfgacc.o \
90 90 pci_cfgacc_x86.o \
91 91 pci_cfgspace.o \
92 92 pci_mech1.o \
93 93 pci_mech2.o \
94 94 pci_neptune.o \
95 95 pci_orion.o \
96 96 pmem.o \
97 97 ppage.o \
98 98 smt.o \
99 99 startup.o \
100 100 ssp.o \
101 101 xpv_timestamp.o \
102 102 todpc_subr.o \
103 103 trap.o \
104 104 vm_machdep.o \
105 105 x_call.o
106 106
107 107 #
108 108 # Add the SMBIOS subsystem object files directly to the list of objects
109 109 # built into unix itself; this is all common code except for smb_dev.c.
110 110 #
111 111 CORE_OBJS += $(SMBIOS_OBJS)
112 112
113 113 #
114 114 # These get compiled twice:
115 115 # - once in the dboot (direct boot) identity mapped code
116 116 # - once for use during early startup in unix
117 117 #
118 118 BOOT_DRIVER_OBJS = \
119 119 boot_console.o \
120 120 boot_keyboard.o \
121 121 boot_keyboard_table.o \
122 122 boot_mmu.o \
123 123 boot_vga.o \
124 124 boot_fb.o \
125 125 boot_xconsole.o \
126 126 dboot_multiboot2.o \
127 127 $(FONT_OBJS)
128 128
129 129 CORE_OBJS += $(BOOT_DRIVER_OBJS)
130 130
131 131 #
132 132 # Extra XEN files separated out for now.
133 133 #
134 134 CORE_OBJS += \
135 135 cpr_driver.o \
136 136 evtchn.o \
137 137 gnttab.o \
138 138 hypercall.o \
139 139 hyperevent.o \
140 140 hypersubr.o \
141 141 mp_xen.o \
142 142 panic_asm.o \
143 143 xenguest.o \
144 144 xenbus_client.o \
145 145 xenbus_comms.o \
146 146 xenbus_probe.o \
↓ open down ↓ |
146 lines elided |
↑ open up ↑ |
147 147 xenbus_xs.o \
148 148 xen_machdep.o \
149 149 xen_mmu.o \
150 150 xpv_panic.o \
151 151 xvdi.o
152 152
153 153 #
154 154 # locore.o is special. It must be the first file relocated so that it
155 155 # it is relocated just where its name implies.
156 156 #
157 -SPECIAL_OBJS_32 += \
157 +SPECIAL_OBJS += \
158 158 locore.o \
159 159 fast_trap_asm.o \
160 160 interrupt.o \
161 - syscall_asm.o
162 -
163 -SPECIAL_OBJS_64 += \
164 - locore.o \
165 - fast_trap_asm.o \
166 - interrupt.o \
167 - syscall_asm_amd64.o \
161 + syscall_asm.o \
168 162 kpti_trampolines.o
169 163
170 -SPECIAL_OBJS += $(SPECIAL_OBJS_$(CLASS))
171 -
172 164 #
173 165 # object files used to boot into full kernel
174 166 #
175 167 DBOOT_OBJS_32 = muldiv.o
176 168
177 169 DBOOT_OBJS_64 =
178 170
179 171 DBOOT_OBJS += \
180 172 dboot_asm.o \
181 173 dboot_printf.o \
182 174 dboot_startkern.o \
183 175 dboot_xen.o \
184 176 hypercall.o \
185 177 hypersubr.o \
186 178 memcpy.o \
187 179 memset.o \
188 180 string.o \
189 181 $(BOOT_DRIVER_OBJS) \
190 182 $(DBOOT_OBJS_$(CLASS))
191 183
192 184 #
193 185 # driver & misc modules
194 186 #
195 187 BALLOON_OBJS += balloon_drv.o
196 188 DOMCAPS_OBJS += domcaps.o
197 189 EVTCHN_OBJS += evtchn_dev.o
198 190 GFX_PRIVATE_OBJS += gfx_private.o gfxp_pci.o gfxp_segmap.o \
199 191 gfxp_devmap.o gfxp_vgatext.o gfxp_vm.o vgasubr.o \
200 192 gfxp_fb.o gfxp_bitmap.o
201 193 IOAT_OBJS += ioat.o ioat_rs.o ioat_ioctl.o ioat_chan.o
202 194 ISANEXUS_OBJS += isa.o dma_engine.o i8237A.o
203 195 PCI_E_NEXUS_OBJS += npe.o npe_misc.o
204 196 PCI_E_NEXUS_OBJS += pci_common.o pci_kstats.o pci_tools.o
205 197 PCINEXUS_OBJS += pci.o pci_common.o pci_kstats.o pci_tools.o
206 198 PRIVCMD_OBJS += seg_mf.o privcmd.o privcmd_hcall.o
207 199 ROOTNEX_OBJS += rootnex.o
208 200 XPVTOD_OBJS += xpvtod.o
209 201 XPV_AUTOCONFIG_OBJS += xpv_autoconfig.o
210 202 XPV_PSM_OBJS += xpv_psm.o mp_platform_common.o mp_platform_xpv.o \
211 203 apic_regops.o psm_common.o xpv_intr.o
212 204 XPV_UPPC_OBJS += xpv_uppc.o psm_common.o
213 205 XENBUS_OBJS += xenbus_dev.o
214 206 XENCONS_OBJS += xencons.o
215 207 XPVD_OBJS += xpvd.o
216 208 XPVTAP_OBJS += xpvtap.o blk_common.o seg_mf.o
217 209 XNB_OBJS += xnb.o
218 210 XNBE_OBJS += xnbe.o
219 211 XNBO_OBJS += xnbo.o
220 212 XNBU_OBJS += xnbu.o
221 213 XNF_OBJS += xnf.o
222 214 XSVC_OBJS += xsvc.o
223 215 XDF_OBJS += xdf.o
224 216 XDB_OBJS += xdb.o
225 217 XDT_OBJS += xdt.o
226 218
227 219 #
228 220 # Build up defines and paths.
229 221 #
230 222 INC_PATH += -I$(UTSBASE)/i86xpv -I$(UTSBASE)/i86pc -I$(SRC)/common \
231 223 -I$(UTSBASE)/common/xen
232 224
233 225 #
234 226 # Since the assym files are derived, the dependencies must be explicit for
235 227 # all files including this file. (This is only actually required in the
236 228 # instance when the .nse_depinfo file does not exist.) It may seem that
237 229 # the lint targets should also have a similar dependency, but they don't
238 230 # since only C headers are included when #defined(__lint) is true.
239 231 #
240 232
241 233 ASSYM_DEPS += \
242 234 copy.o \
243 235 desctbls_asm.o \
244 236 ddi_i86_asm.o \
245 237 exception.o \
246 238 fast_trap_asm.o \
↓ open down ↓ |
65 lines elided |
↑ open up ↑ |
247 239 float.o \
248 240 hyperevent.o \
249 241 i86_subr.o \
250 242 kdi_asm.o \
251 243 interrupt.o \
252 244 lock_prim.o \
253 245 locore.o \
254 246 panic_asm.o \
255 247 sseblk.o \
256 248 swtch.o \
257 - syscall_asm.o \
258 - syscall_asm_amd64.o
249 + syscall_asm.o
259 250
260 251 $(KDI_ASSYM_DEPS:%=$(OBJS_DIR)/%): $(DSF_DIR)/$(OBJS_DIR)/kdi_assym.h
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX