VirtualBox

Changeset 885 in vbox for trunk/src/VBox/VMM


Ignore:
Timestamp:
Feb 13, 2007 5:47:16 PM (18 years ago)
Author:
vboxsync
Message:

Original address of faulting patch instruction must be corrected by subtracting the CS base address.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/PATM/PATM.cpp

    r882 r885  
    58935893#endif
    58945894
    5895     /* Return value. */
    5896     *ppNewEip = pNewEip;
     5895    /* Return original address, correct by subtracting the CS base address. */
     5896    *ppNewEip = pNewEip - SELMToFlat(pVM, pCtx->cs, &pCtx->csHid, 0);
    58975897
    58985898    /* Reset the PATM stack. */
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