Changeset 742 in vbox for trunk/src/VBox
- Timestamp:
- Feb 7, 2007 10:17:01 AM (18 years ago)
- Location:
- trunk/src/VBox/VMM/PATM
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/PATM/PATMA.h
r738 r742 52 52 #define PATM_TEMP_EFLAGS 0xF1ABCD16 /** Location for original eflags */ 53 53 #define PATM_TEMP_RESTORE_FLAGS 0xF1ABCD17 /** Which registers to restore */ 54 #define PATM_CALL_PATCH_TARGET_ADDR 0xF1ABCD18 55 #define PATM_CALL_RETURN_ADDR 0xF1ABCD19 54 56 55 57 /* Anything larger doesn't require a fixup */ -
trunk/src/VBox/VMM/PATM/PATMA.mac
r738 r742 51 51 %define PATM_TEMP_EFLAGS 0xF1ABCD16 ;/** Location for original eflags */ 52 52 %define PATM_TEMP_RESTORE_FLAGS 0xF1ABCD17 ;/** Which registers to restore */ 53 %define PATM_CALL_PATCH_TARGET_ADDR 0xF1ABCD18 54 %define PATM_CALL_RETURN_ADDR 0xF1ABCD19 53 55 54 56 ;/* Anything larger doesn't require a fixup */ -
trunk/src/VBox/VMM/PATM/PATMInternal.h
r520 r742 37 37 38 38 39 #define PATM_SSM_VERSION 5 039 #define PATM_SSM_VERSION 51 40 40 41 41 /* Enable for call patching. */ -
trunk/src/VBox/VMM/PATM/PATMPatch.cpp
r513 r742 288 288 dest = pVM->patm.s.pGCStateGC + RT_OFFSETOF(PATMGCSTATE, Restore.uFlags); 289 289 break; 290 case PATM_CALL_PATCH_TARGET_ADDR: 291 dest = pVM->patm.s.pGCStateGC + RT_OFFSETOF(PATMGCSTATE, GCCallPatchTargetAddr); 292 break; 293 case PATM_CALL_RETURN_ADDR: 294 dest = pVM->patm.s.pGCStateGC + RT_OFFSETOF(PATMGCSTATE, GCCallReturnAddr); 295 break; 290 296 291 297 /* Relative address of global patm lookup and call function. */
Note:
See TracChangeset
for help on using the changeset viewer.