Changeset 34492 in vbox for trunk/src/VBox/VMM
- Timestamp:
- Nov 29, 2010 11:57:12 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/Makefile.kmk
r34220 r34492 240 240 241 241 242 243 #244 # SSMStandalone.lib/a for linking with VBoxSVC and other executables.245 #246 LIBRARIES += SSMStandalone247 SSMStandalone_TEMPLATE = VBOXR3EXE248 SSMStandalone_DEFS = IN_VMM_R3 IN_VMM_STATIC SSM_STANDALONE249 SSMStandalone_SOURCES = SSM.cpp250 251 252 242 if defined(VBOX_WITH_RAW_MODE) && $(intersects $(VBOX_LDR_FMT32), pe lx) 253 243 … … 323 313 324 314 325 if def VBOX_WITH_RAW_MODE315 if defined(VBOX_WITH_RAW_MODE) && !defined(VBOX_ONLY_EXTPACKS) 326 316 # 327 317 # VMMGC.gc … … 417 407 418 408 VMMGC/VMMGCDeps.cpp_CXXFLAGS.win = -Oi- -TC ## @todo rename VMMGCDeps.cpp to .c 419 endif # VBOX_WITH_RAW_MODE 420 421 422 # 423 # VMMR0.r0 424 # 425 SYSMODS += VMMR0 426 VMMR0_TEMPLATE = VBoxR0 427 VMMR0_SYSSUFF = .r0 428 429 VMMR0_DEFS = IN_VMM_R0 IN_RT_R0 IN_DIS DIS_CORE_ONLY IN_GVMM_R0 IN_GMM_R0 IN_INTNET_R0 \ 430 $(VMM_COMMON_DEFS) RTASSERT_HAVE_SHOULD_PANIC 431 ## @todo eliminate IN_GVMM_R0 IN_GMM_R0 432 ifdef VBOX_WITH_VMMR0_DISABLE_PREEMPTION 433 VMMR0_DEFS += VBOX_WITH_VMMR0_DISABLE_PREEMPTION 434 endif 435 VMMR0_DEFS.darwin = VMM_R0_SWITCH_STACK 436 VMMR0_DEFS.darwin.x86 = \ 437 VBOX_WITH_2X_4GB_ADDR_SPACE VBOX_WITH_2X_4GB_ADDR_SPACE_IN_R0 \ 438 VBOX_WITH_HYBRID_32BIT_KERNEL VBOX_WITH_HYBRID_32BIT_KERNEL_IN_R0 439 VMMR0_DEFS.win.amd64 = VBOX_WITH_KERNEL_USING_XMM 440 441 ifeq ($(VBOX_LDR_FMT),elf) 442 VMMR0_LDFLAGS = -e VMMR0EntryEx 443 endif 444 VMMR0_INCS = \ 445 . \ 446 PATM 447 448 VMMR0_SOURCES = \ 449 VMMR0/CPUMR0.cpp \ 450 VMMR0/CPUMR0A.asm \ 451 VMMR0/GMMR0.cpp \ 452 VMMR0/GVMMR0.cpp \ 453 VMMR0/HWACCMR0.cpp \ 454 VMMR0/HWACCMR0A.asm \ 455 VMMR0/HWSVMR0.cpp \ 456 VMMR0/HWVMXR0.cpp \ 457 VMMR0/PDMR0Device.cpp \ 458 VMMR0/PDMR0Driver.cpp \ 459 VMMR0/PGMR0.cpp \ 460 VMMR0/PGMR0SharedPage.cpp \ 461 VMMR0/TRPMR0.cpp \ 462 VMMR0/TRPMR0A.asm \ 463 VMMR0/VMMR0.cpp \ 464 VMMRZ/DBGFRZ.cpp \ 465 VMMRZ/VMMRZ.cpp \ 466 VMMAll/CPUMAllA.asm \ 467 VMMAll/CPUMAllRegs.cpp \ 468 VMMAll/CPUMStack.cpp \ 469 VMMAll/DBGFAll.cpp \ 470 VMMAll/EMAll.cpp \ 471 VMMAll/EMAllA.asm \ 472 VMMAll/FTMAll.cpp \ 473 VMMAll/HWACCMAll.cpp \ 474 VMMAll/IOMAll.cpp \ 475 VMMAll/IOMAllMMIO.cpp \ 476 VMMAll/MMAll.cpp \ 477 VMMAll/MMAllHyper.cpp \ 478 VMMAll/MMAllPagePool.cpp \ 479 VMMAll/PDMAll.cpp \ 480 VMMAll/PDMAllCritSect.cpp \ 481 VMMAll/PDMAllQueue.cpp \ 482 VMMAll/PGMAll.cpp \ 483 VMMAll/PGMAllHandler.cpp \ 484 VMMAll/PGMAllMap.cpp \ 485 VMMAll/PGMAllPhys.cpp \ 486 VMMAll/PGMAllPool.cpp \ 487 VMMAll/REMAll.cpp \ 488 VMMAll/SELMAll.cpp \ 489 VMMAll/TMAll.cpp \ 490 VMMAll/TMAllCpu.cpp \ 491 VMMAll/TMAllReal.cpp \ 492 VMMAll/TMAllVirtual.cpp \ 493 VMMAll/TRPMAll.cpp \ 494 VMMAll/VMAll.cpp \ 495 VMMAll/VMMAll.cpp \ 496 VMMAll/VMMAllA.asm 497 ifeq ($(VBOX_LDR_FMT),pe) 498 VMMR0_SOURCES += VMMR0/VMMR0.def 499 endif 500 ifeq ($(VBOX_LDR_FMT),lx) 501 VMMR0_SOURCES += $(PATH_VMMR0Imp)/VMMR0.def 502 endif 503 VMMR0_SOURCES.amd64 = \ 504 VMMR0/VMMR0JmpA-amd64.asm 505 VMMR0_SOURCES.x86 = \ 506 VMMR0/VMMR0JmpA-x86.asm 507 VMMR0_SOURCES.darwin.x86 = \ 508 VMMRZ/PGMRZDynMap.cpp 509 510 # disable annoying warnings about array subscript above array bounds in aPages[] 409 endif # VBOX_WITH_RAW_MODE && !VBOX_ONLY_EXTPACKS 410 411 412 ifndef VBOX_ONLY_EXTPACKS 413 # 414 # VMMR0.r0 415 # 416 SYSMODS += VMMR0 417 VMMR0_TEMPLATE = VBoxR0 418 VMMR0_SYSSUFF = .r0 419 420 VMMR0_DEFS = IN_VMM_R0 IN_RT_R0 IN_DIS DIS_CORE_ONLY IN_GVMM_R0 IN_GMM_R0 IN_INTNET_R0 \ 421 $(VMM_COMMON_DEFS) RTASSERT_HAVE_SHOULD_PANIC 422 ## @todo eliminate IN_GVMM_R0 IN_GMM_R0 423 ifdef VBOX_WITH_VMMR0_DISABLE_PREEMPTION 424 VMMR0_DEFS += VBOX_WITH_VMMR0_DISABLE_PREEMPTION 425 endif 426 VMMR0_DEFS.darwin = VMM_R0_SWITCH_STACK 427 VMMR0_DEFS.darwin.x86 = \ 428 VBOX_WITH_2X_4GB_ADDR_SPACE VBOX_WITH_2X_4GB_ADDR_SPACE_IN_R0 \ 429 VBOX_WITH_HYBRID_32BIT_KERNEL VBOX_WITH_HYBRID_32BIT_KERNEL_IN_R0 430 VMMR0_DEFS.win.amd64 = VBOX_WITH_KERNEL_USING_XMM 431 432 ifeq ($(VBOX_LDR_FMT),elf) 433 VMMR0_LDFLAGS = -e VMMR0EntryEx 434 endif 435 VMMR0_INCS = \ 436 . \ 437 PATM 438 439 VMMR0_SOURCES = \ 440 VMMR0/CPUMR0.cpp \ 441 VMMR0/CPUMR0A.asm \ 442 VMMR0/GMMR0.cpp \ 443 VMMR0/GVMMR0.cpp \ 444 VMMR0/HWACCMR0.cpp \ 445 VMMR0/HWACCMR0A.asm \ 446 VMMR0/HWSVMR0.cpp \ 447 VMMR0/HWVMXR0.cpp \ 448 VMMR0/PDMR0Device.cpp \ 449 VMMR0/PDMR0Driver.cpp \ 450 VMMR0/PGMR0.cpp \ 451 VMMR0/PGMR0SharedPage.cpp \ 452 VMMR0/TRPMR0.cpp \ 453 VMMR0/TRPMR0A.asm \ 454 VMMR0/VMMR0.cpp \ 455 VMMRZ/DBGFRZ.cpp \ 456 VMMRZ/VMMRZ.cpp \ 457 VMMAll/CPUMAllA.asm \ 458 VMMAll/CPUMAllRegs.cpp \ 459 VMMAll/CPUMStack.cpp \ 460 VMMAll/DBGFAll.cpp \ 461 VMMAll/EMAll.cpp \ 462 VMMAll/EMAllA.asm \ 463 VMMAll/FTMAll.cpp \ 464 VMMAll/HWACCMAll.cpp \ 465 VMMAll/IOMAll.cpp \ 466 VMMAll/IOMAllMMIO.cpp \ 467 VMMAll/MMAll.cpp \ 468 VMMAll/MMAllHyper.cpp \ 469 VMMAll/MMAllPagePool.cpp \ 470 VMMAll/PDMAll.cpp \ 471 VMMAll/PDMAllCritSect.cpp \ 472 VMMAll/PDMAllQueue.cpp \ 473 VMMAll/PGMAll.cpp \ 474 VMMAll/PGMAllHandler.cpp \ 475 VMMAll/PGMAllMap.cpp \ 476 VMMAll/PGMAllPhys.cpp \ 477 VMMAll/PGMAllPool.cpp \ 478 VMMAll/REMAll.cpp \ 479 VMMAll/SELMAll.cpp \ 480 VMMAll/TMAll.cpp \ 481 VMMAll/TMAllCpu.cpp \ 482 VMMAll/TMAllReal.cpp \ 483 VMMAll/TMAllVirtual.cpp \ 484 VMMAll/TRPMAll.cpp \ 485 VMMAll/VMAll.cpp \ 486 VMMAll/VMMAll.cpp \ 487 VMMAll/VMMAllA.asm 488 ifeq ($(VBOX_LDR_FMT),pe) 489 VMMR0_SOURCES += VMMR0/VMMR0.def 490 endif 491 ifeq ($(VBOX_LDR_FMT),lx) 492 VMMR0_SOURCES += $(PATH_VMMR0Imp)/VMMR0.def 493 endif 494 VMMR0_SOURCES.amd64 = \ 495 VMMR0/VMMR0JmpA-amd64.asm 496 VMMR0_SOURCES.x86 = \ 497 VMMR0/VMMR0JmpA-x86.asm 498 VMMR0_SOURCES.darwin.x86 = \ 499 VMMRZ/PGMRZDynMap.cpp 500 501 VMMR0_LIBS = \ 502 $(PATH_LIB)/ServicesR0$(VBOX_SUFF_LIB) \ 503 $(PATH_LIB)/RuntimeR0$(VBOX_SUFF_LIB) \ 504 $(PATH_LIB)/DisasmR0$(VBOX_SUFF_LIB) 505 ifneq ($(filter pe lx,$(VBOX_LDR_FMT)),) 506 VMMR0_LIBS += \ 507 $(PATH_LIB)/SUPR0$(VBOX_SUFF_LIB) 508 endif 509 endif # !VBOX_ONLY_EXTPACKS 510 511 512 ifndef VBOX_ONLY_EXTPACKS 513 # 514 # SSMStandalone.lib/a for linking with VBoxSVC and other executables. 515 # 516 LIBRARIES += SSMStandalone 517 SSMStandalone_TEMPLATE = VBOXR3EXE 518 SSMStandalone_DEFS = IN_VMM_R3 IN_VMM_STATIC SSM_STANDALONE 519 SSMStandalone_SOURCES = SSM.cpp 520 endif # !VBOX_ONLY_EXTPACKS 521 522 523 # 524 # For vmmGetSvnRev. 525 # 526 VMMAll/VMMAll.cpp_DEFS = VBOX_SVN_REV=$(VBOX_SVN_REV) 527 528 # 529 # Disable annoying warnings about array subscript above array bounds in aPages[] 530 # 511 531 PGMPool.cpp_CXXFLAGS = $(if-expr $(KBUILD_TARGET) == "win",,$(VBOX_GCC_Wno-array_bounds)) 512 532 VMMAll/PGMAllPool.cpp_CXXFLAGS = $(if-expr $(KBUILD_TARGET) == "win",,$(VBOX_GCC_Wno-array_bounds)) 513 514 515 VMMR0_LIBS = \516 $(PATH_LIB)/ServicesR0$(VBOX_SUFF_LIB) \517 $(PATH_LIB)/RuntimeR0$(VBOX_SUFF_LIB) \518 $(PATH_LIB)/DisasmR0$(VBOX_SUFF_LIB)519 ifneq ($(filter pe lx,$(VBOX_LDR_FMT)),)520 VMMR0_LIBS += \521 $(PATH_LIB)/SUPR0$(VBOX_SUFF_LIB)522 endif523 524 #525 # For vmmGetSvnRev.526 #527 VMMAll/VMMAll.cpp_DEFS = VBOX_SVN_REV=$(VBOX_SVN_REV)528 533 529 534 include $(KBUILD_PATH)/subfooter.kmk
Note:
See TracChangeset
for help on using the changeset viewer.