Changeset 21708 in vbox for trunk/src/VBox/VMM
- Timestamp:
- Jul 17, 2009 3:57:01 PM (16 years ago)
- svn:sync-xref-src-repo-rev:
- 50263
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/HWACCM.cpp
r21707 r21708 1767 1767 if (pDis->param2.flags == USE_REG_GEN32) 1768 1768 { 1769 aPatch[off++] = 0x89; /* mov eax, src_reg */ 1770 aPatch[off++] = MAKE_MODRM(3, pDis->param2.base.reg_gen, USE_REG_EAX); 1769 if (pDis->param2.base.reg_gen != USE_REG_EAX) 1770 { 1771 aPatch[off++] = 0x89; /* mov eax, src_reg */ 1772 aPatch[off++] = MAKE_MODRM(3, pDis->param2.base.reg_gen, USE_REG_EAX); 1773 } 1771 1774 } 1772 1775 else … … 1855 1858 pInstr += cb; 1856 1859 1857 if (pInstr > pVM->hwaccm.s.pFreeGuestPatchMem + off)1860 if (pInstr >= pVM->hwaccm.s.pFreeGuestPatchMem + off) 1858 1861 break; 1859 1862 }
Note:
See TracChangeset
for help on using the changeset viewer.