Changeset 7702 in vbox
- Timestamp:
- Apr 2, 2008 3:07:15 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMAll/PGMAllBth.h
r7698 r7702 1576 1576 return VINF_SUCCESS; 1577 1577 1578 #else /* PGM_GST_TYPE != PGM_TYPE_32BIT*/1578 #else /* PGM_GST_TYPE == PGM_TYPE_AMD64 */ 1579 1579 AssertReleaseMsgFailed(("Shw=%d Gst=%d is not implemented!\n", PGM_GST_TYPE, PGM_SHW_TYPE)); 1580 1580 return VERR_INTERNAL_ERROR; 1581 #endif /* PGM_GST_TYPE != PGM_TYPE_32BIT*/1581 #endif /* PGM_GST_TYPE == PGM_TYPE_AMD64 */ 1582 1582 } 1583 1583 … … 2247 2247 return rc; 2248 2248 2249 #else /* PGM_GST_TYPE != PGM_TYPE_32BIT*/2249 #else /* PGM_GST_TYPE == PGM_TYPE_AMD64 */ 2250 2250 AssertReleaseMsgFailed(("Shw=%d Gst=%d is not implemented!\n", PGM_GST_TYPE, PGM_SHW_TYPE)); 2251 2251 STAM_PROFILE_STOP(&pVM->pgm.s.CTXMID(Stat,SyncPT), a); 2252 2252 return VERR_INTERNAL_ERROR; 2253 #endif /* PGM_GST_TYPE != PGM_TYPE_32BIT*/2253 #endif /* PGM_GST_TYPE == PGM_TYPE_AMD64 */ 2254 2254 } 2255 2255 … … 2325 2325 return rc; 2326 2326 2327 #else /* PGM_GST_TYPE != PGM_TYPE_32BIT*/2327 #else /* PGM_GST_TYPE == PGM_TYPE_AMD64 */ 2328 2328 2329 2329 AssertReleaseMsgFailed(("Shw=%d Gst=%d is not implemented!\n", PGM_SHW_TYPE, PGM_GST_TYPE)); 2330 2330 return VERR_INTERNAL_ERROR; 2331 #endif /* PGM_GST_TYPE != PGM_TYPE_32BIT*/2331 #endif /* PGM_GST_TYPE == PGM_TYPE_AMD64 */ 2332 2332 } 2333 2333 … … 2577 2577 { 2578 2578 unsigned iPDSrc; 2579 # if PGM_SHW_TYPE == PGM_TYPE_PAE 2579 # if PGM_SHW_TYPE == PGM_TYPE_PAE 2580 2580 PX86PDPAE pPDPAE = pVM->pgm.s.CTXMID(ap,PaePDs)[iPDPTRE * X86_PG_PAE_ENTRIES]; 2581 2581 # else … … 2592 2592 continue; 2593 2593 } 2594 # else 2595 {2596 # endif /* if PGM_GST_TYPE == PGM_TYPE_PAE || PGM_GST_TYPE == PGM_TYPE_AMD64 */2594 # else /* PGM_GST_TYPE != PGM_TYPE_PAE && PGM_GST_TYPE != PGM_TYPE_AMD64 */ 2595 { 2596 # endif /* PGM_GST_TYPE != PGM_TYPE_PAE && PGM_GST_TYPE != PGM_TYPE_AMD64 */ 2597 2597 for (unsigned iPD = 0; iPD < ELEMENTS(pPDSrc->a); iPD++) 2598 2598 { … … 2639 2639 # endif 2640 2640 } 2641 # else /* PGM_GST_TYPE == PGM_TYPE_32BIT */2641 # else /* PGM_GST_TYPE != PGM_TYPE_32BIT */ 2642 2642 /* PAE and AMD64 modes are hardware accelerated only, so there are no mappings. */ 2643 2643 Assert(iPD != iPdNoMapping); 2644 # endif /* PGM_GST_TYPE == PGM_TYPE_32BIT */2644 # endif /* PGM_GST_TYPE != PGM_TYPE_32BIT */ 2645 2645 /* 2646 2646 * Sync page directory entry. … … 2802 2802 iPD += cPTs - 1; 2803 2803 pPDEDst += cPTs + (PGM_SHW_TYPE != PGM_TYPE_32BIT) * cPTs; 2804 # else /* PGM_GST_TYPE == PGM_TYPE_32BIT */2804 # else /* PGM_GST_TYPE != PGM_TYPE_32BIT */ 2805 2805 /* PAE and AMD64 modes are hardware accelerated only, so there are no mappings. */ 2806 2806 AssertFailed(); 2807 # endif /* PGM_GST_TYPE == PGM_TYPE_32BIT */2807 # endif /* PGM_GST_TYPE != PGM_TYPE_32BIT */ 2808 2808 } 2809 2809
Note:
See TracChangeset
for help on using the changeset viewer.