Changeset 22105 in vbox for trunk/src/VBox/VMM/SELM.cpp
- Timestamp:
- Aug 8, 2009 2:54:59 PM (16 years ago)
- svn:sync-xref-src-repo-rev:
- 50854
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/SELM.cpp
r22104 r22105 2055 2055 if (Desc.Gen.u1DescType) 2056 2056 { 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 */ 2057 2064 if ( Desc.Gen.u1Long 2058 2065 && !Desc.Gen.u1DefBig 2059 2066 && (Desc.Gen.u4Type & X86_SEL_TYPE_CODE)) 2060 2067 { 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. */ 2066 2069 pSelInfo->GCPtrBase = 0; 2067 2070 pSelInfo->cbLimit = ~(RTGCUINTPTR)0;
Note:
See TracChangeset
for help on using the changeset viewer.