VirtualBox

Changeset 742 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Feb 7, 2007 10:17:01 AM (18 years ago)
Author:
vboxsync
Message:

Updates for logging

Location:
trunk/src/VBox/VMM/PATM
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/PATM/PATMA.h

    r738 r742  
    5252#define PATM_TEMP_EFLAGS                        0xF1ABCD16      /** Location for original eflags */
    5353#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
    5456
    5557/* Anything larger doesn't require a fixup */
  • trunk/src/VBox/VMM/PATM/PATMA.mac

    r738 r742  
    5151%define PATM_TEMP_EFLAGS                        0xF1ABCD16      ;/** Location for original eflags */
    5252%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
    5355
    5456;/* Anything larger doesn't require a fixup */
  • trunk/src/VBox/VMM/PATM/PATMInternal.h

    r520 r742  
    3737
    3838
    39 #define PATM_SSM_VERSION                    50
     39#define PATM_SSM_VERSION                    51
    4040
    4141/* Enable for call patching. */
  • trunk/src/VBox/VMM/PATM/PATMPatch.cpp

    r513 r742  
    288288                    dest = pVM->patm.s.pGCStateGC + RT_OFFSETOF(PATMGCSTATE, Restore.uFlags);
    289289                    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;
    290296
    291297                /* Relative address of global patm lookup and call function. */
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette