VirtualBox

Changeset 22105 in vbox for trunk/src/VBox/VMM/SELM.cpp


Ignore:
Timestamp:
Aug 8, 2009 2:54:59 PM (16 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
50854
Message:

DBGF: Added DBGFSELQI_FLAGS_DT_ADJ_64BIT_MODE for making stack walking work - it's a gross hack. A more proper solution would mean adding more context to sel:off conversions, no time for that now.

File:
1 edited

Legend:

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

    r22104 r22105  
    20552055    if (Desc.Gen.u1DescType)
    20562056    {
     2057        /*
     2058         * 64-bit code selectors are wide open, it's not possible to detect
     2059         * 64-bit data or stack selectors without also dragging in assumptions
     2060         * about current CS (i.e. that's we're executing in 64-bit mode).  So,
     2061         * the selinfo user needs to deal with this in the context the info is
     2062         * used unfortunately.
     2063         */
    20572064        if (    Desc.Gen.u1Long
    20582065            &&  !Desc.Gen.u1DefBig
    20592066            &&  (Desc.Gen.u4Type & X86_SEL_TYPE_CODE))
    20602067        {
    2061             /* 64-bit code selectors are wide open. It's not possible to
    2062                detect 64-bit data or stack selectors without also dragging
    2063                in assumptions about current CS. So, the selinfo user needs
    2064                to deal with this in the context the info is used unfortunately.
    2065                Note. We ignore the segment limit hacks that was added by AMD. */
     2068            /* Note! We ignore the segment limit hacks that was added by AMD. */
    20662069            pSelInfo->GCPtrBase = 0;
    20672070            pSelInfo->cbLimit   = ~(RTGCUINTPTR)0;
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