Changeset 13835 in vbox for trunk/src/VBox/VMM/PATM/PATMGuest.cpp
- Timestamp:
- Nov 5, 2008 2:34:43 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/PATM/PATMGuest.cpp
r13144 r13835 112 112 lpfnKiFastSystemCall = pInstrGC - 2; 113 113 rc = PGMPhysSimpleReadGCPtr(pVM, uTemp, lpfnKiFastSystemCall, sizeof(uFnKiFastSystemCall)); 114 if ( VBOX_FAILURE(rc)114 if ( RT_FAILURE(rc) 115 115 || memcmp(uFnKiFastSystemCall, uTemp, sizeof(uFnKiFastSystemCall))) 116 116 { … … 122 122 { 123 123 rc = PGMPhysSimpleReadGCPtr(pVM, uTemp, pInstrGC + i, sizeof(uFnKiIntSystemCall)); 124 if( VBOX_FAILURE(rc))124 if(RT_FAILURE(rc)) 125 125 { 126 126 break; … … 153 153 *(RTGCPTR32 *)&uTemp[1] = lpfnKiIntSystemCall - (pInstrGC + SIZEOF_NEARJUMP32); 154 154 rc = PGMPhysSimpleDirtyWriteGCPtr(pVM, pInstrGC, uTemp, SIZEOF_NEARJUMP32); 155 if ( VBOX_FAILURE(rc))155 if (RT_FAILURE(rc)) 156 156 { 157 157 Log(("MMR3PhysWriteGCVirt failed with rc=%d!!\n", rc)); … … 190 190 191 191 rc = PGMPhysSimpleReadGCPtr(pVM, uTemp, pInstrGC, RT_MAX(sizeof(uFnOpenBSDHandlerPrefix1), sizeof(uFnOpenBSDHandlerPrefix2))); 192 if ( VBOX_FAILURE(rc)192 if ( RT_FAILURE(rc) 193 193 || ( memcmp(uFnOpenBSDHandlerPrefix1, uTemp, sizeof(uFnOpenBSDHandlerPrefix1)) 194 194 && memcmp(uFnOpenBSDHandlerPrefix2, uTemp, sizeof(uFnOpenBSDHandlerPrefix2)))) … … 224 224 225 225 rc = PATMPatchSysenterXP(pVM, pInstrGC, pPatchRec); 226 if ( VBOX_FAILURE(rc))226 if (RT_FAILURE(rc)) 227 227 { 228 228 return VERR_PATCHING_REFUSED;
Note:
See TracChangeset
for help on using the changeset viewer.