Changeset 8830 in vbox for trunk/src/VBox/VMM
- Timestamp:
- May 15, 2008 2:46:57 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/PATM/PATM.cpp
r8283 r8830 1376 1376 return VINF_SUCCESS; 1377 1377 1378 #ifdef DTRACE_EXPERIMENT 1379 case OP_MOV: /* dtrace changes push ebp; mov ebp, esp; into lock mov ebp, esp */ 1380 if (pCpu->prefix & PREFIX_LOCK) 1381 { 1382 Log(("illegal lock sequence -> return here\n")); 1383 return VINF_SUCCESS; 1384 } 1385 #endif 1386 1378 1387 case OP_STI: 1379 1388 case OP_POPF: … … 1515 1524 return VINF_SUCCESS; 1516 1525 1526 #ifdef DTRACE_EXPERIMENT 1527 case OP_MOV: /* dtrace changes push ebp; mov ebp, esp; into lock mov ebp, esp */ 1528 if (pCpu->prefix & PREFIX_LOCK) 1529 { 1530 Log(("illegal lock sequence -> return here\n")); 1531 return VINF_SUCCESS; 1532 } 1533 #endif 1534 1517 1535 case OP_IRET: 1518 1536 case OP_SYSEXIT: /* will fault or emulated in GC */ … … 1653 1671 1654 1672 case OP_MOV: 1673 #ifdef DTRACE_EXPERIMENT 1674 /* dtrace changes push ebp; mov ebp, esp; into lock mov ebp, esp */ 1675 if (pCpu->prefix & PREFIX_LOCK) 1676 { 1677 rc = patmPatchGenIllegalInstr(pVM, pPatch); 1678 Log(("illegal lock sequence -> return here\n")); 1679 if (VBOX_SUCCESS(rc)) 1680 rc = VINF_SUCCESS; /* exit point by definition */ 1681 break; 1682 } 1683 #endif 1655 1684 if (pCpu->pCurInstr->optype & OPTYPE_POTENTIALLY_DANGEROUS) 1656 1685 {
Note:
See TracChangeset
for help on using the changeset viewer.