VirtualBox

Ignore:
Timestamp:
Jun 17, 2024 8:23:40 PM (7 months ago)
Author:
vboxsync
Message:

VMM/IEM,tstVMStructSize: Made the IEM TLB size more easily configurable. Include the IEM statistics in the tstVMStructSize testcase so it can be run to figure out the correct paddings. bugref:10687

File:
1 edited

Legend:

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

    r104326 r104947  
    175175tstVMStructSize_INCS    = \
    176176        $(VBOX_PATH_VMM_SRC)/include \
    177         $(VBOX_PATH_VMM_SRC)/PATM \
     177        $(tstVMStructSize_0_OUTDIR) \
    178178        $(VBOX_VMM_TESTCASE_OUT_DIR)
    179179tstVMStructSize_SOURCES = tstVMStructSize.cpp
     
    184184 tstVMStructSize_DEFS  += VBOX_WITH_R0_LOGGING
    185185endif
     186$(call KB_FN_DO_PASS0_ON_TARGET,tstVMStructSize)
     187$(evalcall2 def_VBoxGenIEMInstructionStatisticsTmpl_Header,tstVMStructSize,$(tstVMStructSize_0_OUTDIR))
    186188
    187189tstAsmStructs_TEMPLATE  = VBoxR3AutoTest
     
    239241# Testcase for checking the C (IEMAllAImplC.cpp) and assembly (IEMAllAImpl.asm)
    240242# instruction emulation helpers.
    241 #
    242 # Note! The IN_TSTVMSTRUCT define is for avoiding IEMInstructionStatisticsTmpl.h.
    243243#
    244244TSTIEMAIMPL_TEST_DATA_DEPS := \
     
    654654
    655655tstIEMAImpl_TEMPLATE  = VBoxR3TstExe
    656 tstIEMAImpl_DEFS      = $(VMM_COMMON_DEFS) IEM_WITHOUT_ASSEMBLY IN_TSTVMSTRUCT
     656tstIEMAImpl_DEFS      = $(VMM_COMMON_DEFS) IEM_WITHOUT_ASSEMBLY IEM_WITHOUT_INSTRUCTION_STATS
    657657tstIEMAImpl_SDKS      = VBoxSoftFloatR3Shared
    658658tstIEMAImpl_INCS      = ../include .
     
    676676tstIEMAImplAsm_TEMPLATE      := VBoxR3TstExe
    677677tstIEMAImplAsm_SDKS          := VBoxSoftFloatR3Shared
    678 tstIEMAImplAsm_DEFS           = $(VMM_COMMON_DEFS) IEM_WITH_ASSEMBLY IN_TSTVMSTRUCT TSTIEMAIMPL_WITH_GENERATOR
     678tstIEMAImplAsm_DEFS           = $(VMM_COMMON_DEFS) IEM_WITH_ASSEMBLY IEM_WITHOUT_INSTRUCTION_STATS TSTIEMAIMPL_WITH_GENERATOR
    679679tstIEMAImplAsm_ASFLAGS.amd64 := -Werror
    680680tstIEMAImplAsm_ASFLAGS.x86   := -Werror
     
    700700tstIEMCheckMc_TEMPLATE  = VBoxR3TstExe
    701701tstIEMCheckMc_SOURCES   = tstIEMCheckMc.cpp
    702 tstIEMCheckMc_DEFS      = $(VMM_COMMON_DEFS)
     702tstIEMCheckMc_DEFS      = $(VMM_COMMON_DEFS) IEM_WITHOUT_INSTRUCTION_STATS
    703703tstIEMCheckMc_LIBS      = $(LIB_RUNTIME)
    704704ifeq ($(KBUILD_TARGET),win)
     
    974974  || defined(VBOX_WITH_DTRACE_RC))
    975975 tstVMStructDTrace_TEMPLATE = VBoxR3AutoTest
    976  tstVMStructDTrace_DEFS    = VBOX_IN_VMM IN_VMM_R3 IN_DIS $(VMM_COMMON_DEFS)
     976 tstVMStructDTrace_DEFS    = VBOX_IN_VMM IN_VMM_R3 IN_DIS $(VMM_COMMON_DEFS) IEM_WITHOUT_INSTRUCTION_STATS
    977977 ifdef VBOX_WITH_RAW_MODE
    978978  tstVMStructDTrace_DEFS  += VBOX_WITH_RAW_MODE
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