Changeset 61636 in vbox for trunk/src/VBox
- Timestamp:
- Jun 9, 2016 6:46:31 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMAll/IEMAllCImpl.cpp.h
r61506 r61636 1020 1020 IEM_CIMPL_DEF_4(iemCImpl_BranchCallGate, uint16_t, uSel, IEMBRANCH, enmBranch, IEMMODE, enmEffOpSize, PIEMSELDESC, pDesc) 1021 1021 { 1022 #define IEM_IMPLEMENTS_CALLGATE 1022 1023 #ifndef IEM_IMPLEMENTS_CALLGATE 1023 1024 IEM_RETURN_ASPECT_NOT_IMPLEMENTED(); … … 1204 1205 /* Calls are much more complicated. */ 1205 1206 1206 if ( DescCS.Legacy.Gen.u2Dpl < pIemCpu->uCpl)1207 if (!(DescCS.Legacy.Gen.u4Type & X86_SEL_TYPE_CONF) && (DescCS.Legacy.Gen.u2Dpl < pIemCpu->uCpl)) 1207 1208 { 1208 1209 uint16_t offNewStack; /* Offset of new stack in TSS. */ … … 1228 1229 1229 1230 /* Figure out where the new stack pointer is stored in the TSS. */ 1230 uNewCSDpl = uNewCS & X86_SEL_RPL;1231 uNewCSDpl = DescCS.Legacy.Gen.u2Dpl; 1231 1232 if (!IEM_IS_LONG_MODE(pIemCpu)) 1232 1233 {
Note:
See TracChangeset
for help on using the changeset viewer.