- Timestamp:
- May 20, 2008 8:59:45 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/PATM/PATM.cpp
r8830 r8984 1376 1376 return VINF_SUCCESS; 1377 1377 1378 #ifdef DTRACE_EXPERIMENT1379 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 #endif1386 1387 1378 case OP_STI: 1388 1379 case OP_POPF: … … 1524 1515 return VINF_SUCCESS; 1525 1516 1526 #ifdef DTRACE_EXPERIMENT1527 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 #endif1534 1535 1517 case OP_IRET: 1536 1518 case OP_SYSEXIT: /* will fault or emulated in GC */ … … 1671 1653 1672 1654 case OP_MOV: 1673 #ifdef DTRACE_EXPERIMENT1674 /* 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 #endif1684 1655 if (pCpu->pCurInstr->optype & OPTYPE_POTENTIALLY_DANGEROUS) 1685 1656 {
Note:
See TracChangeset
for help on using the changeset viewer.