- Timestamp:
- Jan 14, 2009 1:20:58 PM (16 years ago)
- Location:
- trunk/src/VBox/VMM
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/DBGFDisas.cpp
r15155 r15942 337 337 SelInfo.Raw.au32[0] = 0; 338 338 SelInfo.Raw.au32[1] = 0; 339 SelInfo.Raw.Gen.u16LimitLow = ~0;340 SelInfo.Raw.Gen.u4LimitHigh = ~0;339 SelInfo.Raw.Gen.u16LimitLow = 0xffff; 340 SelInfo.Raw.Gen.u4LimitHigh = 0xf; 341 341 SelInfo.Raw.Gen.u1Present = pHiddenSel->Attr.n.u1Present; 342 342 SelInfo.Raw.Gen.u1Granularity = pHiddenSel->Attr.n.u1Granularity;; … … 355 355 SelInfo.Raw.au32[0] = 0; 356 356 SelInfo.Raw.au32[1] = 0; 357 SelInfo.Raw.Gen.u16LimitLow = ~0;358 SelInfo.Raw.Gen.u4LimitHigh = ~0;357 SelInfo.Raw.Gen.u16LimitLow = 0xffff; 358 SelInfo.Raw.Gen.u4LimitHigh = 0xf; 359 359 360 360 if (CPUMAreHiddenSelRegsValid(pVM)) … … 389 389 SelInfo.Raw.au32[0] = 0; 390 390 SelInfo.Raw.au32[1] = 0; 391 SelInfo.Raw.Gen.u16LimitLow = ~0;392 SelInfo.Raw.Gen.u4LimitHigh = ~0;391 SelInfo.Raw.Gen.u16LimitLow = 0xffff; 392 SelInfo.Raw.Gen.u4LimitHigh = 0xf; 393 393 SelInfo.Raw.Gen.u1Present = 1; 394 394 SelInfo.Raw.Gen.u1Granularity = 1; -
trunk/src/VBox/VMM/testcase/tstMicro.cpp
r14831 r15942 171 171 PX86DESC pGDTE = &paGDTEs[Sel >> X86_SEL_SHIFT]; 172 172 pGDTE->au32[0] = pGDTE->au32[1] = 0; 173 pGDTE->Gen.u16LimitLow = ~0;174 pGDTE->Gen.u4LimitHigh = ~0;173 pGDTE->Gen.u16LimitLow = 0xffff; 174 pGDTE->Gen.u4LimitHigh = 0xf; 175 175 pGDTE->Gen.u1Granularity= 1; 176 176 pGDTE->Gen.u1Present = 1; … … 183 183 pGDTE++; 184 184 pGDTE->au32[0] = pGDTE->au32[1] = 0; 185 pGDTE->Gen.u16LimitLow = ~0;186 pGDTE->Gen.u4LimitHigh = ~0;185 pGDTE->Gen.u16LimitLow = 0xffff; 186 pGDTE->Gen.u4LimitHigh = 0xf; 187 187 pGDTE->Gen.u1Granularity= 1; 188 188 pGDTE->Gen.u1Present = 1;
Note:
See TracChangeset
for help on using the changeset viewer.