Changeset 9575 in vbox
- Timestamp:
- Jun 10, 2008 3:28:27 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMAll/PGMAllGst.h
r9542 r9575 398 398 { 399 399 #if PGM_GST_TYPE == PGM_TYPE_32BIT \ 400 || PGM_GST_TYPE == PGM_TYPE_PAE 400 || PGM_GST_TYPE == PGM_TYPE_PAE \ 401 || PGM_GST_TYPE == PGM_TYPE_AMD64 401 402 402 403 LogFlow(("MapCR3: %VGp\n", GCPhysCR3)); … … 418 419 pVM->pgm.s.pGuestPDGC = (RCPTRTYPE(PX86PD))pVM->pgm.s.GCPtrCR3Mapping; 419 420 420 # el se /* PAE */421 # elif PGM_GST_TYPE == PGM_TYPE_PAE 421 422 unsigned offset = GCPhysCR3 & GST_CR3_PAGE_MASK & PAGE_OFFSET_MASK; 422 423 pVM->pgm.s.pGstPaePDPTHC = (R3R0PTRTYPE(PX86PDPT)) HCPtrGuestCR3; … … 454 455 PGM_INVL_PG(GCPtr); 455 456 } 457 # elif PGM_GST_TYPE == PGM_TYPE_AMD64 458 pVM->pgm.s.pGstPaePML4HC = (R3R0PTRTYPE(PX86PML4))HCPtrGuestCR3; 456 459 # endif 457 460 } … … 462 465 AssertMsgFailed(("rc=%Vrc GCPhysGuestPD=%VGp\n", rc, GCPhysCR3)); 463 466 464 #else /* prot/real /amd64 modestub */467 #else /* prot/real stub */ 465 468 int rc = VINF_SUCCESS; 466 469 #endif … … 496 499 497 500 #elif PGM_GST_TYPE == PGM_TYPE_AMD64 498 /* nothing to do; vt-x/amd-v only */ 499 501 pVM->pgm.s.pGstPaePML4HC = 0; 500 502 #else /* prot/real mode stub */ 501 503 /* nothing to do */
Note:
See TracChangeset
for help on using the changeset viewer.