VirtualBox

Changeset 80309 in vbox


Ignore:
Timestamp:
Aug 15, 2019 7:53:56 PM (6 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
132767
Message:

vm.h,gvm.h: Only allow including these when VMM_COMMON_DEFS is in use. VBOX_BUGREF_9217 must be set globally since it influences VBox/types.h. Oh well, it just temporary. bugref:9217

Location:
trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • TabularUnified trunk/Config.kmk

    r80256 r80309  
    430430if1of ($(KBUILD_TARGET), win)
    431431 VBOX_WITH_NATIVE_NEM = 1
     432endif
     433# Enables new VM/GVM allocation style (see VBox/types.h too).
     434if1of ($(KBUILD_TARGET), win)
     435# VBOX_BUGREF_9217 := 1
    432436endif
    433437## @}
     
    16821686ifdef VBOX_WITH_RAW_MODE
    16831687 DEFS += VBOX_WITH_RAW_MODE
     1688endif
     1689ifdef VBOX_BUGREF_9217 ## @todo remove later.
     1690 DEFS += VBOX_BUGREF_9217
    16841691endif
    16851692
  • TabularUnified trunk/include/VBox/vmm/gvm.h

    r80281 r80309  
    3131#endif
    3232
     33#ifndef USING_VMM_COMMON_DEFS
     34# error "Compile job does not include VMM_COMMON_DEFS from src/VBox/Config.kmk - make sure you really need to include this file!"
     35#endif
    3336#include <VBox/types.h>
    3437#ifdef VBOX_BUGREF_9217
  • TabularUnified trunk/include/VBox/vmm/vm.h

    r80281 r80309  
    3131
    3232#ifndef VBOX_FOR_DTRACE_LIB
     33# ifndef USING_VMM_COMMON_DEFS
     34#  error "Compile job does not include VMM_COMMON_DEFS from src/VBox/Config.kmk - make sure you really need to include this file!"
     35# endif
    3336# include <iprt/param.h>
    3437# include <VBox/param.h>
  • TabularUnified trunk/src/VBox/VMM/Config.kmk

    r80305 r80309  
    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
     31VMM_COMMON_DEFS := USING_VMM_COMMON_DEFS
    3132ifdef VBOX_WITH_3RD_IEM_STEP
    3233 VMM_COMMON_DEFS += VBOX_WITH_3RD_IEM_STEP
     
    8384 endif
    8485endif
    85 ifdef VBOX_BUGREF_9217
    86  VMM_COMMON_DEFS += VBOX_BUGREF_9217
    87 endif
    8886
    8987# VMM_COMMON_DEFS += VBOX_WITH_NS_ACCOUNTING_STATS
Note: See TracChangeset for help on using the changeset viewer.

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