VirtualBox

Ignore:
Timestamp:
Sep 21, 2012 9:40:25 AM (13 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
80859
Message:

VMM: HM cleanup.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/recompiler/VBoxRecompiler.c

    r42601 r43387  
    4040#include <VBox/vmm/dbgf.h>
    4141#include <VBox/dbg.h>
    42 #include <VBox/vmm/hwaccm.h>
     42#include <VBox/vmm/hm.h>
    4343#include <VBox/vmm/patm.h>
    4444#include <VBox/vmm/csam.h>
     
    956956     * CPU_RAW_HWACC makes sure we never execute interrupt handlers in the recompiler.
    957957     */
    958     if (HWACCMIsEnabled(pVM))
     958    if (HMIsEnabled(pVM))
    959959        pVM->rem.s.Env.state |= CPU_RAW_HWACC;
    960960
     
    14361436        return false;
    14371437
    1438     if (HWACCMIsEnabled(env->pVM))
     1438    if (HMIsEnabled(env->pVM))
    14391439    {
    14401440        CPUMCTX Ctx;
     
    14491449
    14501450        /*
    1451          * Create partial context for HWACCMR3CanExecuteGuest
     1451         * Create partial context for HMR3CanExecuteGuest
    14521452         */
    14531453        Ctx.cr0            = env->cr[0];
     
    15281528         * Typically only 32-bits protected mode, with paging enabled, code is allowed here.
    15291529         */
    1530         if (HWACCMR3CanExecuteGuest(env->pVM, &Ctx) == true)
     1530        if (HMR3CanExecuteGuest(env->pVM, &Ctx) == true)
    15311531        {
    15321532            *piException = EXCP_EXECUTE_HWACC;
     
    18351835        &&   (((env->hflags >> HF_CPL_SHIFT) & 3) == 0)     /* supervisor mode only */
    18361836        &&  !(env->eflags & VM_MASK)                        /* no V86 mode */
    1837         &&  !HWACCMIsEnabled(env->pVM))
     1837        &&  !HMIsEnabled(env->pVM))
    18381838        CSAMR3MonitorPage(env->pVM, GCPtr, CSAM_TAG_REM);
    18391839#endif
     
    18551855        &&   (((env->hflags >> HF_CPL_SHIFT) & 3) == 0)     /* supervisor mode only */
    18561856        &&  !(env->eflags & VM_MASK)                        /* no V86 mode */
    1857         &&  !HWACCMIsEnabled(env->pVM))
     1857        &&  !HMIsEnabled(env->pVM))
    18581858        CSAMR3UnmonitorPage(env->pVM, GCPtr, CSAM_TAG_REM);
    18591859#endif
     
    27482748     */
    27492749    CPUMR3RemLeave(pVCpu,
    2750                       HWACCMIsEnabled(pVM)
     2750                      HMIsEnabled(pVM)
    27512751                   || (  pVM->rem.s.Env.segs[R_SS].newselector
    27522752                       | pVM->rem.s.Env.segs[R_GS].newselector
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