Changeset 14153 in vbox for trunk/src/VBox/VMM/VMMAll/PGMAllGst.h
- Timestamp:
- Nov 12, 2008 11:30:34 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMAll/PGMAllGst.h
r14152 r14153 452 452 # elif PGM_GST_TYPE == PGM_TYPE_PAE 453 453 unsigned off = GCPhysCR3 & GST_CR3_PAGE_MASK & PAGE_OFFSET_MASK; 454 pVM->pgm.s.pGstPaeP DPTR3 = (R3PTRTYPE(PX86PDPT))HCPtrGuestCR3;454 pVM->pgm.s.pGstPaePdptR3 = (R3PTRTYPE(PX86PDPT))HCPtrGuestCR3; 455 455 # ifndef VBOX_WITH_2X_4GB_ADDR_SPACE 456 pVM->pgm.s.pGstPaeP DPTR0 = (R0PTRTYPE(PX86PDPT))HCPtrGuestCR3;456 pVM->pgm.s.pGstPaePdptR0 = (R0PTRTYPE(PX86PDPT))HCPtrGuestCR3; 457 457 # endif 458 pVM->pgm.s.pGstPaeP DPTRC = (RCPTRTYPE(PX86PDPT))((RCPTRTYPE(uint8_t *))pVM->pgm.s.GCPtrCR3Mapping + off);459 Log(("Cached mapping %RGv\n", pVM->pgm.s.pGstPaeP DPTRC));458 pVM->pgm.s.pGstPaePdptRC = (RCPTRTYPE(PX86PDPT))((RCPTRTYPE(uint8_t *))pVM->pgm.s.GCPtrCR3Mapping + off); 459 Log(("Cached mapping %RGv\n", pVM->pgm.s.pGstPaePdptRC)); 460 460 461 461 /* … … 576 576 577 577 #elif PGM_GST_TYPE == PGM_TYPE_PAE 578 pVM->pgm.s.pGstPaeP DPTR3 = 0;578 pVM->pgm.s.pGstPaePdptR3 = 0; 579 579 # ifndef VBOX_WITH_2X_4GB_ADDR_SPACE 580 pVM->pgm.s.pGstPaeP DPTR0 = 0;581 # endif 582 pVM->pgm.s.pGstPaeP DPTRC = 0;580 pVM->pgm.s.pGstPaePdptR0 = 0; 581 # endif 582 pVM->pgm.s.pGstPaePdptRC = 0; 583 583 for (unsigned i = 0; i < X86_PG_PAE_PDPE_ENTRIES; i++) 584 584 {
Note:
See TracChangeset
for help on using the changeset viewer.