VirtualBox

Changeset 22002 in vbox


Ignore:
Timestamp:
Aug 5, 2009 4:15:34 PM (16 years ago)
Author:
vboxsync
Message:

TPR patching update

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/HWACCM.cpp

    r22001 r22002  
    18371837            aPatch[off++] = 0x32;
    18381838
    1839             aPatch[off++] = 0x89;    /* mov dst_reg, eax */
    1840             aPatch[off++] = MAKE_MODRM(3, USE_REG_EAX, pDis->param1.base.reg_gen);
     1839            if (pDis->param1.base.reg_gen != USE_REG_EAX)
     1840            {
     1841                aPatch[off++] = 0x89;    /* mov dst_reg, eax */
     1842                aPatch[off++] = MAKE_MODRM(3, USE_REG_EAX, pDis->param1.base.reg_gen);
     1843            }
    18411844
    18421845            if (pDis->param1.base.reg_gen != USE_REG_EAX)
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