VirtualBox

Changeset 15861 in vbox for trunk/src/recompiler


Ignore:
Timestamp:
Jan 8, 2009 12:21:43 PM (16 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
41459
Message:

REM: put VME bit update in place

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/recompiler/target-i386/translate.c

    r14411 r15861  
    67786778    dc->f_st = 0;
    67796779    dc->vm86 = (flags >> VM_SHIFT) & 1;
     6780#ifdef VBOX
     6781    dc->vme = !!(env->cr[4] & CR4_VME_MASK);   
    67806782#ifdef VBOX_WITH_CALL_RECORD
    6781     dc->vme = !!(env->cr[4] & CR4_VME_MASK);
    67826783    if (    !(env->state & CPU_RAW_RING0)
    67836784        &&  (env->cr[0] & CR0_PG_MASK)
     
    67876788    else
    67886789        dc->record_call = 0;
     6790#endif
    67896791#endif
    67906792    dc->cpl = (flags >> HF_CPL_SHIFT) & 3;
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