1 | # $Id: Makefile.kmk 73271 2018-07-20 14:53:56Z vboxsync $
|
---|
2 | ## @file
|
---|
3 | # Top-level makefile for the VMM.
|
---|
4 | #
|
---|
5 |
|
---|
6 | #
|
---|
7 | # Copyright (C) 2006-2017 Oracle Corporation
|
---|
8 | #
|
---|
9 | # This file is part of VirtualBox Open Source Edition (OSE), as
|
---|
10 | # available from http://www.virtualbox.org. This file is free software;
|
---|
11 | # you can redistribute it and/or modify it under the terms of the GNU
|
---|
12 | # General Public License (GPL) as published by the Free Software
|
---|
13 | # Foundation, in version 2 as it comes in the "COPYING" file of the
|
---|
14 | # VirtualBox OSE distribution. VirtualBox OSE is distributed in the
|
---|
15 | # hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
|
---|
16 | #
|
---|
17 |
|
---|
18 | SUB_DEPTH = ../../..
|
---|
19 | include $(KBUILD_PATH)/subheader.kmk
|
---|
20 |
|
---|
21 | # Include our Config.kmk if kmk is invoked from a parent directory.
|
---|
22 | ifndef VBOX_VMM_CONFIG_KMK_INCLUDED
|
---|
23 | include $(PATH_SUB_CURRENT)/Config.kmk
|
---|
24 | endif
|
---|
25 |
|
---|
26 | # Include sub-makefiles.
|
---|
27 | ifndef VBOX_ONLY_EXTPACKS
|
---|
28 | include $(PATH_SUB_CURRENT)/tools/Makefile.kmk
|
---|
29 | endif
|
---|
30 | include $(PATH_SUB_CURRENT)/testcase/Makefile.kmk
|
---|
31 |
|
---|
32 |
|
---|
33 | # Fail on unsupported hosts.
|
---|
34 | ifeq ($(KBUILD_TARGET_ARCH),x86)
|
---|
35 | ifeq ($(KBUILD_TARGET),darwin)
|
---|
36 | $(error 32-bit darwin is no longer a supported VirtualBox host. Go back to 4.3 or older for 32-bit support.)
|
---|
37 | else ifeq ($(KBUILD_TARGET),solaris)
|
---|
38 | $(error 32-bit solaris is no longer a supported VirtualBox host. Go back to 4.2 or older for 32-bit support.)
|
---|
39 | endif
|
---|
40 | endif
|
---|
41 |
|
---|
42 |
|
---|
43 | #
|
---|
44 | # The VMM DLL.
|
---|
45 | #
|
---|
46 | ifndef VBOX_ONLY_EXTPACKS_USE_IMPLIBS
|
---|
47 | DLLS += VBoxVMM
|
---|
48 | endif
|
---|
49 | VBoxVMM_TEMPLATE = VBoxR3DllNoPic
|
---|
50 | VBoxVMM_SONAME.linux = VBoxVMM.so
|
---|
51 |
|
---|
52 | VBoxVMM_DEFS = IN_VMM_R3 IN_DIS IN_GMM_R3 IN_DBG $(VMM_COMMON_DEFS)
|
---|
53 | ## @todo eliminate IN_GMM_R3
|
---|
54 | ifdef VBOX_WITH_PREALLOC_RAM_BY_DEFAULT
|
---|
55 | VBoxVMM_DEFS += VBOX_WITH_PREALLOC_RAM_BY_DEFAULT
|
---|
56 | endif
|
---|
57 | ifdef VBOX_WITH_VUSB
|
---|
58 | VBoxVMM_DEFS += VBOX_WITH_USB
|
---|
59 | endif
|
---|
60 | ifdef VBOX_WITH_PDM_ASYNC_COMPLETION
|
---|
61 | VBoxVMM_DEFS += VBOX_WITH_PDM_ASYNC_COMPLETION
|
---|
62 | endif
|
---|
63 | ifdef VBOX_WITH_NETSHAPER
|
---|
64 | VBoxVMM_DEFS += VBOX_WITH_NETSHAPER
|
---|
65 | endif
|
---|
66 | ifdef VBOX_WITH_RAW_MODE
|
---|
67 | VBoxVMM_DEFS += VBOX_WITH_RAW_MODE VBOX_WITH_RAW_MODE_NOT_R0
|
---|
68 | endif
|
---|
69 | ifdef VBOX_WITH_VMM_R0_SWITCH_STACK
|
---|
70 | VBoxVMM_DEFS += VMM_R0_SWITCH_STACK
|
---|
71 | endif
|
---|
72 | if "$(KBUILD_TYPE)" == "debug" && "$(USERNAME)" == "bird"
|
---|
73 | VBoxVMM_DEFS += RTMEM_WRAP_TO_EF_APIS
|
---|
74 | endif
|
---|
75 | VBoxVMM_DEFS.darwin = VMM_R0_SWITCH_STACK
|
---|
76 |
|
---|
77 | VBoxVMM_INCS = \
|
---|
78 | include \
|
---|
79 | $(if-expr defined(VBOX_WITH_RAW_MODE),PATM,) \
|
---|
80 | $(VBoxVMM_0_OUTDIR)/CommonGenIncs
|
---|
81 | VBoxVMM_ASINCS = .
|
---|
82 |
|
---|
83 | VBoxVMM_SOURCES = \
|
---|
84 | VBoxVMM.d \
|
---|
85 | VMMR3/APIC.cpp \
|
---|
86 | VMMR3/CFGM.cpp \
|
---|
87 | VMMR3/CPUM.cpp \
|
---|
88 | VMMR3/CPUMR3CpuId.cpp \
|
---|
89 | VMMR3/CPUMR3Db.cpp \
|
---|
90 | VMMR3/CPUMDbg.cpp \
|
---|
91 | VMMR3/DBGF.cpp \
|
---|
92 | VMMR3/DBGFAddr.cpp \
|
---|
93 | VMMR3/DBGFAddrSpace.cpp \
|
---|
94 | VMMR3/DBGFBp.cpp \
|
---|
95 | VMMR3/DBGFCoreWrite.cpp \
|
---|
96 | VMMR3/DBGFCpu.cpp \
|
---|
97 | VMMR3/DBGFDisas.cpp \
|
---|
98 | VMMR3/DBGFInfo.cpp \
|
---|
99 | VMMR3/DBGFLog.cpp \
|
---|
100 | VMMR3/DBGFMem.cpp \
|
---|
101 | VMMR3/DBGFR3ModInMem.cpp \
|
---|
102 | VMMR3/DBGFOS.cpp \
|
---|
103 | VMMR3/DBGFR3PlugIn.cpp \
|
---|
104 | VMMR3/DBGFReg.cpp \
|
---|
105 | VMMR3/DBGFStack.cpp \
|
---|
106 | VMMR3/DBGFR3Flow.cpp \
|
---|
107 | VMMR3/DBGFR3Trace.cpp \
|
---|
108 | VMMR3/DBGFR3Type.cpp \
|
---|
109 | VMMR3/EM.cpp \
|
---|
110 | VMMR3/EMR3Dbg.cpp \
|
---|
111 | $(if $(VBOX_WITH_RAW_MODE),VMMR3/EMRaw.cpp) \
|
---|
112 | VMMR3/EMHM.cpp \
|
---|
113 | VMMR3/EMR3Nem.cpp \
|
---|
114 | VMMR3/FTM.cpp \
|
---|
115 | VMMR3/GIM.cpp \
|
---|
116 | VMMR3/GIMHv.cpp \
|
---|
117 | VMMR3/GIMKvm.cpp \
|
---|
118 | VMMR3/GIMMinimal.cpp \
|
---|
119 | VMMR3/IEMR3.cpp \
|
---|
120 | VMMR3/IOM.cpp \
|
---|
121 | VMMR3/GMM.cpp \
|
---|
122 | VMMR3/MM.cpp \
|
---|
123 | VMMR3/MMHeap.cpp \
|
---|
124 | VMMR3/MMHyper.cpp \
|
---|
125 | VMMR3/MMPagePool.cpp \
|
---|
126 | VMMR3/MMUkHeap.cpp \
|
---|
127 | VMMR3/NEMR3.cpp \
|
---|
128 | VMMR3/PDM.cpp \
|
---|
129 | VMMR3/PDMBlkCache.cpp \
|
---|
130 | VMMR3/PDMDevice.cpp \
|
---|
131 | VMMR3/PDMDevHlp.cpp \
|
---|
132 | VMMR3/PDMDevMiscHlp.cpp \
|
---|
133 | VMMR3/PDMDriver.cpp \
|
---|
134 | VMMR3/PDMLdr.cpp \
|
---|
135 | VMMR3/PDMCritSect.cpp \
|
---|
136 | VMMR3/PDMQueue.cpp \
|
---|
137 | VMMR3/PDMThread.cpp \
|
---|
138 | VMMR3/PGM.cpp \
|
---|
139 | VMMR3/PGMDbg.cpp \
|
---|
140 | VMMR3/PGMR3DbgA.asm \
|
---|
141 | VMMR3/PGMHandler.cpp \
|
---|
142 | VMMR3/PGMMap.cpp \
|
---|
143 | VMMR3/PGMPhys.cpp \
|
---|
144 | VMMR3/PGMPool.cpp \
|
---|
145 | VMMR3/PGMSavedState.cpp \
|
---|
146 | VMMR3/PGMSharedPage.cpp \
|
---|
147 | VMMR3/SELM.cpp \
|
---|
148 | VMMR3/SSM.cpp \
|
---|
149 | VMMR3/STAM.cpp \
|
---|
150 | VMMR3/TM.cpp \
|
---|
151 | VMMR3/TRPM.cpp \
|
---|
152 | VMMR3/VM.cpp \
|
---|
153 | VMMR3/VMEmt.cpp \
|
---|
154 | VMMR3/VMReq.cpp \
|
---|
155 | VMMR3/VMM.cpp \
|
---|
156 | VMMR3/VMMGuruMeditation.cpp \
|
---|
157 | VMMR3/VMMSwitcher.cpp \
|
---|
158 | VMMR3/VMMTests.cpp \
|
---|
159 | VMMR3/HM.cpp \
|
---|
160 | $(if-expr defined(VBOX_WITH_RAW_MODE), \
|
---|
161 | VMMR3/CSAM.cpp \
|
---|
162 | VMMR3/PATM.cpp \
|
---|
163 | VMMR3/PATMPatch.cpp \
|
---|
164 | VMMR3/PATMGuest.cpp \
|
---|
165 | VMMR3/PATMA.asm \
|
---|
166 | VMMR3/PATMSSM.cpp \
|
---|
167 | VMMR3/PATMR3Dbg.cpp \
|
---|
168 | ,) \
|
---|
169 | VMMAll/APICAll.cpp \
|
---|
170 | VMMAll/CPUMAllRegs.cpp \
|
---|
171 | VMMAll/CPUMAllMsrs.cpp \
|
---|
172 | VMMAll/CPUMStack.cpp \
|
---|
173 | VMMAll/DBGFAll.cpp \
|
---|
174 | VMMAll/HMAll.cpp \
|
---|
175 | VMMAll/HMSVMAll.cpp \
|
---|
176 | VMMAll/IEMAll.cpp \
|
---|
177 | VMMAll/IEMAllAImpl.asm \
|
---|
178 | VMMAll/IEMAllAImplC.cpp \
|
---|
179 | VMMAll/IOMAll.cpp \
|
---|
180 | VMMAll/IOMAllMMIO.cpp \
|
---|
181 | VMMAll/MMAll.cpp \
|
---|
182 | VMMAll/MMAllHyper.cpp \
|
---|
183 | VMMAll/MMAllPagePool.cpp \
|
---|
184 | VMMAll/NEMAll.cpp \
|
---|
185 | VMMAll/PDMAll.cpp \
|
---|
186 | VMMAll/PDMAllCritSect.cpp \
|
---|
187 | VMMAll/PDMAllCritSectRw.cpp \
|
---|
188 | VMMAll/PDMAllCritSectBoth.cpp \
|
---|
189 | VMMAll/PDMAllQueue.cpp \
|
---|
190 | VMMAll/PGMAll.cpp \
|
---|
191 | VMMAll/PGMAllHandler.cpp \
|
---|
192 | VMMAll/PGMAllMap.cpp \
|
---|
193 | VMMAll/PGMAllPhys.cpp \
|
---|
194 | VMMAll/PGMAllPool.cpp \
|
---|
195 | VMMAll/SELMAll.cpp \
|
---|
196 | VMMAll/EMAll.cpp \
|
---|
197 | VMMAll/FTMAll.cpp \
|
---|
198 | VMMAll/GIMAll.cpp \
|
---|
199 | VMMAll/GIMAllHv.cpp \
|
---|
200 | VMMAll/GIMAllKvm.cpp \
|
---|
201 | VMMAll/TMAll.cpp \
|
---|
202 | VMMAll/TMAllCpu.cpp \
|
---|
203 | VMMAll/TMAllReal.cpp \
|
---|
204 | VMMAll/TMAllVirtual.cpp \
|
---|
205 | VMMAll/TRPMAll.cpp \
|
---|
206 | VMMAll/VMAll.cpp \
|
---|
207 | VMMAll/VMMAll.cpp \
|
---|
208 | VMMAll/VMMAllA.asm \
|
---|
209 | $(if-expr defined(VBOX_WITH_RAW_MODE), \
|
---|
210 | VMMAll/CSAMAll.cpp \
|
---|
211 | VMMAll/PATMAll.cpp \
|
---|
212 | ,)
|
---|
213 | ifdef VBOX_WITH_VUSB
|
---|
214 | VBoxVMM_SOURCES += VMMR3/PDMUsb.cpp
|
---|
215 | endif
|
---|
216 | ifdef VBOX_WITH_PDM_ASYNC_COMPLETION
|
---|
217 | VBoxVMM_SOURCES += \
|
---|
218 | VMMR3/PDMAsyncCompletion.cpp \
|
---|
219 | VMMR3/PDMAsyncCompletionFile.cpp \
|
---|
220 | VMMR3/PDMAsyncCompletionFileFailsafe.cpp \
|
---|
221 | VMMR3/PDMAsyncCompletionFileNormal.cpp
|
---|
222 | endif
|
---|
223 | ifdef VBOX_WITH_NETSHAPER
|
---|
224 | VBoxVMM_SOURCES += \
|
---|
225 | VMMR3/PDMNetShaper.cpp \
|
---|
226 | VMMAll/PDMAllNetShaper.cpp
|
---|
227 | endif
|
---|
228 | ifdef VBOX_WITH_REM
|
---|
229 | VBoxVMM_SOURCES += \
|
---|
230 | VMMAll/REMAll.cpp
|
---|
231 | endif
|
---|
232 | ifdef VBOX_WITH_RAW_MODE
|
---|
233 | VBoxVMM_SOURCES.x86 += \
|
---|
234 | VMMSwitcher/32BitTo32Bit.asm \
|
---|
235 | VMMSwitcher/32BitToPAE.asm \
|
---|
236 | VMMSwitcher/PAETo32Bit.asm \
|
---|
237 | VMMSwitcher/PAEToPAE.asm
|
---|
238 | VBoxVMM_SOURCES.amd64 = \
|
---|
239 | VMMSwitcher/AMD64To32Bit.asm \
|
---|
240 | VMMSwitcher/AMD64ToPAE.asm
|
---|
241 | endif
|
---|
242 | VBoxVMM_SOURCES.x86 += \
|
---|
243 | VMMSwitcher/32BitToAMD64.asm \
|
---|
244 | VMMSwitcher/PAEToAMD64.asm \
|
---|
245 | VMMSwitcher/X86Stub.asm
|
---|
246 | VBoxVMM_SOURCES.amd64 += \
|
---|
247 | VMMSwitcher/AMD64Stub.asm
|
---|
248 |
|
---|
249 | ifdef VBOX_WITH_NATIVE_NEM
|
---|
250 | VBoxVMM_SOURCES.win.amd64 += VMMR3/NEMR3Native-win.cpp
|
---|
251 | VBoxVMM_DEFS.win.amd64 += VBOX_WITH_NATIVE_NEM
|
---|
252 | VBoxVMM_SDKS.win += VBOX_NTDLL
|
---|
253 | VMMR3/NEMR3Native-win.cpp_DEFS.amd64 = _AMD64_
|
---|
254 | VMMR3/NEMR3Native-win.cpp_INCS = \
|
---|
255 | $(KBUILD_DEVTOOLS)/win.x86/sdk/v10.0.17134.0/include/10.0.17134.0/um \
|
---|
256 | $(KBUILD_DEVTOOLS)/win.x86/sdk/v10.0.17134.0/include/10.0.17134.0/shared
|
---|
257 | endif
|
---|
258 |
|
---|
259 | VBoxVMM_LIBS = \
|
---|
260 | $(PATH_STAGE_LIB)/DisasmR3$(VBOX_SUFF_LIB)
|
---|
261 | ifdef VBOX_WITH_DEBUGGER
|
---|
262 | VBoxVMM_LIBS += \
|
---|
263 | $(PATH_STAGE_LIB)/Debugger$(VBOX_SUFF_LIB)
|
---|
264 | endif
|
---|
265 | VBoxVMM_LIBS += \
|
---|
266 | $(LIB_REM) \
|
---|
267 | $(LIB_RUNTIME)
|
---|
268 |
|
---|
269 | VBoxVMM_LIBS.win = $(PATH_TOOL_$(VBOX_VCC_TOOL)_LIB)/delayimp.lib
|
---|
270 | VBoxVMM_LDFLAGS.linux = $(VBOX_GCC_NO_UNDEFINED)
|
---|
271 | VBoxVMM_LDFLAGS.darwin = -install_name $(VBOX_DYLD_EXECUTABLE_PATH)/VBoxVMM.dylib
|
---|
272 | VBoxVMM_LDFLAGS.solaris = -mimpure-text
|
---|
273 |
|
---|
274 | # SSM wish to know the build type, host os and arch.
|
---|
275 | VMMR3/SSM.cpp_DEFS += \
|
---|
276 | KBUILD_TYPE=\"$(KBUILD_TYPE)\" \
|
---|
277 | KBUILD_TARGET=\"$(KBUILD_TARGET)\" \
|
---|
278 | KBUILD_TARGET_ARCH=\"$(KBUILD_TARGET_ARCH)\"
|
---|
279 |
|
---|
280 | ifdef VBOX_WITH_GCC_SANITIZER
|
---|
281 | VMMR3/PGMPool.cpp_CXXFLAGS.linux += -fno-sanitize=address
|
---|
282 | endif
|
---|
283 |
|
---|
284 | #ifdef VBOX_WITH_PDM_ASYNC_COMPLETION
|
---|
285 | # ifeq ($(KBUILD_HOST), linux)
|
---|
286 | #VBoxVMM_LIBS += aio
|
---|
287 | # endif
|
---|
288 | #endif
|
---|
289 |
|
---|
290 | if "$(USERNAME)" == "bird" && "$(KBUILD_TARGET)" == "win"
|
---|
291 | VBoxVMM_VMMAll/IEMAll.cpp_CXXFLAGS = /FAcs /Fa$(subst /,\\,$(outbase).cod)
|
---|
292 | VBoxVMM_VMMAll/IEMAllAImplC.cpp_CXXFLAGS = /FAcs /Fa$(subst /,\\,$(outbase).cod)
|
---|
293 | VBoxVMM_VMMAll/PGMAll.cpp_CXXFLAGS = /FAcs /Fa$(subst /,\\,$(outbase).cod)
|
---|
294 | VBoxVMM_VMMAll/PDMAllCritSect.cpp_CXXFLAGS = /FAcs /Fa$(subst /,\\,$(outbase).cod)
|
---|
295 | endif
|
---|
296 |
|
---|
297 | $(call VBOX_SET_VER_INFO_DLL,VBoxVMM,VirtualBox VMM) # Version info / description.
|
---|
298 |
|
---|
299 |
|
---|
300 | #
|
---|
301 | # Generate macro template for IEM instruction statistics.
|
---|
302 | #
|
---|
303 | $(call KB_FN_DO_PASS0_ON_TARGET,VBoxVMM) # Set VBoxVMM_0_OUTDIR
|
---|
304 | VBoxVMM_INTERMEDIATES += $(VBoxVMM_0_OUTDIR)/CommonGenIncs/IEMInstructionStatisticsTmpl.h
|
---|
305 | VBoxVMM_CLEAN += \
|
---|
306 | $(VBoxVMM_0_OUTDIR)/CommonGenIncs/IEMInstructionStatisticsTmpl.h.ts \
|
---|
307 | $(VBoxVMM_0_OUTDIR)/CommonGenIncs/IEMInstructionStatisticsTmpl.h
|
---|
308 | $(call KB_FN_AUTO_CMD_DEPS,$(VBoxVMM_0_OUTDIR)/CommonGenIncs/IEMInstructionStatisticsTmpl.h.ts)
|
---|
309 | $(VBoxVMM_0_OUTDIR)/CommonGenIncs/IEMInstructionStatisticsTmpl.h.ts \
|
---|
310 | +| $(VBoxVMM_0_OUTDIR)/CommonGenIncs/IEMInstructionStatisticsTmpl.h: \
|
---|
311 | $(PATH_SUB_CURRENT)/VMMAll/IEMAllInstructions.cpp.h \
|
---|
312 | $(PATH_SUB_CURRENT)/VMMAll/IEMAllInstructionsOneByte.cpp.h \
|
---|
313 | $(PATH_SUB_CURRENT)/VMMAll/IEMAllInstructionsTwoByte0f.cpp.h \
|
---|
314 | $(PATH_SUB_CURRENT)/VMMAll/IEMAllInstructionsThree0f38.cpp.h \
|
---|
315 | $(PATH_SUB_CURRENT)/VMMAll/IEMAllInstructionsThree0f3a.cpp.h \
|
---|
316 | $(PATH_SUB_CURRENT)/VMMAll/IEMAllInstructionsVexMap1.cpp.h \
|
---|
317 | $(PATH_SUB_CURRENT)/VMMAll/IEMAllInstructionsVexMap2.cpp.h \
|
---|
318 | $(PATH_SUB_CURRENT)/VMMAll/IEMAllInstructionsVexMap3.cpp.h \
|
---|
319 | $(PATH_SUB_CURRENT)/VMMAll/IEMAllInstructions3DNow.cpp.h
|
---|
320 | $(QUIET)$(call MSG_GENERATE,VBoxVMM,$@,VMMAll/IEMAllInstructions*.cpp.h)
|
---|
321 | $(QUIET)$(RM) -f -- "$@.tmp" "$@.tmp" "$@.sorted"
|
---|
322 | $(QUIET)$(MKDIR) -p -- "$(dir $@)"
|
---|
323 | $(call KB_FN_AUTO_CMD_DEPS_COMMANDS)
|
---|
324 | $(QUIET)$(SED) \
|
---|
325 | -e '/IEMOP_MNEMONIC\(\|[01234]\|[01234]EX\)(/!d' \
|
---|
326 | -e ':look-for-end-of-invocation' \
|
---|
327 | -e '/)/bend-of-invocation' \
|
---|
328 | -e 'N' \
|
---|
329 | -e 'blook-for-end-of-invocation' \
|
---|
330 | -e ':end-of-invocation' \
|
---|
331 | -e 's/\n/ /g' \
|
---|
332 | -e 's/ */ /g' \
|
---|
333 | -e 's/^.*IEMOP_MNEMONIC\(\|[01234]\|[01234]EX\)(/IEM_DO_INSTR_STAT\1(/' \
|
---|
334 | -e 's/;.*$(DOLLAR)//' \
|
---|
335 | --output "$@.tmp" $(filter %.cpp.h,$^)
|
---|
336 | # Windows sort does some kind of seeking. So, we must use a temporary file and kmk_cat to define and undefine our macros.
|
---|
337 | $(QUIET)$(REDIRECT) -wto "$@.sorted" -- sort "$@.tmp"
|
---|
338 | $(QUIET)$(APPEND) -nt "$@" \
|
---|
339 | '/* Warning autogenerated by VMM/Makefile.kmk. */ ' \
|
---|
340 | '#define IEM_DO_INSTR_STAT0(f,u,l,fd,fi) IEM_DO_INSTR_STAT(l, #l)' \
|
---|
341 | '#define IEM_DO_INSTR_STAT1(f,u,l,o1,fd,fi) IEM_DO_INSTR_STAT(l ## _ ## o1, #l " " #o1)' \
|
---|
342 | '#define IEM_DO_INSTR_STAT2(f,u,l,o1,o2,fd,fi) IEM_DO_INSTR_STAT(l ## _ ## o1 ## _ ## o2, #l " " #o1 "," #o2)' \
|
---|
343 | '#define IEM_DO_INSTR_STAT3(f,u,l,o1,o2,o3,fd,fi) IEM_DO_INSTR_STAT(l ## _ ## o1 ## _ ## o2 ## _ ## o3, #l " " #o1 "," #o2 "," #o3)' \
|
---|
344 | '#define IEM_DO_INSTR_STAT4(f,u,l,o1,o2,o3,o4,fd,fi) IEM_DO_INSTR_STAT(l ## _ ## o1 ## _ ## o2 ## _ ## o3 ## _ ## o4, #l " " #o1 "," #o2 "," #o3 "," #o4)' \
|
---|
345 | '#define IEM_DO_INSTR_STAT0EX(s,m,f,u,l,fd,fi) IEM_DO_INSTR_STAT(s,m)' \
|
---|
346 | '#define IEM_DO_INSTR_STAT1EX(s,m,f,u,l,o1,fd,fi) IEM_DO_INSTR_STAT(s,m)' \
|
---|
347 | '#define IEM_DO_INSTR_STAT2EX(s,m,f,u,l,o1,o2,fd,fi) IEM_DO_INSTR_STAT(s,m)' \
|
---|
348 | '#define IEM_DO_INSTR_STAT3EX(s,m,f,u,l,o1,o2,o3,fd,fi) IEM_DO_INSTR_STAT(s,m)' \
|
---|
349 | '#define IEM_DO_INSTR_STAT4EX(s,m,f,u,l,o1,o2,o3,o4,fd,fi) IEM_DO_INSTR_STAT(s,m)' \
|
---|
350 | ''
|
---|
351 | $(QUIET)$(REDIRECT) -ato "$@" -- $(CAT_EXT) "$@.sorted"
|
---|
352 | $(QUIET)$(APPEND) -n "$@" \
|
---|
353 | '' \
|
---|
354 | '#undef IEM_DO_INSTR_STAT0' \
|
---|
355 | '#undef IEM_DO_INSTR_STAT1' \
|
---|
356 | '#undef IEM_DO_INSTR_STAT2' \
|
---|
357 | '#undef IEM_DO_INSTR_STAT3' \
|
---|
358 | '#undef IEM_DO_INSTR_STAT4' \
|
---|
359 | '#undef IEM_DO_INSTR_STAT0EX' \
|
---|
360 | '#undef IEM_DO_INSTR_STAT1EX' \
|
---|
361 | '#undef IEM_DO_INSTR_STAT2EX' \
|
---|
362 | '#undef IEM_DO_INSTR_STAT3EX' \
|
---|
363 | '#undef IEM_DO_INSTR_STAT4EX' \
|
---|
364 | ''
|
---|
365 | $(QUIET)$(RM) -f -- "$@.tmp" "$@.sorted"
|
---|
366 | $(QUIET)$(CP) -v -f --changed -- "$@" "$(patsubst %.ts,%,$@)"
|
---|
367 |
|
---|
368 | foobar: $(VBoxVMM_0_OUTDIR)/CommonGenIncs/IEMInstructionStatisticsTmpl.h
|
---|
369 |
|
---|
370 | if "$(KBUILD_TARGET)" == "win" && !defined(VBOX_ONLY_EXTPACKS_USE_IMPLIBS)
|
---|
371 | #
|
---|
372 | # Debug type info hack for VMCPU, VM and similar.
|
---|
373 | #
|
---|
374 | # The microsoft linker seems to be using the last occurence of the structures
|
---|
375 | # when writing the module PDB file. So, we put the fully complete structures
|
---|
376 | # in a library which is at the end of the library list.
|
---|
377 | #
|
---|
378 | VBoxVMM_LIBS += $(VBoxVMMPdbTypeHack_1_TARGET)
|
---|
379 | VBoxVMM_LDFLAGS += /Export:PdbTypeHack
|
---|
380 |
|
---|
381 | LIBRARIES += VBoxVMMPdbTypeHack
|
---|
382 | VBoxVMMPdbTypeHack_TEMPLATE = $(VBoxVMM_TEMPLATE)
|
---|
383 | VBoxVMMPdbTypeHack_SOURCES = VMMAll/AllPdbTypeHack.cpp
|
---|
384 | VBoxVMMPdbTypeHack_DEFS = $(VBoxVMM_DEFS)
|
---|
385 | VBoxVMMPdbTypeHack_DEFS.win = $(VBoxVMM_DEFS.win)
|
---|
386 | VBoxVMMPdbTypeHack_DEFS.win.x86 = $(VBoxVMM_DEFS.win.x86)
|
---|
387 | VBoxVMMPdbTypeHack_DEFS.win.amd64 = $(VBoxVMM_DEFS.win.amd64)
|
---|
388 | VBoxVMMPdbTypeHack_INCS = $(VBoxVMM_INCS)
|
---|
389 | VBoxVMMPdbTypeHack_INTERMEDIATES = $(VBoxVMM_INTERMEDIATES)
|
---|
390 | endif
|
---|
391 |
|
---|
392 |
|
---|
393 | if defined(VBOX_WITH_RAW_MODE) && $(intersects $(VBOX_LDR_FMT32), pe lx)
|
---|
394 |
|
---|
395 | #
|
---|
396 | # VMMRCBuiltin.lib
|
---|
397 | #
|
---|
398 | LIBRARIES += VMMRCBuiltin
|
---|
399 | VMMRCBuiltin_TEMPLATE = VBoxRc
|
---|
400 | ifeq ($(VBOX_LDR_FMT32),pe)
|
---|
401 | VMMRCBuiltin_SOURCES = VMMRC/VMMRCBuiltin.def
|
---|
402 | endif
|
---|
403 | ifeq ($(VBOX_LDR_FMT32),lx)
|
---|
404 | VMMRCBuiltin_SOURCES = $(VMMRCBuiltin_0_OUTDIR)/VMMRCBuiltin.def
|
---|
405 | $$(VMMRCBuiltin_0_OUTDIR)/VMMRCBuiltin.def: $(PATH_SUB_CURRENT)/VMMRC/VMMRCBuiltin.def | $$(dir $$@)
|
---|
406 | $(SED) -e '/not-os2/d' -e 's/^[ \t][ \t]*\([a-zA-Z]\)/ _\1/' -e 's/[ \t]DATA[ \t]*/ /' --output $@ $<
|
---|
407 | endif
|
---|
408 |
|
---|
409 |
|
---|
410 | #
|
---|
411 | # VMMRCImp.lib
|
---|
412 | #
|
---|
413 | LIBRARIES += VMMRCImp
|
---|
414 | VMMRCImp_TEMPLATE = VBoxRc
|
---|
415 | VMMRCImp_SOURCES = $(VMMRCImp_0_OUTDIR)/VMMRC.def
|
---|
416 | VMMRCImp_CLEAN = $(VMMRCImp_0_OUTDIR)/VMMRC.def
|
---|
417 | $(call KB_FN_DO_PASS0_ON_TARGET,VMMRCImp)
|
---|
418 |
|
---|
419 | $(call KB_FN_AUTO_CMD_DEPS,$(VMMRCImp_0_OUTDIR)/VMMRC.def)
|
---|
420 | $(VMMRCImp_0_OUTDIR)/VMMRC.def: $(VMMRCImp_DEFPATH)/VMMRC/VMMRC.def | $$(dir $$@)
|
---|
421 | $(call KB_FN_AUTO_CMD_DEPS_COMMANDS)
|
---|
422 | ifeq ($(VBOX_LDR_FMT32),lx)
|
---|
423 | $(SED) \
|
---|
424 | -e '/not-os2/d' \
|
---|
425 | -e 's/^[ \t][ \t]*\([a-zA-Z]\)/ _\1/' \
|
---|
426 | -e 's/[ \t]DATA[ \t]*/ /' \
|
---|
427 | --output $@ \
|
---|
428 | $(VMMRCImp_DEFPATH)/VMMRC/VMMRC.def
|
---|
429 | $(APPEND) "$@" ""
|
---|
430 | $(APPEND) "$@" " ___ehInit"
|
---|
431 | else
|
---|
432 | $(SED) \
|
---|
433 | -e '/not-win/d' \
|
---|
434 | -e '/not-$(KBUILD_TARGET_ARCH)/d' \
|
---|
435 | --output $@ $(VMMRCImp_DEFPATH)/VMMRC/VMMRC.def
|
---|
436 | endif
|
---|
437 |
|
---|
438 | endif # RC && (pe || lx)
|
---|
439 |
|
---|
440 |
|
---|
441 | if1of ($(VBOX_LDR_FMT), pe lx)
|
---|
442 | #
|
---|
443 | # VMMR0Imp.lib
|
---|
444 | #
|
---|
445 | LIBRARIES += VMMR0Imp
|
---|
446 | VMMR0Imp_TEMPLATE = VBoxR0
|
---|
447 | VMMR0Imp_SOURCES = $(VMMR0Imp_0_OUTDIR)/VMMR0.def
|
---|
448 | VMMR0Imp_CLEAN = $(VMMR0Imp_0_OUTDIR)/VMMR0.def
|
---|
449 | ifeq ($(KBUILD_TARGET),win) # Experiment: Let's see how blunt the ones messing our NULL_THUNK_DATA entries on W10 are.
|
---|
450 | VMMR0Imp_POST_CMDS = $(KLIBTWEAKER_EXT) --clear-timestamps --fill-null_thunk_data $(out)
|
---|
451 | endif
|
---|
452 | $(call KB_FN_DO_PASS0_ON_TARGET,VMMR0Imp)
|
---|
453 |
|
---|
454 | $(call KB_FN_AUTO_CMD_DEPS,$(VMMR0Imp_0_OUTDIR)/VMMR0.def)
|
---|
455 | $(VMMR0Imp_0_OUTDIR)/VMMR0.def: $(VMMR0Imp_DEFPATH)/VMMR0/VMMR0.def | $$(dir $$@)
|
---|
456 | $(call KB_FN_AUTO_CMD_DEPS_COMMANDS)
|
---|
457 | ifeq ($(VBOX_LDR_FMT),lx)
|
---|
458 | $(SED) \
|
---|
459 | -e '/not-os2/d' \
|
---|
460 | -e '/not-amd64/d' \
|
---|
461 | -e 's/^[ \t][ \t]*\([a-zA-Z]\)/ _\1/' \
|
---|
462 | -e 's/[ \t]DATA[ \t]*/ /' \
|
---|
463 | --output $@ $(VMMR0Imp_DEFPATH)/VMMR0/VMMR0.def
|
---|
464 | $(APPEND) "$@" ""
|
---|
465 | $(APPEND) "$@" " ___ehInit"
|
---|
466 | else
|
---|
467 | $(SED) \
|
---|
468 | -e '/not-win/d' \
|
---|
469 | -e '/not-$(KBUILD_TARGET_ARCH)/d' \
|
---|
470 | --output $@ $(VMMR0Imp_DEFPATH)/VMMR0/VMMR0.def
|
---|
471 | endif
|
---|
472 | endif # R0: pe + lx
|
---|
473 |
|
---|
474 |
|
---|
475 | #
|
---|
476 | # VMMR3Imp.lib
|
---|
477 | #
|
---|
478 | IMPORT_LIBS += VMMR3Imp
|
---|
479 | $(call VBOX_GENERATE_IMPORT_TARGET_FN,VMMR3Imp,VBoxVMM,VMMR3/VMMR3.def)
|
---|
480 |
|
---|
481 | ifneq ($(VBOX_LIB_VMM_LAZY),$(LIB_VMM))
|
---|
482 | #
|
---|
483 | # VMMR3LazyImp.lib (experimental)
|
---|
484 | #
|
---|
485 | LIBRARIES += VMMR3LazyImp
|
---|
486 | VMMR3LazyImp_TEMPLATE = VBoxR3Dll
|
---|
487 | VMMR3LazyImp_INST = $(INST_LIB)
|
---|
488 | VMMR3LazyImp_SOURCES = $(VMMR3LazyImp_0_OUTDIR)/VMMR3LazyLoad.asm
|
---|
489 | VMMR3LazyImp_CLEAN = $(VMMR3LazyImp_0_OUTDIR)/VMMR3LazyLoad.asm
|
---|
490 | $(call KB_FN_DO_PASS0_ON_TARGET,VMMR3LazyImp)
|
---|
491 |
|
---|
492 | $(call KB_FN_AUTO_CMD_DEPS,$(VMMR3LazyImp_0_OUTDIR)/VMMR3LazyLoad.asm)
|
---|
493 | $(VMMR3LazyImp_0_OUTDIR)/VMMR3LazyLoad.asm: $(VMMR3LazyImp_DEFPATH)/VMMR3/VMMR3.def $(VBOX_DEF_2_LAZY_LOAD) | $$(dir $$@)
|
---|
494 | $(call KB_FN_AUTO_CMD_DEPS_COMMANDS)
|
---|
495 | $(VBOX_DEF_2_LAZY_LOAD) --output $@ --library VBoxVMM $(VMMR3LazyImp_DEFPATH)/VMMR3/VMMR3.def
|
---|
496 | endif
|
---|
497 |
|
---|
498 |
|
---|
499 | if defined(VBOX_WITH_RAW_MODE) && !defined(VBOX_ONLY_EXTPACKS)
|
---|
500 | #
|
---|
501 | # VMMRC.rc
|
---|
502 | #
|
---|
503 | SYSMODS += VMMRC
|
---|
504 | VMMRC_TEMPLATE = VBoxRc
|
---|
505 | VMMRC_NAME = VMMRC
|
---|
506 |
|
---|
507 | VMMRC_DEFS = IN_VMM_RC IN_RT_RC IN_DIS DIS_CORE_ONLY VBOX_WITH_RAW_MODE VBOX_WITH_RAW_MODE_NOT_R0 IN_SUP_RC \
|
---|
508 | $(VMM_COMMON_DEFS)
|
---|
509 | VMMRC_DEFS := $(filter-out VBOX_WITH_NESTED_HWVIRT_SVM,$(VMMRC_DEFS))
|
---|
510 | ifdef VBOX_WITH_VMM_R0_SWITCH_STACK
|
---|
511 | VMMRC_DEFS += VMM_R0_SWITCH_STACK
|
---|
512 | endif
|
---|
513 |
|
---|
514 | VMMRC_INCS = \
|
---|
515 | include \
|
---|
516 | VMMRC \
|
---|
517 | $(if-expr defined(VBOX_WITH_RAW_MODE),PATM,) \
|
---|
518 | $(VBoxVMM_0_OUTDIR)/CommonGenIncs
|
---|
519 |
|
---|
520 | VMMRC_LIBS = \
|
---|
521 | $(PATH_STAGE_LIB)/DisasmRC$(VBOX_SUFF_LIB) \
|
---|
522 | $(PATH_STAGE_LIB)/RuntimeRC$(VBOX_SUFF_LIB) \
|
---|
523 | $(PATH_STAGE_LIB)/SUPRC$(VBOX_SUFF_LIB)
|
---|
524 | ifneq ($(filter pe lx,$(VBOX_LDR_FMT32)),)
|
---|
525 | VMMRC_LIBS += \
|
---|
526 | $(PATH_STAGE_LIB)/VMMRCBuiltin$(VBOX_SUFF_LIB)
|
---|
527 | endif
|
---|
528 |
|
---|
529 | VMMRC_SOURCES = \
|
---|
530 | VBoxVMM.d \
|
---|
531 | VMMRC/VMMRC0.asm \
|
---|
532 | VMMRC/VMMRCDeps.cpp \
|
---|
533 | VMMRC/CPUMRC.cpp \
|
---|
534 | VMMRC/CPUMRCA.asm \
|
---|
535 | VMMRC/CPUMRCPatchHlp.asm \
|
---|
536 | VMMRC/EMRCA.asm \
|
---|
537 | VMMRC/IOMRC.cpp \
|
---|
538 | VMMRC/MMRamRC.cpp \
|
---|
539 | VMMRC/MMRamRCA.asm \
|
---|
540 | VMMRC/PDMRCDevice.cpp \
|
---|
541 | VMMRC/PGMRC.cpp \
|
---|
542 | VMMRC/SELMRC.cpp \
|
---|
543 | VMMRC/TRPMRC.cpp \
|
---|
544 | VMMRC/TRPMRCHandlers.cpp \
|
---|
545 | VMMRC/TRPMRCHandlersA.asm \
|
---|
546 | VMMRC/VMMRC.cpp \
|
---|
547 | VMMRC/VMMRCA.asm \
|
---|
548 | $(if-expr defined(VBOX_WITH_RAW_MODE), \
|
---|
549 | VMMRC/CSAMRC.cpp \
|
---|
550 | VMMRC/PATMRC.cpp \
|
---|
551 | ,) \
|
---|
552 | VMMRZ/CPUMRZ.cpp \
|
---|
553 | VMMRZ/CPUMRZA.asm \
|
---|
554 | VMMRZ/DBGFRZ.cpp \
|
---|
555 | VMMRZ/PGMRZDynMap.cpp \
|
---|
556 | VMMRZ/VMMRZ.cpp \
|
---|
557 | VMMAll/APICAll.cpp \
|
---|
558 | VMMAll/CPUMAllRegs.cpp \
|
---|
559 | VMMAll/CPUMAllMsrs.cpp \
|
---|
560 | VMMAll/DBGFAll.cpp \
|
---|
561 | VMMAll/IEMAll.cpp \
|
---|
562 | VMMAll/IEMAllAImpl.asm \
|
---|
563 | VMMAll/IEMAllAImplC.cpp \
|
---|
564 | VMMAll/IOMAll.cpp \
|
---|
565 | VMMAll/IOMAllMMIO.cpp \
|
---|
566 | VMMAll/EMAll.cpp \
|
---|
567 | VMMAll/FTMAll.cpp \
|
---|
568 | VMMAll/GIMAll.cpp \
|
---|
569 | VMMAll/GIMAllHv.cpp \
|
---|
570 | VMMAll/GIMAllKvm.cpp \
|
---|
571 | VMMAll/HMAll.cpp \
|
---|
572 | VMMAll/HMSVMAll.cpp \
|
---|
573 | VMMAll/MMAll.cpp \
|
---|
574 | VMMAll/MMAllHyper.cpp \
|
---|
575 | VMMAll/PDMAll.cpp \
|
---|
576 | VMMAll/PDMAllCritSect.cpp \
|
---|
577 | VMMAll/PDMAllCritSectRw.cpp \
|
---|
578 | VMMAll/PDMAllCritSectBoth.cpp \
|
---|
579 | VMMAll/PDMAllQueue.cpp \
|
---|
580 | VMMAll/PGMAll.cpp \
|
---|
581 | VMMAll/PGMAllHandler.cpp \
|
---|
582 | VMMAll/PGMAllMap.cpp \
|
---|
583 | VMMAll/PGMAllPhys.cpp \
|
---|
584 | VMMAll/PGMAllPool.cpp \
|
---|
585 | VMMAll/SELMAll.cpp \
|
---|
586 | VMMAll/TMAll.cpp \
|
---|
587 | VMMAll/TMAllCpu.cpp \
|
---|
588 | VMMAll/TMAllReal.cpp \
|
---|
589 | VMMAll/TMAllVirtual.cpp \
|
---|
590 | VMMAll/TRPMAll.cpp \
|
---|
591 | VMMAll/VMAll.cpp \
|
---|
592 | VMMAll/VMMAll.cpp \
|
---|
593 | VMMAll/VMMAllA.asm \
|
---|
594 | $(if-expr defined(VBOX_WITH_RAW_MODE), \
|
---|
595 | VMMAll/CSAMAll.cpp \
|
---|
596 | VMMAll/PATMAll.cpp \
|
---|
597 | ,)
|
---|
598 | ifeq ($(VBOX_LDR_FMT32),pe)
|
---|
599 | VMMRC_SOURCES += VMMRC/VMMRC.def
|
---|
600 | endif
|
---|
601 | ifeq ($(VBOX_LDR_FMT32),lx)
|
---|
602 | VMMRC_SOURCES += $(VMMRCImp_0_OUTDIR)/VMMRC.def
|
---|
603 | endif
|
---|
604 | ifdef VBOX_WITH_REM
|
---|
605 | VMMRC_SOURCES += \
|
---|
606 | VMMAll/REMAll.cpp
|
---|
607 | endif
|
---|
608 |
|
---|
609 | # The very last one.
|
---|
610 | VMMRC_SOURCES += \
|
---|
611 | VMMRC/VMMRC99.asm
|
---|
612 |
|
---|
613 | VMMRC/VMMRCDeps.cpp_CXXFLAGS.win = -Oi- -TC ## @todo rename VMMRCDeps.cpp to .c
|
---|
614 |
|
---|
615 | $(call VBOX_SET_VER_INFO_RC,VMMRC,VirtualBox VMM - raw-mode context parts) # Version info / description.
|
---|
616 |
|
---|
617 | if "$(USERNAME)" == "bird" && "$(KBUILD_TARGET)" == "win"
|
---|
618 | VMMRC_VMMAll/IEMAll.cpp_CXXFLAGS = /FAcs /Fa$(subst /,\\,$(outbase).cod)
|
---|
619 | VMMRC_VMMAll/IEMAllAImplC.cpp_CXXFLAGS = /FAcs /Fa$(subst /,\\,$(outbase).cod)
|
---|
620 | VMMRC_VMMAll/PGMAll.cpp_CXXFLAGS = /FAcs /Fa$(subst /,\\,$(outbase).cod)
|
---|
621 | endif
|
---|
622 |
|
---|
623 | VMMRC_INTERMEDIATES += $(VBoxVMM_0_OUTDIR)/CommonGenIncs/IEMInstructionStatisticsTmpl.h
|
---|
624 |
|
---|
625 | if "$(KBUILD_TARGET)" == "win"
|
---|
626 | # Debug type info hack for VMCPU, VM and similar. See VBoxVMM for details.
|
---|
627 | VMMRC_LIBS += $(VMMRCPdbTypeHack_1_TARGET)
|
---|
628 | VMMRC_LDFLAGS += /Export:PdbTypeHack
|
---|
629 |
|
---|
630 | LIBRARIES += VMMRCPdbTypeHack
|
---|
631 | VMMRCPdbTypeHack_TEMPLATE = $(VMMRC_TEMPLATE)
|
---|
632 | VMMRCPdbTypeHack_SOURCES = VMMAll/AllPdbTypeHack.cpp
|
---|
633 | VMMRCPdbTypeHack_DEFS = $(VMMRC_DEFS)
|
---|
634 | VMMRCPdbTypeHack_DEFS.win = $(VMMRC_DEFS.win)
|
---|
635 | VMMRCPdbTypeHack_DEFS.win.x86 = $(VMMRC_DEFS.win.x86)
|
---|
636 | VMMRCPdbTypeHack_DEFS.win.amd64 = $(VMMRC_DEFS.win.amd64)
|
---|
637 | VMMRCPdbTypeHack_INCS = $(VMMRC_INCS)
|
---|
638 | VMMRCPdbTypeHack_INTERMEDIATES = $(VMMRC_INTERMEDIATES)
|
---|
639 | endif
|
---|
640 |
|
---|
641 | endif # VBOX_WITH_RAW_MODE && !VBOX_ONLY_EXTPACKS
|
---|
642 |
|
---|
643 |
|
---|
644 | ifndef VBOX_ONLY_EXTPACKS
|
---|
645 | #
|
---|
646 | # VMMR0.r0
|
---|
647 | #
|
---|
648 | SYSMODS += VMMR0
|
---|
649 | VMMR0_TEMPLATE = VBoxR0
|
---|
650 | VMMR0_SYSSUFF = .r0
|
---|
651 |
|
---|
652 | VMMR0_DEFS = IN_VMM_R0 IN_RT_R0 IN_DIS DIS_CORE_ONLY IN_GVMM_R0 IN_GMM_R0 IN_INTNET_R0 \
|
---|
653 | $(VMM_COMMON_DEFS) RTASSERT_HAVE_SHOULD_PANIC
|
---|
654 | ## @todo eliminate IN_GVMM_R0 IN_GMM_R0
|
---|
655 | ifdef VBOX_WITH_PCI_PASSTHROUGH
|
---|
656 | VMMR0_DEFS += IN_PCIRAW_R0
|
---|
657 | endif
|
---|
658 | ifdef VBOX_WITH_TRIPLE_FAULT_HACK
|
---|
659 | VMMR0_DEFS += VBOX_WITH_TRIPLE_FAULT_HACK
|
---|
660 | endif
|
---|
661 | ifdef VBOX_WITH_RAW_MODE
|
---|
662 | VMMR0_DEFS += VBOX_WITH_RAW_MODE
|
---|
663 | endif
|
---|
664 | ifdef VBOX_WITH_VMM_R0_SWITCH_STACK
|
---|
665 | VMMR0_DEFS += VMM_R0_SWITCH_STACK
|
---|
666 | endif
|
---|
667 | if1of ($(KBUILD_TARGET), darwin linux win)
|
---|
668 | VMMR0_DEFS += VMM_R0_TOUCH_FPU
|
---|
669 | endif
|
---|
670 | VMMR0_DEFS.darwin = VMM_R0_SWITCH_STACK
|
---|
671 | VMMR0_DEFS.win.amd64 = VBOX_WITH_KERNEL_USING_XMM
|
---|
672 |
|
---|
673 | ifeq ($(VBOX_LDR_FMT),elf)
|
---|
674 | VMMR0_CXXFLAGS += -Wunused -Wunused-variable -Wno-unused-parameter
|
---|
675 | endif
|
---|
676 |
|
---|
677 | VMMR0_INCS = \
|
---|
678 | include \
|
---|
679 | $(if-expr defined(VBOX_WITH_RAW_MODE),PATM,) \
|
---|
680 | $(VBoxVMM_0_OUTDIR)/CommonGenIncs
|
---|
681 |
|
---|
682 | VMMR0_SOURCES = \
|
---|
683 | VBoxVMM.d \
|
---|
684 | VMMR0/CPUMR0.cpp \
|
---|
685 | VMMR0/CPUMR0A.asm \
|
---|
686 | VMMR0/GIMR0.cpp \
|
---|
687 | VMMR0/GIMR0Hv.cpp \
|
---|
688 | VMMR0/GIMR0Kvm.cpp \
|
---|
689 | VMMR0/GMMR0.cpp \
|
---|
690 | VMMR0/GVMMR0.cpp \
|
---|
691 | VMMR0/EMR0.cpp \
|
---|
692 | VMMR0/HMR0.cpp \
|
---|
693 | VMMR0/HMR0A.asm \
|
---|
694 | VMMR0/HMVMXR0.cpp \
|
---|
695 | VMMR0/HMSVMR0.cpp \
|
---|
696 | VMMR0/PDMR0Device.cpp \
|
---|
697 | VMMR0/PDMR0Driver.cpp \
|
---|
698 | VMMR0/PGMR0.cpp \
|
---|
699 | VMMR0/PGMR0SharedPage.cpp \
|
---|
700 | VMMR0/TRPMR0.cpp \
|
---|
701 | VMMR0/TRPMR0A.asm \
|
---|
702 | VMMR0/VMMR0.cpp \
|
---|
703 | VMMRZ/CPUMRZ.cpp \
|
---|
704 | VMMRZ/CPUMRZA.asm \
|
---|
705 | VMMRZ/DBGFRZ.cpp \
|
---|
706 | VMMRZ/VMMRZ.cpp \
|
---|
707 | VMMAll/APICAll.cpp \
|
---|
708 | VMMAll/CPUMAllRegs.cpp \
|
---|
709 | VMMAll/CPUMAllMsrs.cpp \
|
---|
710 | VMMAll/CPUMStack.cpp \
|
---|
711 | VMMAll/DBGFAll.cpp \
|
---|
712 | VMMAll/EMAll.cpp \
|
---|
713 | VMMAll/FTMAll.cpp \
|
---|
714 | VMMAll/GIMAll.cpp \
|
---|
715 | VMMAll/GIMAllHv.cpp \
|
---|
716 | VMMAll/GIMAllKvm.cpp \
|
---|
717 | VMMAll/HMAll.cpp \
|
---|
718 | VMMAll/HMSVMAll.cpp \
|
---|
719 | VMMAll/IEMAll.cpp \
|
---|
720 | VMMAll/IEMAllAImpl.asm \
|
---|
721 | VMMAll/IEMAllAImplC.cpp \
|
---|
722 | VMMAll/IOMAll.cpp \
|
---|
723 | VMMAll/IOMAllMMIO.cpp \
|
---|
724 | VMMAll/MMAll.cpp \
|
---|
725 | VMMAll/MMAllHyper.cpp \
|
---|
726 | VMMAll/MMAllPagePool.cpp \
|
---|
727 | VMMAll/NEMAll.cpp \
|
---|
728 | VMMAll/PDMAll.cpp \
|
---|
729 | VMMAll/PDMAllCritSect.cpp \
|
---|
730 | VMMAll/PDMAllCritSectRw.cpp \
|
---|
731 | VMMAll/PDMAllCritSectBoth.cpp \
|
---|
732 | VMMAll/PDMAllQueue.cpp \
|
---|
733 | VMMAll/PGMAll.cpp \
|
---|
734 | VMMAll/PGMAllHandler.cpp \
|
---|
735 | VMMAll/PGMAllMap.cpp \
|
---|
736 | VMMAll/PGMAllPhys.cpp \
|
---|
737 | VMMAll/PGMAllPool.cpp \
|
---|
738 | VMMAll/SELMAll.cpp \
|
---|
739 | VMMAll/TMAll.cpp \
|
---|
740 | VMMAll/TMAllCpu.cpp \
|
---|
741 | VMMAll/TMAllReal.cpp \
|
---|
742 | VMMAll/TMAllVirtual.cpp \
|
---|
743 | VMMAll/TRPMAll.cpp \
|
---|
744 | VMMAll/VMAll.cpp \
|
---|
745 | VMMAll/VMMAll.cpp \
|
---|
746 | VMMAll/VMMAllA.asm
|
---|
747 | if1of ($(VBOX_LDR_FMT), pe lx)
|
---|
748 | VMMR0_SOURCES += $(VMMR0Imp_0_OUTDIR)/VMMR0.def
|
---|
749 | endif
|
---|
750 | ifdef VBOX_WITH_TRIPLE_FAULT_HACK
|
---|
751 | VMMR0_SOURCES += \
|
---|
752 | VMMR0/VMMR0TripleFaultHack.cpp \
|
---|
753 | VMMR0/VMMR0TripleFaultHackA.asm
|
---|
754 | endif
|
---|
755 | ifdef VBOX_WITH_NETSHAPER
|
---|
756 | VMMR0_SOURCES += \
|
---|
757 | VMMAll/PDMAllNetShaper.cpp
|
---|
758 | endif
|
---|
759 | ifdef VBOX_WITH_REM
|
---|
760 | VMMR0_SOURCES += \
|
---|
761 | VMMAll/REMAll.cpp
|
---|
762 | endif
|
---|
763 | VMMR0_SOURCES.amd64 = \
|
---|
764 | VMMR0/VMMR0JmpA-amd64.asm
|
---|
765 | VMMR0_SOURCES.x86 = \
|
---|
766 | VMMR0/VMMR0JmpA-x86.asm
|
---|
767 |
|
---|
768 | VMMR0_LIBS = \
|
---|
769 | $(PATH_STAGE_LIB)/ServicesR0$(VBOX_SUFF_LIB) \
|
---|
770 | $(PATH_STAGE_LIB)/RuntimeR0$(VBOX_SUFF_LIB) \
|
---|
771 | $(PATH_STAGE_LIB)/DisasmR0$(VBOX_SUFF_LIB)
|
---|
772 | ifneq ($(filter pe lx,$(VBOX_LDR_FMT)),)
|
---|
773 | VMMR0_LIBS += \
|
---|
774 | $(PATH_STAGE_LIB)/SUPR0$(VBOX_SUFF_LIB)
|
---|
775 | endif
|
---|
776 | ifdef VBOX_WITH_NATIVE_NEM
|
---|
777 | VMMR0_SOURCES.win.amd64 += VMMR0/NEMR0Native-win.cpp
|
---|
778 | VMMR0_DEFS.win.amd64 += VBOX_WITH_NATIVE_NEM VBOX_WITH_NEM_R0
|
---|
779 | VMMR0/NEMR0Native-win.cpp_SDKS.win = ReorderCompilerIncs $(VBOX_WINDDK) $(VBOX_WINPSDK)INCS
|
---|
780 | endif
|
---|
781 |
|
---|
782 | $(call VBOX_SET_VER_INFO_R0,VMMR0,VirtualBox VMM - ring-0 context parts) # Version info / description.
|
---|
783 |
|
---|
784 | if "$(USERNAME)" == "bird" && "$(KBUILD_TARGET)" == "win"
|
---|
785 | VMMR0_VMMAll/IEMAll.cpp_CXXFLAGS = /FAcs /Fa$(subst /,\\,$(outbase).cod)
|
---|
786 | VMMR0_VMMAll/IEMAllAImplC.cpp_CXXFLAGS = /FAcs /Fa$(subst /,\\,$(outbase).cod)
|
---|
787 | VMMR0_VMMAll/PGMAll.cpp_CXXFLAGS = /FAcs /Fa$(subst /,\\,$(outbase).cod)
|
---|
788 | endif
|
---|
789 |
|
---|
790 | VMMR0_INTERMEDIATES += $(VBoxVMM_0_OUTDIR)/CommonGenIncs/IEMInstructionStatisticsTmpl.h
|
---|
791 |
|
---|
792 | if "$(KBUILD_TARGET)" == "win"
|
---|
793 | # Debug type info hack for VMCPU, VM and similar. See VBoxVMM for details.
|
---|
794 | VMMR0_LIBS += $(VMMR0PdbTypeHack_1_TARGET)
|
---|
795 | VMMR0_LDFLAGS += /Export:PdbTypeHack
|
---|
796 |
|
---|
797 | LIBRARIES += VMMR0PdbTypeHack
|
---|
798 | VMMR0PdbTypeHack_TEMPLATE = $(VMMR0_TEMPLATE)
|
---|
799 | VMMR0PdbTypeHack_SOURCES = VMMAll/AllPdbTypeHack.cpp
|
---|
800 | VMMR0PdbTypeHack_DEFS = $(VMMR0_DEFS)
|
---|
801 | VMMR0PdbTypeHack_DEFS.win = $(VMMR0_DEFS.win)
|
---|
802 | VMMR0PdbTypeHack_DEFS.win.x86 = $(VMMR0_DEFS.win.x86)
|
---|
803 | VMMR0PdbTypeHack_DEFS.win.amd64 = $(VMMR0_DEFS.win.amd64)
|
---|
804 | VMMR0PdbTypeHack_INCS = $(VMMR0_INCS)
|
---|
805 | VMMR0PdbTypeHack_INTERMEDIATES = $(VMMR0_INTERMEDIATES)
|
---|
806 | endif
|
---|
807 |
|
---|
808 | endif # !VBOX_ONLY_EXTPACKS
|
---|
809 |
|
---|
810 |
|
---|
811 |
|
---|
812 | ifndef VBOX_ONLY_EXTPACKS
|
---|
813 | #
|
---|
814 | # SSMStandalone.lib/a for linking with VBoxSVC and other executables.
|
---|
815 | #
|
---|
816 | LIBRARIES += SSMStandalone
|
---|
817 | SSMStandalone_TEMPLATE = VBOXR3EXE
|
---|
818 | SSMStandalone_DEFS = IN_VMM_R3 IN_VMM_STATIC SSM_STANDALONE CPUM_DB_STANDALONE
|
---|
819 | SSMStandalone_INCS = include
|
---|
820 | SSMStandalone_SOURCES = \
|
---|
821 | VMMR3/SSM.cpp \
|
---|
822 | VMMR3/CPUMR3Db.cpp
|
---|
823 | endif # !VBOX_ONLY_EXTPACKS
|
---|
824 |
|
---|
825 |
|
---|
826 | if !defined(VBOX_ONLY_EXTPACKS) \
|
---|
827 | && ( defined(VBOX_WITH_DTRACE_R3) \
|
---|
828 | || defined(VBOX_WITH_DTRACE_R0) \
|
---|
829 | || defined(VBOX_WITH_DTRACE_RC))
|
---|
830 | #
|
---|
831 | # Install the dtrace library files.
|
---|
832 | #
|
---|
833 | INSTALLS += VMMLibDTrace
|
---|
834 | VMMLibDTrace_INST = $(VBOX_INST_DTRACE_LIB)$(KBUILD_TARGET_ARCH)/
|
---|
835 | VMMLibDTrace_SOURCES = \
|
---|
836 | dtrace/lib/vbox-types.d \
|
---|
837 | dtrace/lib/$(KBUILD_TARGET_ARCH)/vbox-arch-types.d \
|
---|
838 | $(VMMLibDTrace_0_OUTDIR)/vm.d \
|
---|
839 | $(VMMLibDTrace_0_OUTDIR)/cpumctx.d \
|
---|
840 | $(VMMLibDTrace_0_OUTDIR)/cpum.d \
|
---|
841 | $(VMMLibDTrace_0_OUTDIR)/CPUMInternal.d \
|
---|
842 | $(VMMLibDTrace_0_OUTDIR)/x86.d
|
---|
843 | $(call KB_FN_DO_PASS0_ON_TARGET,VMMLibDTrace)
|
---|
844 |
|
---|
845 |
|
---|
846 | ##
|
---|
847 | # Turn the header $2 into the DTrace library script $1.
|
---|
848 | #
|
---|
849 | define def_vmm_lib_dtrace_preprocess
|
---|
850 | $$(call KB_FN_AUTO_CMD_DEPS,$$(VMMLibDTrace_0_OUTDIR)/$1)
|
---|
851 | $$(VMMLibDTrace_0_OUTDIR)/$1: $2 $$(VBOX_VBOXCPP) | $$$$(dir $$$$@)
|
---|
852 | $$(call KB_FN_AUTO_CMD_DEPS_COMMANDS)
|
---|
853 | $$(QUIET)$$(call MSG_GENERATE,VMMLibDTrace,$$@,$2)
|
---|
854 | $$(QUIET)$(VBOX_VBOXCPP) -d \
|
---|
855 | -D VBOX_FOR_DTRACE_LIB \
|
---|
856 | -D VBOX_FOR_DTRACE_LIB_$(toupper $(KBUILD_TARGET_ARCH)) \
|
---|
857 | -D IN_RING0 \
|
---|
858 | -D RT_C_DECLS_BEGIN= \
|
---|
859 | -D RT_C_DECLS_END= \
|
---|
860 | -D 'RCPTRTYPE(a_Type)=RTRCPTR' \
|
---|
861 | -D 'R3PTRTYPE(a_Type)=RTR3PTR' \
|
---|
862 | -D 'R0PTRTYPE(a_Type)=a_Type' \
|
---|
863 | -D 'AssertCompile(a_Expr)=' \
|
---|
864 | -D 'AssertCompileSize(a_Stuct, a_Size)=' \
|
---|
865 | -D 'bool=uint8_t' \
|
---|
866 | $$(foreach def,\
|
---|
867 | $$(DEFS) \
|
---|
868 | $$(DEFS.$$(KBUILD_TARGET)) \
|
---|
869 | $$(DEFS.$(KBUILD_TARGET_ARCH)) \
|
---|
870 | $$(VMM_COMMON_DEFS) \
|
---|
871 | $$(ARCH_BITS_DEFS)\
|
---|
872 | ,-D '$$(def)') \
|
---|
873 | $2 \
|
---|
874 | $$@
|
---|
875 | $$(QUIET)$$(CHMOD) 644 $$@
|
---|
876 | endef
|
---|
877 | $(evalcall2 def_vmm_lib_dtrace_preprocess,vm.d,$(PATH_ROOT)/include/VBox/vmm/vm.h)
|
---|
878 | $(evalcall2 def_vmm_lib_dtrace_preprocess,cpumctx.d,$(PATH_ROOT)/include/VBox/vmm/cpumctx.h)
|
---|
879 | $(evalcall2 def_vmm_lib_dtrace_preprocess,cpum.d,$(PATH_ROOT)/include/VBox/vmm/cpum.h)
|
---|
880 | $(evalcall2 def_vmm_lib_dtrace_preprocess,CPUMInternal.d,$(PATH_SUB_CURRENT)/include/CPUMInternal.h)
|
---|
881 | $(evalcall2 def_vmm_lib_dtrace_preprocess,x86.d,$(PATH_ROOT)/include/iprt/x86.h)
|
---|
882 |
|
---|
883 | endif
|
---|
884 |
|
---|
885 |
|
---|
886 |
|
---|
887 | #
|
---|
888 | # For vmmGetSvnRev.
|
---|
889 | #
|
---|
890 | VMMAll/VMMAll.cpp_DEFS = VBOX_SVN_REV=$(VBOX_SVN_REV)
|
---|
891 |
|
---|
892 | #
|
---|
893 | # Disable annoying warnings about array subscript above array bounds in aPages[]
|
---|
894 | #
|
---|
895 | ifneq ($(KBUILD_TARGET),win)
|
---|
896 | VMMR3/PGMPool.cpp_CXXFLAGS = $(VBOX_GCC_Wno-array_bounds)
|
---|
897 | VMMAll/PGMAllPool.cpp_CXXFLAGS = $(VBOX_GCC_Wno-array_bounds)
|
---|
898 | VMMAll/PGMAll.cpp_CXXFLAGS = -Wno-unused-function
|
---|
899 | VMMAll/IEMAll.cpp_CXXFLAGS = -Wno-unused-function
|
---|
900 | VMMR0/GMMR0.cpp_CXXFLAGS = -Wno-unused-value
|
---|
901 | endif
|
---|
902 |
|
---|
903 | #
|
---|
904 | # Always optimize the interpreter.
|
---|
905 | #
|
---|
906 | if $(USERNAME) != "bird" || "$(KBUILD_TYPE)" == "release" #|| "$(KBUILD_TARGET).$(KBUILD_TARGET_ARCH)" == "win.amd64"
|
---|
907 | if1of ($(KBUILD_TARGET), win)
|
---|
908 | # -noover is recognized despite the statement saying otherwise. It silences these warnings:
|
---|
909 | # cl : Command line warning D9025 : overriding '/Od' with '/O2'
|
---|
910 | # cl : Command line warning D9025 : overriding '/Oy-' with '/Oy'
|
---|
911 | VMMAll/IEMAll.cpp_CXXFLAGS += -noover -O2xy
|
---|
912 | else
|
---|
913 | VMMAll/IEMAll.cpp_CXXFLAGS += -O2
|
---|
914 | #VMMAll/IEMAll.cpp_CXXFLAGS += -fno-align-functions -fno-align-jumps -fno-align-loops # Saves a few of percents, not worth it.
|
---|
915 | #VMMAll/IEMAll.cpp_CXXFLAGS += -fno-reorder-blocks # Saves one or two percent ... never mind.
|
---|
916 | VMMAll/IEMAll.cpp_CXXFLAGS += -fomit-frame-pointer # Omitting the frame pointer results in larger code, but it might be worth it. (esp addressing vs ebp?)
|
---|
917 | endif
|
---|
918 | endif # bird wants good stacks
|
---|
919 |
|
---|
920 |
|
---|
921 | # Alias the CPU database entries.
|
---|
922 | $(foreach base,$(notdir $(basename $(wildcard $(PATH_SUB_CURRENT)/VMMR3/cpus/*.h))), $(eval $(base).o $(base).obj: CPUMR3Db.o))
|
---|
923 |
|
---|
924 |
|
---|
925 | #
|
---|
926 | # Process python source(s).
|
---|
927 | #
|
---|
928 | BLDDIRS += $(PATH_TARGET)/pylint
|
---|
929 |
|
---|
930 | define def_vbox_vmm_py_check
|
---|
931 | $(eval name:=$(basename $(notdir $(py))))
|
---|
932 |
|
---|
933 | pylint:: $(name)-py-phony.o
|
---|
934 | $(name).o: $(name)-py-phony.o
|
---|
935 | $(PATH_TARGET)/pylint/$(name).o $(name)-py-phony.o:: $(py) | $(PATH_TARGET)/pylint/
|
---|
936 | ifdef VBOX_WITH_PYLINT
|
---|
937 | $(QUIET2)$(call MSG_L1,Subjecting $(py) to pylint...)
|
---|
938 | $(QUIET)$(REDIRECT) -C "$(dir $(py))" -E LC_ALL=C -- \
|
---|
939 | $(VBOX_PYLINT) --rcfile=$(PATH_TARGET)/no-such-pylintrc \
|
---|
940 | $$(VBOX_PYLINT_FLAGS) $$($(py)_VBOX_PYLINT_FLAGS) ./$(notdir $(py))
|
---|
941 | endif
|
---|
942 | $(QUIET)$(APPEND) -t "$(PATH_TARGET)/pylint/$(name).o"
|
---|
943 |
|
---|
944 | TESTING += $(name)-py-phony.o
|
---|
945 | endef # def_vbox_vmm_py_check
|
---|
946 |
|
---|
947 | $(foreach py, $(addprefix $(PATH_SUB_CURRENT)/VMMAll/, IEMAllInstructionsPython.py ) , $(eval $(def_vbox_vmm_py_check)))
|
---|
948 |
|
---|
949 |
|
---|
950 | #
|
---|
951 | # Test for undefined symbols.
|
---|
952 | #
|
---|
953 | if1of ($(SYSMODS),VMMRC)
|
---|
954 | test-undef-rc:: $(PATH_TARGET)/undef-rc.run
|
---|
955 | OTHERS += $(PATH_TARGET)/undef-rc.run
|
---|
956 | CLEANS += $(PATH_TARGET)/undef-rc.run
|
---|
957 | $(call KB_FN_AUTO_CMD_DEPS,$(PATH_TARGET)/undef-rc.run)
|
---|
958 | $(PATH_TARGET)/undef-rc.run: $$(VMMRC_1_TARGET)
|
---|
959 | $(call KB_FN_AUTO_CMD_DEPS_COMMANDS)
|
---|
960 | ifn1of ($(KBUILD_TARGET), linux solaris)
|
---|
961 | else
|
---|
962 | $(call MSG_L1,VMM: Testing for undefined symbols in VMMRC using nm...)
|
---|
963 | $(QUIET)$(VBOX_NM) $(VMMRC_1_TARGET) 2> /dev/null \
|
---|
964 | | $(SED) -n \
|
---|
965 | -e '/^ *U .*/!d' \
|
---|
966 | -e 's/ *U //' \
|
---|
967 | \
|
---|
968 | -e '/^g_VM\>/d'\
|
---|
969 | -e '/^g_CPUM\>/d'\
|
---|
970 | -e '/^g_Logger\>/d'\
|
---|
971 | -e '/^g_RelLogger\>/d'\
|
---|
972 | -e '/^g_TRPM\>/d'\
|
---|
973 | -e '/^g_TRPMCPU\>/d'\
|
---|
974 | -e '/^g_pSUPGlobalInfoPage\>/d'\
|
---|
975 | -e '/^g_trpmHyperCtxCore\>/d' \
|
---|
976 | -e '/^g_trpmGuestCtxCore\>/d' \
|
---|
977 | \
|
---|
978 | -e 's/\(.*\)$(DOLLAR)/ Undefined symbol: \1/' \
|
---|
979 | -e 'p' \
|
---|
980 | -e 'q 1'
|
---|
981 | endif
|
---|
982 | $(QUIET)$(APPEND) -t $@
|
---|
983 | endif
|
---|
984 |
|
---|
985 | include $(FILE_KBUILD_SUB_FOOTER)
|
---|
986 |
|
---|
987 |
|
---|
988 | # Alias the PGM templates to the object in which they are defined.
|
---|
989 | PGMInternal.o: PGM.o
|
---|
990 |
|
---|
991 | PGMAllBth.o PGMAllGst.o PGMAllShw.o \
|
---|
992 | PGMAllBth.obj PGMAllGst.obj PGMAllShw.obj: PGMAll.o
|
---|
993 |
|
---|
994 | PGMRCBth.o PGMRCGst.o PGMRCShw.o \
|
---|
995 | PGMRCBth.obj PGMRCGst.obj PGMRCShw.obj: PGMRC.o
|
---|
996 |
|
---|
997 | PGMPhysRWTmpl.o PGMPhysRWTmpl.obj: PGMPhys.o
|
---|
998 |
|
---|
999 | PGMInline.o PGMInline.obj: PGMDbg.o
|
---|
1000 |
|
---|
1001 | # Alias the IEM templates to the object in which they are instantiated.
|
---|
1002 | IEMInternal.o \
|
---|
1003 | IEMAllInstructions.cpp.o IEMAllInstructions.cpp.obj \
|
---|
1004 | IEMAllInstructionsOneByte.cpp.o IEMAllInstructionsOneByte.cpp.obj \
|
---|
1005 | IEMAllInstructionsTwoByte0f.cpp.o IEMAllInstructionsTwoByte0f.cpp.obj \
|
---|
1006 | IEMAllInstructionsThree0f38.cpp.o IEMAllInstructionsThree0f38.cpp.obj \
|
---|
1007 | IEMAllInstructionsThree0f3a.cpp.o IEMAllInstructionsThree0f3a.cpp.obj \
|
---|
1008 | IEMAllInstructionsVexMap1.cpp.o IEMAllInstructionsVexMap1.cpp.obj \
|
---|
1009 | IEMAllInstructionsVexMap2.cpp.o IEMAllInstructionsVexMap2.cpp.obj \
|
---|
1010 | IEMAllInstructionsVexMap3.cpp.o IEMAllInstructionsVexMap3.cpp.obj \
|
---|
1011 | IEMAllInstructions3DNow.cpp.o IEMAllInstructions3DNow.cpp.obj \
|
---|
1012 | IEMAllCImpl.cpp.o IEMAllCImpl.cpp.obj \
|
---|
1013 | IEMAllCImplStrInstr.cpp.o IEMAllCImplStrInstr.cpp.obj \
|
---|
1014 | IEMAllCImplSvmInstr.cpp.o IEMAllCImplSvmInstr.cpp.obj \
|
---|
1015 | IEMAllCImplVmxInstr.cpp.o IEMAllCImplVmxInstr.cpp.obj: IEMAll.o
|
---|
1016 |
|
---|
1017 | # Alias the NEM template to the objects where it is used:
|
---|
1018 | NEMAllNativeTemplate-win.cpp.o: NEMR3Native-win.o NEMR0Native-win.o
|
---|
1019 |
|
---|
1020 | # Alias the switcher templates.
|
---|
1021 | PAEand32Bit.o PAEand32Bit.obj: PAETo32Bit.o PAEToPAE.o 32BitTo32Bit.o PAETo32Bit.o
|
---|
1022 | LegacyandAMD64.o LegacyandAMD64.obj: 32BitToAMD64.o PAEToAMD64.o
|
---|
1023 | AMD64andLegacy.o AMD64andLegacy.obj: AMD64To32Bit.o AMD64ToPAE.o
|
---|
1024 |
|
---|