VirtualBox

Changeset 35333 in vbox for trunk/src/VBox/VMM/testcase


Ignore:
Timestamp:
Dec 27, 2010 12:10:56 PM (14 years ago)
Author:
vboxsync
Message:

VMM source reorg.

Location:
trunk/src/VBox/VMM/testcase
Files:
8 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/testcase/Makefile.kmk

    r34668 r35333  
    120120 endif
    121121 tstVMStructRC_SOURCES   = tstVMStructRC.cpp
    122  tstVMStructRC_INCS      = $(VBOX_PATH_VMM_SRC) $(VBOX_PATH_VMM_SRC)/PATM
     122 tstVMStructRC_INCS      = \
     123        $(VBOX_PATH_VMM_SRC)/include \
     124        $(VBOX_PATH_VMM_SRC)/PATM
    123125endif
    124126
     
    133135 tstVMStructSize_DEFS  += VBOX_WITH_RAW_MODE
    134136endif
    135 tstVMStructSize_INCS    = $(VBOX_PATH_VMM_SRC) $(VBOX_PATH_VMM_SRC)/PATM $(VBOX_VMM_TESTCASE_OUT_DIR)
     137tstVMStructSize_INCS    = \
     138        $(VBOX_PATH_VMM_SRC)/include \
     139        $(VBOX_PATH_VMM_SRC)/PATM \
     140        $(VBOX_VMM_TESTCASE_OUT_DIR)
    136141tstVMStructSize_SOURCES = tstVMStructSize.cpp
    137142ifdef VBOX_WITH_RAW_MODE
     
    156161 tstAsmStructs_DEFS    += VBOX_WITH_VMMR0_DISABLE_LAPIC_NMI
    157162endif
    158 tstAsmStructs_INCS      = $(VBOX_PATH_VMM_SRC) $(VBOX_VMM_TESTCASE_OUT_DIR)
     163tstAsmStructs_INCS      = \
     164        $(VBOX_PATH_VMM_SRC)/include \
     165        $(VBOX_VMM_TESTCASE_OUT_DIR)
    159166tstAsmStructs_SOURCES   = tstAsmStructs.cpp
    160167tstAsmStructs.cpp_DEPS  = $(VBOX_VMM_TESTCASE_OUT_DIR)/tstAsmStructsHC.h
     
    169176  tstAsmStructsRC_DEFS  += VBOX_WITH_VMMR0_DISABLE_LAPIC_NMI
    170177 endif
    171  tstAsmStructsRC_INCS    = $(VBOX_PATH_VMM_SRC) $(VBOX_VMM_TESTCASE_OUT_DIR)
     178 tstAsmStructsRC_INCS    = \
     179        $(VBOX_PATH_VMM_SRC)/include \
     180        $(VBOX_VMM_TESTCASE_OUT_DIR)
    172181 tstAsmStructsRC_SOURCES = tstAsmStructs.cpp
    173182 tstAsmStructs.cpp_DEPS += $(VBOX_VMM_TESTCASE_OUT_DIR)/tstAsmStructsRC.h
     
    184193
    185194tstSSM_TEMPLATE         = VBOXR3TSTEXE
     195tstSSM_INCS             = $(VBOX_PATH_VMM_SRC)/include
    186196tstSSM_SOURCES          = tstSSM.cpp
    187197tstSSM_LIBS             = $(LIB_VMM) $(LIB_REM) $(LIB_RUNTIME)
     
    200210tstVMMR0CallHost-1_TEMPLATE = VBOXR3TSTEXE
    201211tstVMMR0CallHost-1_DEFS = VMM_R0_NO_SWITCH_STACK
    202 tstVMMR0CallHost-1_INCS = $(VBOX_PATH_VMM_SRC)
     212tstVMMR0CallHost-1_INCS = $(VBOX_PATH_VMM_SRC)/include
    203213tstVMMR0CallHost-1_SOURCES = \
    204214        tstVMMR0CallHost-1.cpp
     
    263273ifdef VBOX_WITH_PDM_ASYNC_COMPLETION
    264274 tstPDMAsyncCompletion_TEMPLATE         = VBOXR3EXE
     275 tstPDMAsyncCompletion_INCS             = $(VBOX_PATH_VMM_SRC)/include
    265276 tstPDMAsyncCompletion_SOURCES          = tstPDMAsyncCompletion.cpp
    266277 tstPDMAsyncCompletion_LIBS             = $(LIB_VMM) $(LIB_REM) $(LIB_RUNTIME)
    267278
    268279 tstPDMAsyncCompletionStress_TEMPLATE   = VBOXR3EXE
     280 tstPDMAsyncCompletionStress_INCS       = $(VBOX_PATH_VMM_SRC)/include
    269281 tstPDMAsyncCompletionStress_SOURCES    = tstPDMAsyncCompletionStress.cpp
    270282 tstPDMAsyncCompletionStress_LIBS       = $(LIB_VMM) $(LIB_REM) $(LIB_RUNTIME)
     
    310322                ) \
    311323                -f $(if $(eq $(KBUILD_TARGET),darwin),macho,elf) \
    312                 $(foreach inc,$(INCS) $(VBOX_PATH_VMM_SRC)/testcase $(VBOX_VMM_TESTCASE_OUT_DIR),-I$(inc)/)
     324                $(foreach inc,$(INCS) $(VBOX_PATH_VMM_SRC)/testcase $(VBOX_PATH_VMM_SRC)/include $(VBOX_VMM_TESTCASE_OUT_DIR)\
     325                        ,-I$(inc)/)
    313326
    314327# 1a. make a header file which makes all the structures+members globals.
     
    320333                $(DEPTH)/include/VBox/sup.mac \
    321334                $(DEPTH)/include/VBox/vm.mac \
    322                 $(VBOX_PATH_VMM_SRC)/CPUMInternal.mac \
    323                 $(VBOX_PATH_VMM_SRC)/TRPMInternal.mac \
    324                 $(VBOX_PATH_VMM_SRC)/HWACCMInternal.mac \
    325                 $(VBOX_PATH_VMM_SRC)/VMMInternal.mac \
     335                $(VBOX_PATH_VMM_SRC)/include/CPUMInternal.mac \
     336                $(VBOX_PATH_VMM_SRC)/include/TRPMInternal.mac \
     337                $(VBOX_PATH_VMM_SRC)/include/HWACCMInternal.mac \
     338                $(VBOX_PATH_VMM_SRC)/include/VMMInternal.mac \
    326339                $(VBOX_PATH_VMM_SRC)/testcase/Makefile.kmk \
    327340                $(PATH_ROOT)/Config.kmk $(LOCALCFG) $(AUTOCFG) \
  • trunk/src/VBox/VMM/testcase/tstAsmStructs.cpp

    r28800 r35333  
    2424#include "TRPMInternal.h"
    2525#include "HWACCMInternal.h"
    26 #include "../VMMSwitcher/VMMSwitcher.h"
     26#include "VMMSwitcher.h"
    2727#include "VMMInternal.h"
    2828#include <VBox/vm.h>
  • trunk/src/VBox/VMM/testcase/tstAsmStructsAsm.asm

    r28800 r35333  
    2323%endif
    2424
    25 %include "../CPUMInternal.mac"
    26 %include "../HWACCMInternal.mac"
    27 %include "../TRPMInternal.mac"
    28 %include "../VMMInternal.mac"
     25%include "CPUMInternal.mac"
     26%include "HWACCMInternal.mac"
     27%include "TRPMInternal.mac"
     28%include "VMMInternal.mac"
    2929%include "VBox/cpum.mac"
    3030%include "VBox/vm.mac"
    3131%include "VBox/sup.mac"
    32 %include "../VMMSwitcher/VMMSwitcher.mac"
     32%include "VMMSwitcher.mac"
    3333%ifdef DO_GLOBALS
    3434 %include "tstAsmStructsAsm.mac"
  • trunk/src/VBox/VMM/testcase/tstPDMAsyncCompletion.cpp

    r33540 r35333  
    2626#define LOG_GROUP LOG_GROUP_PDM_ASYNC_COMPLETION
    2727
    28 #include "../VMInternal.h" /* UVM */
     28#include "VMInternal.h" /* UVM */
    2929#include <VBox/vm.h>
    3030#include <VBox/uvm.h>
  • trunk/src/VBox/VMM/testcase/tstPDMAsyncCompletionStress.cpp

    r35308 r35333  
    2323#define LOG_GROUP LOG_GROUP_PDM_ASYNC_COMPLETION
    2424
    25 #include "../VMInternal.h" /* UVM */
     25#include "VMInternal.h" /* UVM */
    2626#include <VBox/vm.h>
    2727#include <VBox/uvm.h>
  • trunk/src/VBox/VMM/testcase/tstSSM.cpp

    r31895 r35333  
    2121*******************************************************************************/
    2222#include <VBox/ssm.h>
    23 #include "../VMInternal.h" /* createFakeVM */
     23#include "VMInternal.h" /* createFakeVM */
    2424#include <VBox/vm.h>
    2525#include <VBox/uvm.h>
  • trunk/src/VBox/VMM/testcase/tstVMStructRC.cpp

    r34163 r35333  
    5959#include <VBox/vmm.h>
    6060#include <VBox/stam.h>
    61 #include "../PDMInternal.h"
     61#include "PDMInternal.h"
    6262#include <VBox/pdm.h>
    63 #include "../CFGMInternal.h"
    64 #include "../CPUMInternal.h"
    65 #include "../MMInternal.h"
    66 #include "../PGMInternal.h"
    67 #include "../SELMInternal.h"
    68 #include "../TRPMInternal.h"
    69 #include "../TMInternal.h"
    70 #include "../IOMInternal.h"
    71 #include "../REMInternal.h"
    72 #include "../HWACCMInternal.h"
    73 #include "../PATM/PATMInternal.h"
    74 #include "../VMMInternal.h"
    75 #include "../DBGFInternal.h"
    76 #include "../STAMInternal.h"
    77 #include "../PATM/CSAMInternal.h"
    78 #include "../EMInternal.h"
    79 #include "../REMInternal.h"
     63#include "CFGMInternal.h"
     64#include "CPUMInternal.h"
     65#include "MMInternal.h"
     66#include "PGMInternal.h"
     67#include "SELMInternal.h"
     68#include "TRPMInternal.h"
     69#include "TMInternal.h"
     70#include "IOMInternal.h"
     71#include "REMInternal.h"
     72#include "HWACCMInternal.h"
     73#include "PATMInternal.h"
     74#include "VMMInternal.h"
     75#include "DBGFInternal.h"
     76#include "STAMInternal.h"
     77#include "CSAMInternal.h"
     78#include "EMInternal.h"
     79#include "REMInternal.h"
    8080#include <VBox/vm.h>
    8181#include <VBox/param.h>
  • trunk/src/VBox/VMM/testcase/tstVMStructSize.cpp

    r33935 r35333  
    5050#include "EMInternal.h"
    5151#include "REMInternal.h"
    52 #include "VMMR0/GMMR0Internal.h"
    53 #include "VMMR0/GVMMR0Internal.h"
     52#include "../VMMR0/GMMR0Internal.h"
     53#include "../VMMR0/GVMMR0Internal.h"
    5454#include <VBox/vm.h>
    5555#include <VBox/uvm.h>
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