VirtualBox

vbox的更動 30799 路徑 trunk/src/VBox/VMM/Makefile.kmk


忽略:
時間撮記:
2010-7-13 上午08:16:37 (14 年 以前)
作者:
vboxsync
訊息:

TM: Made it possible to enable the resettable accounting stats in release builds (from the makefile).

檔案:
修改 1 筆資料

圖例:

未更動
新增
刪除
  • trunk/src/VBox/VMM/Makefile.kmk

    r29566 r30799  
    2424
    2525#
     26# Globals
     27#
     28
     29## DEFS variable that is picked up by all three VMM targets.
     30# Can be prepended to by setting it in LocalConfig.kmk
     31VMM_COMMON_DEFS ?=
     32ifdef VBOX_WITH_RAW_MODE
     33 VMM_COMMON_DEFS += VBOX_WITH_RAW_MODE
     34endif
     35ifdef VBOX_WITH_MULTI_CORE
     36 VMM_COMMON_DEFS += VBOX_WITH_MULTI_CORE
     37endif
     38ifdef VBOX_WITH_R0_LOGGING
     39 VMM_COMMON_DEFS += VBOX_WITH_R0_LOGGING
     40endif
     41# VMM_COMMON_DEFS += VBOX_WITH_NS_ACCOUNTING_STATS
     42
     43
     44#
    2645# VMMR3.dll
    2746#
     
    3049VMMR3_TEMPLATE  = VBoxR3Dll
    3150
    32 VMMR3_DEFS      = IN_VMM_R3 IN_DIS IN_GMM_R3 IN_DBG
     51VMMR3_DEFS      = IN_VMM_R3 IN_DIS IN_GMM_R3 IN_DBG $(VMM_COMMON_DEFS)
    3352## @todo eliminate IN_GMM_R3
    3453ifdef VBOX_WITH_PREALLOC_RAM_BY_DEFAULT
    3554 VMMR3_DEFS    += VBOX_WITH_PREALLOC_RAM_BY_DEFAULT
    3655endif
    37 ifdef VBOX_WITH_R0_LOGGING
    38  VMMR3_DEFS    += VBOX_WITH_R0_LOGGING
    39 endif
    40 ifdef VBOX_WITH_MULTI_CORE
    41  VMMR3_DEFS    += VBOX_WITH_MULTI_CORE
    42 endif
    4356ifdef VBOX_WITH_VUSB
    4457 VMMR3_DEFS    += VBOX_WITH_USB
     
    4659ifdef VBOX_WITH_PDM_ASYNC_COMPLETION
    4760 VMMR3_DEFS    += VBOX_WITH_PDM_ASYNC_COMPLETION
    48 endif
    49 ifdef VBOX_WITH_LIVE_MIGRATION
    50  VMMR3_DEFS    += VBOX_WITH_LIVE_MIGRATION
    51 endif
    52 ifdef VBOX_WITH_RAW_MODE
    53  VMMR3_DEFS    += VBOX_WITH_RAW_MODE
    5461endif
    5562VMMR3_DEFS.darwin = VMM_R0_SWITCH_STACK
     
    315322 VMMGC_SYSSUFF   = .gc
    316323
    317  VMMGC_DEFS      = IN_VMM_RC IN_RT_RC IN_DIS DIS_CORE_ONLY VBOX_WITH_RAW_MODE
    318  ifdef VBOX_WITH_R0_LOGGING
    319   VMMGC_DEFS    += VBOX_WITH_R0_LOGGING
    320  endif
    321  ifdef VBOX_WITH_MULTI_CORE
    322   VMMGC_DEFS    += VBOX_WITH_MULTI_CORE
    323  endif
     324 VMMGC_DEFS      = IN_VMM_RC IN_RT_RC IN_DIS DIS_CORE_ONLY VBOX_WITH_RAW_MODE $(VMM_COMMON_DEFS)
    324325 ifeq ($(KBUILD_TARGET_ARCH),x86)
    325326  VMMGC_DEFS.darwin = VMM_R0_SWITCH_STACK
     
    415416VMMR0_SYSSUFF   = .r0
    416417
    417 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
     418VMMR0_DEFS      = IN_VMM_R0 IN_RT_R0 IN_DIS DIS_CORE_ONLY IN_GVMM_R0 IN_GMM_R0 IN_INTNET_R0 \
     419        $(VMM_COMMON_DEFS) RTASSERT_HAVE_SHOULD_PANIC
    418420## @todo eliminate IN_GVMM_R0 IN_GMM_R0
    419 ifdef VBOX_WITH_R0_LOGGING
    420  VMMR0_DEFS    += VBOX_WITH_R0_LOGGING
    421 endif
    422421ifdef VBOX_WITH_VMMR0_DISABLE_PREEMPTION
    423422 VMMR0_DEFS    += VBOX_WITH_VMMR0_DISABLE_PREEMPTION
    424 endif
    425 ifdef VBOX_WITH_MULTI_CORE
    426  VMMR0_DEFS    += VBOX_WITH_MULTI_CORE
    427 endif
    428 ifdef VBOX_WITH_RAW_MODE
    429  VMMR0_DEFS    += VBOX_WITH_RAW_MODE
    430423endif
    431424VMMR0_DEFS.darwin = VMM_R0_SWITCH_STACK
注意: 瀏覽 TracChangeset 來幫助您使用更動檢視器

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