VirtualBox

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


Ignore:
Timestamp:
Sep 21, 2012 9:40:25 AM (12 years ago)
Author:
vboxsync
Message:

VMM: HM cleanup.

Location:
trunk/src/VBox/VMM/testcase
Files:
7 edited
1 moved

Legend:

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

    r41976 r43387  
    3636 PROGRAMS  += tstGlobalConfig tstInstrEmul
    3737 ifdef VBOX_WITH_RAW_MODE
    38   PROGRAMS  += tstVMM tstVMM-HwAccm
     38  PROGRAMS  += tstVMM tstVMM-HM
    3939  ifneq ($(KBUILD_TARGET),win)
    4040   PROGRAMS += tstVMMFork
     
    256256 tstVMM_LIBS            = $(LIB_VMM) $(LIB_REM) $(LIB_RUNTIME)
    257257
    258  tstVMM-HwAccm_TEMPLATE = VBOXR3EXE
    259  tstVMM-HwAccm_SOURCES  = tstVMM-HwAccm.cpp
    260  tstVMM-HwAccm_LIBS     = $(LIB_VMM) $(LIB_REM) $(LIB_RUNTIME)
     258 tstVMM-HM_TEMPLATE    = VBOXR3EXE
     259 tstVMM-HM_SOURCES      = tstVMM-HM.cpp
     260 tstVMM-HM_LIBS         = $(LIB_VMM) $(LIB_REM) $(LIB_RUNTIME)
    261261
    262262 tstVMMFork_TEMPLATE    = VBOXR3EXE
     
    396396                $(VBOX_PATH_VMM_SRC)/include/CPUMInternal.mac \
    397397                $(VBOX_PATH_VMM_SRC)/include/TRPMInternal.mac \
    398                 $(VBOX_PATH_VMM_SRC)/include/HWACCMInternal.mac \
     398                $(VBOX_PATH_VMM_SRC)/include/HMInternal.mac \
    399399                $(VBOX_PATH_VMM_SRC)/include/VMMInternal.mac \
    400400                $(VBOX_PATH_VMM_SRC)/testcase/Makefile.kmk \
     
    423423                $(DEPTH)/include/iprt/x86.mac \
    424424                $(VBOX_PATH_VMM_SRC)/include/CPUMInternal.mac \
    425                 $(VBOX_PATH_VMM_SRC)/include/HWACCMInternal.mac \
     425                $(VBOX_PATH_VMM_SRC)/include/HMInternal.mac \
    426426                $(VBOX_PATH_VMM_SRC)/include/VMMInternal.mac \
    427427                $(VBOX_PATH_VMM_SRC)/include/VMMSwitcher.mac \
  • trunk/src/VBox/VMM/testcase/tstAsmStructs.cpp

    r41965 r43387  
    2323#include <VBox/vmm/trpm.h>
    2424#include "TRPMInternal.h"
    25 #include "HWACCMInternal.h"
     25#include "HMInternal.h"
    2626#include "VMMSwitcher.h"
    2727#include "VMMInternal.h"
  • trunk/src/VBox/VMM/testcase/tstAsmStructsAsm.asm

    r35346 r43387  
    2424
    2525%include "CPUMInternal.mac"
    26 %include "HWACCMInternal.mac"
     26%include "HMInternal.mac"
    2727%include "TRPMInternal.mac"
    2828%include "VMMInternal.mac"
  • trunk/src/VBox/VMM/testcase/tstVMStruct.h

    r42407 r43387  
    13291329    GEN_CHECK_OFF(VM, fPATMEnabled);
    13301330    GEN_CHECK_OFF(VM, fCSAMEnabled);
    1331     GEN_CHECK_OFF(VM, fHWACCMEnabled);
     1331    GEN_CHECK_OFF(VM, fHMEnabled);
    13321332    GEN_CHECK_OFF(VM, fHwVirtExtForced);
    13331333    GEN_CHECK_OFF(VM, fFaultTolerantMaster);
     
    13561356    GEN_CHECK_OFF(VM, vmm);
    13571357    GEN_CHECK_OFF(VM, pgm);
    1358     GEN_CHECK_OFF(VM, hwaccm);
     1358    GEN_CHECK_OFF(VM, hm);
    13591359    GEN_CHECK_OFF(VM, trpm);
    13601360    GEN_CHECK_OFF(VM, selm);
     
    13901390    GEN_CHECK_OFF(VMCPU, aStatAdHoc);
    13911391    GEN_CHECK_OFF(VMCPU, cpum);
    1392     GEN_CHECK_OFF(VMCPU, hwaccm);
     1392    GEN_CHECK_OFF(VMCPU, hm);
    13931393    GEN_CHECK_OFF(VMCPU, em);
    13941394    GEN_CHECK_OFF(VMCPU, iem);
  • trunk/src/VBox/VMM/testcase/tstVMStructDTrace.cpp

    r41268 r43387  
    4242#include "IOMInternal.h"
    4343#include "REMInternal.h"
    44 #include "HWACCMInternal.h"
     44#include "HMInternal.h"
    4545#include "PATMInternal.h"
    4646#include "VMMInternal.h"
  • trunk/src/VBox/VMM/testcase/tstVMStructRC.cpp

    r41965 r43387  
    7070#include "IOMInternal.h"
    7171#include "REMInternal.h"
    72 #include "HWACCMInternal.h"
     72#include "HMInternal.h"
    7373#include "PATMInternal.h"
    7474#include "VMMInternal.h"
  • trunk/src/VBox/VMM/testcase/tstVMStructSize.cpp

    r41965 r43387  
    4141#include "REMInternal.h"
    4242#include "SSMInternal.h"
    43 #include "HWACCMInternal.h"
     43#include "HMInternal.h"
    4444#include "PATMInternal.h"
    4545#include "VMMInternal.h"
     
    207207    PRINT_OFFSET(VM, pgm.s.CritSectX);
    208208    CHECK_PADDING_VM(64, pgm);
    209     PRINT_OFFSET(VM, hwaccm);
    210     CHECK_PADDING_VM(64, hwaccm);
     209    PRINT_OFFSET(VM, hm);
     210    CHECK_PADDING_VM(64, hm);
    211211    CHECK_PADDING_VM(64, trpm);
    212212    CHECK_PADDING_VM(64, selm);
     
    227227    PRINT_OFFSET(VMCPU, cpum);
    228228    CHECK_PADDING_VMCPU(64, cpum);
    229     CHECK_PADDING_VMCPU(64, hwaccm);
     229    CHECK_PADDING_VMCPU(64, hm);
    230230    CHECK_PADDING_VMCPU(64, em);
    231231    CHECK_PADDING_VMCPU(64, iem);
     
    394394    CHECK_MEMBER_ALIGNMENT(MMHYPERHEAP, Lock, sizeof(uintptr_t));
    395395
    396     /* hwaccm - 32-bit gcc won't align uint64_t naturally, so check. */
    397     CHECK_MEMBER_ALIGNMENT(HWACCM, u64RegisterMask, 8);
    398     CHECK_MEMBER_ALIGNMENT(HWACCM, vmx.hostCR4, 8);
    399     CHECK_MEMBER_ALIGNMENT(HWACCM, vmx.msr.feature_ctrl, 8);
    400     CHECK_MEMBER_ALIGNMENT(HWACCM, StatTPRPatchSuccess, 8);
    401     CHECK_MEMBER_ALIGNMENT(HWACCMCPU, StatEntry, 8);
    402     CHECK_MEMBER_ALIGNMENT(HWACCMCPU, vmx.HCPhysVMCS, sizeof(RTHCPHYS));
    403     CHECK_MEMBER_ALIGNMENT(HWACCMCPU, vmx.proc_ctls, 8);
    404     CHECK_MEMBER_ALIGNMENT(HWACCMCPU, Event.intInfo, 8);
     396    /* hm - 32-bit gcc won't align uint64_t naturally, so check. */
     397    CHECK_MEMBER_ALIGNMENT(HM, u64RegisterMask, 8);
     398    CHECK_MEMBER_ALIGNMENT(HM, vmx.hostCR4, 8);
     399    CHECK_MEMBER_ALIGNMENT(HM, vmx.msr.feature_ctrl, 8);
     400    CHECK_MEMBER_ALIGNMENT(HM, StatTPRPatchSuccess, 8);
     401    CHECK_MEMBER_ALIGNMENT(HMCPU, StatEntry, 8);
     402    CHECK_MEMBER_ALIGNMENT(HMCPU, vmx.HCPhysVMCS, sizeof(RTHCPHYS));
     403    CHECK_MEMBER_ALIGNMENT(HMCPU, vmx.proc_ctls, 8);
     404    CHECK_MEMBER_ALIGNMENT(HMCPU, Event.intInfo, 8);
    405405
    406406    /* Make sure the set is large enough and has the correct size. */
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