- Timestamp:
- Jun 25, 2009 11:17:45 AM (16 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Config.kmk
r20917 r20922 157 157 158 158 ifeq ($(int-mod $(VBOX_VERSION_BUILD),2),0) 159 # for 3.0.0 Alpha/Beta 159 # for 3.0.0 Alpha/Beta 160 160 # export VBOX_ADDITIONS_SH_MODE = release 161 161 # export VBOX_DOCUMENTATION_SH_MODE = release … … 394 394 # Enable multi-core VCPUs. 395 395 VBOX_WITH_MULTI_CORE = 1 396 # Enable SMP support in guests397 ##VBOX_WITH_SMP_GUESTS = 1398 396 # Enable the host/guest information service (aka guest properties). 399 397 VBOX_WITH_GUEST_PROPS = 1 … … 1088 1086 ifdef VBOX_WITH_64_BITS_GUESTS 1089 1087 DEFS += VBOX_WITH_64_BITS_GUESTS 1090 endif1091 ifdef VBOX_WITH_SMP_GUESTS1092 DEFS += VBOX_WITH_SMP_GUESTS1093 endif1094 ifdef VBOX_WITH_MULTI_CORE1095 DEFS += VBOX_WITH_MULTI_CORE1096 1088 endif 1097 1089 ifdef VBOX_WITH_HARDENING -
trunk/src/VBox/VMM/Makefile.kmk
r20871 r20922 33 33 34 34 VMMR3_TEMPLATE = VBOXR3 35 35 36 VMMR3_DEFS = IN_VMM_R3 IN_DIS IN_GMM_R3 IN_DBG 36 37 ## @todo eliminate IN_GMM_R3 37 38 ifdef VBOX_WITH_PREALLOC_RAM_BY_DEFAULT 38 VMMR3_DEFS+= VBOX_WITH_PREALLOC_RAM_BY_DEFAULT39 VMMR3_DEFS += VBOX_WITH_PREALLOC_RAM_BY_DEFAULT 39 40 endif 40 41 ifdef VBOX_WITH_R0_LOGGING 41 VMMR3_DEFS += VBOX_WITH_R0_LOGGING 42 VMMR3_DEFS += VBOX_WITH_R0_LOGGING 43 endif 44 ifdef VBOX_WITH_MULTI_CORE 45 VMMR3_DEFS += VBOX_WITH_MULTI_CORE 46 endif 47 ifdef VBOX_WITH_USB 48 VMMR3_DEFS += VBOX_WITH_USB 49 endif 50 ifdef VBOX_WITH_VMI 51 VMMR3_DEFS += \ 52 VBOX_WITH_VMI 53 endif 54 ifdef VBOX_WITH_PDM_ASYNC_COMPLETION 55 VMMR3_DEFS += VBOX_WITH_PDM_ASYNC_COMPLETION 42 56 endif 43 57 VMMR3_DEFS.darwin.x86 = \ 44 58 VBOX_WITH_2X_4GB_ADDR_SPACE VBOX_WITH_2X_4GB_ADDR_SPACE_IN_R3 \ 45 59 VBOX_WITH_HYBRID_32BIT_KERNEL VBOX_WITH_HYBRID_32BIT_KERNEL_IN_R3 46 VMMR3_INCS := \ 47 $(PATH_SUB_CURRENT) \ 60 61 VMMR3_INCS = \ 62 . \ 48 63 PATM 64 ifdef VBOX_WITH_VMI 65 VMMR3_INCS += \ 66 PARAV 67 endif 49 68 50 69 VMMR3_SOURCES = \ … … 134 153 PATM/PATMSSM.cpp \ 135 154 PATM/VMMAll/PATMAll.cpp 155 ifdef VBOX_WITH_VMI 156 VMMR3_SOURCES += \ 157 PARAV/PARAV.cpp \ 158 PARAV/PARAVAll.cpp 159 endif 160 ifdef VBOX_WITH_USB 161 VMMR3_SOURCES += PDMUsb.cpp 162 endif 163 ifdef VBOX_WITH_PDM_ASYNC_COMPLETION 164 VMMR3_SOURCES += \ 165 PDMAsyncCompletion.cpp \ 166 PDMAsyncCompletionFile.cpp 167 endif 168 136 169 VMMR3_SOURCES.x86 += \ 137 170 VMMSwitcher/32BitTo32Bit.asm \ … … 147 180 VMMSwitcher/AMD64ToPAE.asm 148 181 149 ifdef VBOX_WITH_VMI150 VMMR3_DEFS += \151 VBOX_WITH_VMI152 VMMR3_INCS += \153 PARAV154 VMMR3_SOURCES += \155 PARAV/PARAV.cpp \156 PARAV/PARAVAll.cpp157 endif158 159 ifdef VBOX_WITH_USB160 VMMR3_DEFS += VBOX_WITH_USB161 VMMR3_SOURCES += PDMUsb.cpp162 endif163 164 ifdef VBOX_WITH_PDM_ASYNC_COMPLETION165 VMMR3_DEFS += VBOX_WITH_PDM_ASYNC_COMPLETION166 VMMR3_SOURCES += \167 PDMAsyncCompletion.cpp \168 PDMAsyncCompletionFile.cpp169 endif170 182 171 183 # … … 173 185 # 174 186 DLLS += VBoxVMM 175 176 187 VBoxVMM_TEMPLATE = VBOXR3 177 188 VBoxVMM_DEFS = $(VMMR3_DEFS) … … 184 195 $(PATH_LIB)/DisasmR3$(VBOX_SUFF_LIB) 185 196 ifdef VBOX_WITH_DEBUGGER 186 VBoxVMM_LIBS += \187 $(PATH_LIB)/Debugger$(VBOX_SUFF_LIB)197 VBoxVMM_LIBS += \ 198 $(PATH_LIB)/Debugger$(VBOX_SUFF_LIB) 188 199 endif 189 200 VBoxVMM_LIBS += \ … … 279 290 SYSMODS += VMMGC 280 291 VMMGC_TEMPLATE = VBOXGC 292 VMMGC_SYSSUFF = .gc 293 294 VMMGC_DEFS = IN_VMM_RC IN_RT_GC IN_RT_RC IN_DIS DIS_CORE_ONLY 295 ifdef VBOX_WITH_R0_LOGGING 296 VMMGC_DEFS += VBOX_WITH_R0_LOGGING 297 endif 298 ifdef VBOX_WITH_MULTI_CORE 299 VMMGC_DEFS += VBOX_WITH_MULTI_CORE 300 endif 301 ifdef VBOX_WITH_VMI 302 VMMGC_DEFS += VBOX_WITH_VMI 303 endif 304 ifeq ($(KBUILD_TARGET_ARCH),x86) 305 VMMGC_DEFS.darwin = \ 306 VBOX_WITH_2X_4GB_ADDR_SPACE VBOX_WITH_2X_4GB_ADDR_SPACE_IN_RC \ 307 VBOX_WITH_HYBRID_32BIT_KERNEL VBOX_WITH_HYBRID_32BIT_KERNEL_IN_RC 308 endif 309 281 310 VMMGC_INCS := \ 282 $(PATH_SUB_CURRENT)\311 . \ 283 312 VMMGC \ 284 313 PATM 285 VMMGC_DEFS = IN_VMM_RC IN_RT_GC IN_RT_RC IN_DIS DIS_CORE_ONLY 286 ifdef VBOX_WITH_R0_LOGGING 287 VMMGC_DEFS += VBOX_WITH_R0_LOGGING 288 endif 289 ifeq ($(KBUILD_TARGET_ARCH),x86) 290 VMMGC_DEFS.darwin = \ 291 VBOX_WITH_2X_4GB_ADDR_SPACE VBOX_WITH_2X_4GB_ADDR_SPACE_IN_RC \ 292 VBOX_WITH_HYBRID_32BIT_KERNEL VBOX_WITH_HYBRID_32BIT_KERNEL_IN_RC 293 endif 294 VMMGC_SYSSUFF = .gc 314 295 315 VMMGC_LIBS = \ 296 316 $(PATH_LIB)/DisasmGC$(VBOX_SUFF_LIB) \ 297 317 $(PATH_LIB)/RuntimeGC$(VBOX_SUFF_LIB) 298 318 ifneq ($(filter pe lx,$(VBOX_LDR_FMT32)),) 299 VMMGC_LIBS+= \319 VMMGC_LIBS += \ 300 320 $(PATH_LIB)/VMMGCBuiltin$(VBOX_SUFF_LIB) 301 321 endif 322 302 323 ifeq ($(VBOX_LDR_FMT32),pe) 303 VMMGC_LDFLAGS = -Entry:VMMGCEntry 304 endif 324 VMMGC_LDFLAGS = -Entry:VMMGCEntry 325 endif 326 305 327 VMMGC_SOURCES = \ 306 328 VMMGC/VMMGC0.asm \ … … 353 375 PATM/VMMGC/PATMGC.cpp \ 354 376 PATM/VMMAll/PATMAll.cpp 355 377 ifdef VBOX_WITH_VMI 378 VMMGC_SOURCES += \ 379 PARAV/PARAV.cpp \ 380 PARAV/PARAVAll.cpp 381 endif 356 382 ifeq ($(VBOX_LDR_FMT32),pe) 357 VMMGC_SOURCES += VMMGC/VMMGC.def383 VMMGC_SOURCES += VMMGC/VMMGC.def 358 384 endif 359 385 ifeq ($(VBOX_LDR_FMT32),lx) 360 VMMGC_SOURCES += $(PATH_VMMGCImp)/VMMGC.def 361 endif 362 363 ifdef VBOX_WITH_VMI 364 VMMGC_DEFS += \ 365 VBOX_WITH_VMI 366 VMMGC_SOURCES += \ 367 PARAV/PARAV.cpp \ 368 PARAV/PARAVAll.cpp 369 endif 386 VMMGC_SOURCES += $(PATH_VMMGCImp)/VMMGC.def 387 endif 388 370 389 371 390 # the very last one. … … 380 399 SYSMODS += VMMR0 381 400 VMMR0_TEMPLATE = VBOXR0 382 VMMR0_INCS := \ 383 $(PATH_SUB_CURRENT) \ 384 PATM 401 VMMR0_SYSSUFF = .r0 402 385 403 VMMR0_DEFS = IN_VMM_R0 IN_RT_R0 IN_DIS DIS_CORE_ONLY IN_GVMM_R0 IN_GMM_R0 IN_INTNET_R0 RTASSERT_HAVE_SHOULD_PANIC 386 404 ## @todo eliminate IN_GVMM_R0 IN_GMM_R0 387 405 ifdef VBOX_WITH_R0_LOGGING 388 VMMR0_DEFS+= VBOX_WITH_R0_LOGGING406 VMMR0_DEFS += VBOX_WITH_R0_LOGGING 389 407 endif 390 408 ifdef VBOX_WITH_VMMR0_DISABLE_PREEMPTION 391 VMMR0_DEFS += VBOX_WITH_VMMR0_DISABLE_PREEMPTION 409 VMMR0_DEFS += VBOX_WITH_VMMR0_DISABLE_PREEMPTION 410 endif 411 ifdef VBOX_WITH_MULTI_CORE 412 VMMR0_DEFS += VBOX_WITH_MULTI_CORE 392 413 endif 393 414 VMMR0_DEFS.darwin.x86 = \ 394 415 VBOX_WITH_2X_4GB_ADDR_SPACE VBOX_WITH_2X_4GB_ADDR_SPACE_IN_R0 \ 395 416 VBOX_WITH_HYBRID_32BIT_KERNEL VBOX_WITH_HYBRID_32BIT_KERNEL_IN_R0 417 396 418 ifeq ($(VBOX_LDR_FMT),pe) 397 VMMR0_LDFLAGS= -Entry:VMMR0EntryEx419 VMMR0_LDFLAGS = -Entry:VMMR0EntryEx 398 420 endif 399 421 ifeq ($(VBOX_LDR_FMT),elf) 400 VMMR0_LDFLAGS = -e VMMR0EntryEx 401 endif 402 VMMR0_SYSSUFF = .r0 422 VMMR0_LDFLAGS = -e VMMR0EntryEx 423 endif 424 VMMR0_INCS = \ 425 . \ 426 PATM 427 403 428 VMMR0_SOURCES = \ 404 429 VMMR0/CPUMR0.cpp \ … … 446 471 VMMAll/VMAll.cpp \ 447 472 VMMAll/VMMAll.cpp 473 ifeq ($(VBOX_LDR_FMT),pe) 474 VMMR0_SOURCES += VMMR0/VMMR0.def 475 endif 476 ifeq ($(VBOX_LDR_FMT),lx) 477 VMMR0_SOURCES += $(PATH_VMMR0Imp)/VMMR0.def 478 endif 448 479 VMMR0_SOURCES.amd64 = \ 449 480 VMMR0/VMMR0JmpA-amd64.asm … … 456 487 VMMAll/PGMAllPool.cpp_CXXFLAGS = $(if-expr $(KBUILD_TARGET) == "win",,$(VBOX_GCC_Wno-array_bounds)) 457 488 458 ifeq ($(VBOX_LDR_FMT),pe)459 VMMR0_SOURCES += VMMR0/VMMR0.def460 endif461 ifeq ($(VBOX_LDR_FMT),lx)462 VMMR0_SOURCES += $(PATH_VMMR0Imp)/VMMR0.def463 endif464 489 465 490 VMMR0_LIBS = \ … … 468 493 $(PATH_LIB)/DisasmR0$(VBOX_SUFF_LIB) 469 494 ifneq ($(filter pe lx,$(VBOX_LDR_FMT)),) 470 VMMR0_LIBS += \471 $(PATH_LIB)/SUPR0$(VBOX_SUFF_LIB)495 VMMR0_LIBS += \ 496 $(PATH_LIB)/SUPR0$(VBOX_SUFF_LIB) 472 497 endif 473 498
Note:
See TracChangeset
for help on using the changeset viewer.