VirtualBox

Changeset 80305 in vbox for trunk/src/VBox/VMM


Ignore:
Timestamp:
Aug 15, 2019 5:35:00 PM (5 years ago)
Author:
vboxsync
Message:

REM,VMM,tstInt,Devices: Use VMM_COMMON_DEFS when including vm.h so the layout is always right. bugref:9217

Location:
trunk/src/VBox/VMM
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/Config.kmk

    r80024 r80305  
    2929## DEFS variable that is picked up by all three VMM targets (R0, R3, RC).
    3030# Can be prepended to by setting it in LocalConfig.kmk
    31 VMM_COMMON_DEFS += VBOX_IN_VMM
    3231ifdef VBOX_WITH_3RD_IEM_STEP
    3332 VMM_COMMON_DEFS += VBOX_WITH_3RD_IEM_STEP
  • trunk/src/VBox/VMM/Makefile.kmk

    r80074 r80305  
    5252VBoxVMM_SONAME.linux = VBoxVMM.so
    5353
    54 VBoxVMM_DEFS     = IN_VMM_R3 IN_DIS IN_GMM_R3 IN_DBG $(VMM_COMMON_DEFS)
     54VBoxVMM_DEFS     = VBOX_IN_VMM IN_VMM_R3 IN_DIS IN_GMM_R3 IN_DBG $(VMM_COMMON_DEFS)
    5555## @todo eliminate IN_GMM_R3
    5656ifdef VBOX_WITH_PREALLOC_RAM_BY_DEFAULT
     
    440440VMMR0_SYSSUFF   = .r0
    441441
    442 VMMR0_DEFS      = IN_VMM_R0 IN_RT_R0 IN_DIS DIS_CORE_ONLY IN_GVMM_R0 IN_GMM_R0 IN_INTNET_R0 \
     442VMMR0_DEFS      = VBOX_IN_VMM IN_VMM_R0 IN_RT_R0 IN_DIS DIS_CORE_ONLY IN_GVMM_R0 IN_GMM_R0 IN_INTNET_R0 \
    443443        $(VMM_COMMON_DEFS) RTASSERT_HAVE_SHOULD_PANIC
    444444## @todo eliminate IN_GVMM_R0 IN_GMM_R0
     
    605605LIBRARIES += SSMStandalone
    606606SSMStandalone_TEMPLATE = VBOXR3EXE
    607 SSMStandalone_DEFS     = IN_VMM_R3 IN_VMM_STATIC SSM_STANDALONE CPUM_DB_STANDALONE
     607SSMStandalone_DEFS     = VBOX_IN_VMM IN_VMM_R3 IN_VMM_STATIC SSM_STANDALONE CPUM_DB_STANDALONE $(VMM_COMMON_DEFS)
    608608SSMStandalone_INCS     = include
    609609SSMStandalone_SOURCES  = \
  • trunk/src/VBox/VMM/VMMR3/CPUMR3CpuId.cpp

    r80191 r80305  
    20222022 *
    20232023 */
    2024 #ifdef VBOX_IN_VMM
     2024#ifndef IN_VBOX_CPU_REPORT
    20252025
    20262026
     
    71577157}
    71587158
    7159 #endif /* VBOX_IN_VMM */
    7160 
     7159#endif /* !IN_VBOX_CPU_REPORT */
     7160
  • trunk/src/VBox/VMM/testcase/Makefile.kmk

    r80282 r80305  
    139139ifdef VBOX_WITH_RAW_MODE
    140140tstVMStructRC_TEMPLATE  = VBoxRcExe
    141 tstVMStructRC_DEFS      = IN_VMM_RC IN_DIS IN_RT_RC VBOX_WITH_RAW_MODE $(VMM_COMMON_DEFS)
     141tstVMStructRC_DEFS      = VBOX_IN_VMM IN_VMM_RC IN_DIS IN_RT_RC VBOX_WITH_RAW_MODE $(VMM_COMMON_DEFS)
    142142 ifdef VBOX_WITH_R0_LOGGING
    143143tstVMStructRC_DEFS     += VBOX_WITH_R0_LOGGING
     
    153153
    154154tstVMStructSize_TEMPLATE= VBOXR3AUTOTST
    155 tstVMStructSize_DEFS    = IN_VMM_R3 IN_DIS $(VMM_COMMON_DEFS)
     155tstVMStructSize_DEFS    = VBOX_IN_VMM IN_VMM_R3 IN_DIS $(VMM_COMMON_DEFS)
    156156ifdef VBOX_WITH_RAW_MODE
    157157tstVMStructSize_DEFS   += VBOX_WITH_RAW_MODE
     
    173173
    174174tstAsmStructs_TEMPLATE  = VBOXR3AUTOTST
    175 tstAsmStructs_DEFS      = IN_VMM_R3 IN_DIS $(VMM_COMMON_DEFS)
     175tstAsmStructs_DEFS      = VBOX_IN_VMM IN_VMM_R3 IN_DIS $(VMM_COMMON_DEFS)
    176176ifdef VBOX_WITH_RAW_MODE
    177177tstAsmStructs_DEFS     += VBOX_WITH_RAW_MODE
     
    191191ifdef VBOX_WITH_RAW_MODE
    192192tstAsmStructsRC_TEMPLATE= VBoxRcExe
    193 tstAsmStructsRC_DEFS    = IN_VMM_RC IN_DIS IN_RT_RC VBOX_WITH_RAW_MODE $(VMM_COMMON_DEFS)
     193tstAsmStructsRC_DEFS    = VBOX_IN_VMM IN_VMM_RC IN_DIS IN_RT_RC VBOX_WITH_RAW_MODE $(VMM_COMMON_DEFS)
    194194 ifdef VBOX_WITH_R0_LOGGING
    195195tstAsmStructsRC_DEFS   += VBOX_WITH_R0_LOGGING
     
    246246tstMMHyperHeap_TEMPLATE = VBOXR3TSTEXE
    247247endif
     248tstMMHyperHeap_DEFS     = $(VMM_COMMON_DEFS)
    248249tstMMHyperHeap_SOURCES  = tstMMHyperHeap.cpp
    249250tstMMHyperHeap_LIBS     = $(LIB_VMM) $(LIB_REM) $(LIB_RUNTIME)
     
    254255tstSSM_TEMPLATE         = VBOXR3TSTEXE
    255256tstSSM_INCS             = $(VBOX_PATH_VMM_SRC)/include
     257tstSSM_DEFS             = $(VMM_COMMON_DEFS)
    256258tstSSM_SOURCES          = tstSSM.cpp
    257259tstSSM_LIBS             = $(LIB_VMM) $(LIB_REM) $(LIB_RUNTIME)
     
    269271tstCFGM_TEMPLATE         = VBOXR3TSTEXE
    270272endif
     273tstCFGM_DEFS             = $(VMM_COMMON_DEFS)
    271274tstCFGM_SOURCES          = tstCFGM.cpp
    272275tstCFGM_LIBS             = $(LIB_VMM) $(LIB_REM) $(LIB_RUNTIME)
     
    306309tstVMREQ_TEMPLATE         = VBOXR3EXE
    307310endif
     311tstVMREQ_DEFS             = $(VMM_COMMON_DEFS)
    308312tstVMREQ_SOURCES          = tstVMREQ.cpp
    309313tstVMREQ_LIBS             = $(LIB_VMM) $(LIB_REM) $(LIB_RUNTIME)
     
    321325tstAnimate_TEMPLATE         = VBOXR3EXE
    322326endif
     327tstAnimate_DEFS             = $(VMM_COMMON_DEFS)
    323328tstAnimate_SOURCES          = tstAnimate.cpp
    324329tstAnimate_LIBS             = $(LIB_VMM) $(LIB_REM) $(LIB_RUNTIME)
     
    439444tstPDMAsyncCompletion_TEMPLATE         = VBOXR3EXE
    440445 endif
     446tstPDMAsyncCompletion_DEFS             = $(VMM_COMMON_DEFS)
    441447tstPDMAsyncCompletion_INCS             = $(VBOX_PATH_VMM_SRC)/include
    442448tstPDMAsyncCompletion_SOURCES          = tstPDMAsyncCompletion.cpp
     
    455461tstPDMAsyncCompletionStress_TEMPLATE   = VBOXR3EXE
    456462 endif
     463tstPDMAsyncCompletionStress_DEFS       = $(VMM_COMMON_DEFS)
    457464tstPDMAsyncCompletionStress_INCS       = $(VBOX_PATH_VMM_SRC)/include
    458465tstPDMAsyncCompletionStress_SOURCES    = tstPDMAsyncCompletionStress.cpp
     
    476483     || defined(VBOX_WITH_DTRACE_RC))
    477484tstVMStructDTrace_TEMPLATE = VBOXR3AUTOTST
    478 tstVMStructDTrace_DEFS     = IN_VMM_R3 IN_DIS $(VMM_COMMON_DEFS)
     485tstVMStructDTrace_DEFS     = VBOX_IN_VMM IN_VMM_R3 IN_DIS $(VMM_COMMON_DEFS)
    479486 ifdef VBOX_WITH_RAW_MODE
    480487tstVMStructDTrace_DEFS    += VBOX_WITH_RAW_MODE
  • trunk/src/VBox/VMM/tools/Makefile.kmk

    r76553 r80305  
    5555PROGRAMS += VBoxCpuReport
    5656VBoxCpuReport_TEMPLATE := VBoxR3Static
    57 VBoxCpuReport_DEFS      = IN_VMM_R3 IN_VBOX_CPU_REPORT
     57VBoxCpuReport_DEFS      = VBOX_IN_VMM IN_VMM_R3 IN_VBOX_CPU_REPORT $(VMM_COMMON_DEFS)
    5858VBoxCpuReport_INCS      = ../include
    5959VBoxCpuReport_SOURCES   = \
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette