Changeset 5874 in vbox
- Timestamp:
- Nov 28, 2007 7:22:17 PM (17 years ago)
- svn:sync-xref-src-repo-rev:
- 26363
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/DBGFDisas.cpp
r5667 r5874 297 297 fRealModeAddress = SelInfo.fRealMode; 298 298 } 299 else if (Sel == DBGF_SEL_FLAT) 300 { 301 SelInfo.GCPtrBase = 0; 302 SelInfo.cbLimit = ~0; 303 SelInfo.fHyper = false; 304 SelInfo.fRealMode = false; 305 SelInfo.Raw.au32[0] = 0; 306 SelInfo.Raw.au32[1] = 0; 307 SelInfo.Raw.Gen.u16LimitLow = ~0; 308 SelInfo.Raw.Gen.u4LimitHigh = ~0; 309 SelInfo.Raw.Gen.u1Present = 1; 310 SelInfo.Raw.Gen.u1Granularity = 1; 311 SelInfo.Raw.Gen.u1DefBig = 1; 312 SelInfo.Raw.Gen.u1DescType = 1; 313 SelInfo.Raw.Gen.u4Type = X86_SEL_TYPE_EO; 314 } 299 315 else if ( !(fFlags & DBGF_DISAS_FLAGS_CURRENT_HYPER) 300 316 && ( (pCtxCore && pCtxCore->eflags.Bits.u1VM) … … 315 331 SelInfo.Raw.Gen.u4Type = X86_SEL_TYPE_EO; 316 332 fRealModeAddress = true; 317 }318 else if (Sel == DBGF_SEL_FLAT)319 {320 SelInfo.GCPtrBase = 0;321 SelInfo.cbLimit = ~0;322 SelInfo.fHyper = false;323 SelInfo.fRealMode = false;324 SelInfo.Raw.au32[0] = 0;325 SelInfo.Raw.au32[1] = 0;326 SelInfo.Raw.Gen.u16LimitLow = ~0;327 SelInfo.Raw.Gen.u4LimitHigh = ~0;328 SelInfo.Raw.Gen.u1Present = 1;329 SelInfo.Raw.Gen.u1Granularity = 1;330 SelInfo.Raw.Gen.u1DefBig = 1;331 SelInfo.Raw.Gen.u1DescType = 1;332 SelInfo.Raw.Gen.u4Type = X86_SEL_TYPE_EO;333 333 } 334 334 else
Note:
See TracChangeset
for help on using the changeset viewer.