Changeset 12855 in vbox for trunk/src/VBox/VMM/PATM/VMMGC
- Timestamp:
- Oct 1, 2008 9:37:46 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/PATM/VMMGC/PATMGC.cpp
r9659 r12855 201 201 if (rc == VINF_SUCCESS) 202 202 { 203 Log(("Patch block %VRv called as function\n", pRec->patch.pPrivInstrGC)); 204 pRec->patch.flags |= PATMFL_CODE_REFERENCED; 205 203 206 pRegFrame->eip += PATM_ILLEGAL_INSTR_SIZE; 204 207 pRegFrame->eax = pRelAddr; … … 218 221 else 219 222 { 220 #if 0221 if (pRegFrame->edx == 0x806eca98)222 {223 pRegFrame->eip += PATM_ILLEGAL_INSTR_SIZE;224 pRegFrame->eax = 0; /* make it fault */225 STAM_COUNTER_INC(&pVM->patm.s.StatFunctionNotFound);226 return VINF_SUCCESS;227 }228 #endif229 223 STAM_COUNTER_INC(&pVM->patm.s.StatFunctionNotFound); 230 224 return VINF_PATM_DUPLICATE_FUNCTION;
Note:
See TracChangeset
for help on using the changeset viewer.