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