VirtualBox

Changeset 41823 in vbox for trunk/src/VBox/VMM/VMMRZ


Ignore:
Timestamp:
Jun 19, 2012 1:43:39 PM (13 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
78648
Message:

Avoid using SELMValidateAndConvertCSAddr+EMInterpretDisasOneEx when possible and call EMInterpretDisasOne instead. Changed EMInterpretDisasOne to use SELMValidateAndConvertCSAddr instead of SELMToFlatEx.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMRZ/DBGFRZ.cpp

    r41803 r41823  
    127127        int rc = SELMValidateAndConvertCSAddr(pVCpu, pRegFrame->eflags, pRegFrame->ss, pRegFrame->cs, &pRegFrame->csHid,
    128128#ifdef IN_RC
    129                                               (RTGCPTR)((RTGCUINTPTR)pRegFrame->eip - 1),
     129                                              pRegFrame->eip - 1,
    130130#else
    131                                               (RTGCPTR)pRegFrame->rip /* no -1 in R0 */,
     131                                              pRegFrame->rip /* no -1 in R0 */,
    132132#endif
    133133                                              &pPc);
Note: See TracChangeset for help on using the changeset viewer.

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