- Timestamp:
- Nov 19, 2008 5:07:11 PM (16 years ago)
- Location:
- trunk/src/VBox/VMM
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/HWACCMInternal.h
r14109 r14364 520 520 VMMR0DECL(PHWACCM_CPUINFO) HWACCMR0GetCurrentCpu(); 521 521 522 DECLASM(int) SVMVMRun(RTHCPHYS pVMCBHostPhys, RTHCPHYS pVMCBPhys, PCPUMCTX pCtx); 523 DECLASM(int) SVMVMRun64(RTHCPHYS pVMCBHostPhys, RTHCPHYS pVMCBPhys, PCPUMCTX pCtx); 524 DECLASM(int) SVMVMSwitcherRun64(RTHCPHYS pVMCBHostPhys, RTHCPHYS pVMCBPhys, PCPUMCTX pCtx); 525 526 522 527 #ifdef VBOX_STRICT 523 528 VMMR0DECL(void) HWACCMDumpRegs(PVM pVM, PCPUMCTX pCtx); -
trunk/src/VBox/VMM/VMMAll/PGMAllBth.h
r14154 r14364 3136 3136 return VINF_SUCCESS; 3137 3137 3138 #elif PGM_SHW_TYPE == PGM_TYPE_AMD64 3138 #elif PGM_SHW_TYPE == PGM_TYPE_AMD64 || defined(VBOX_WITH_PGMPOOL_PAGING_ONLY) 3139 3139 /* 3140 3140 * AMD64 (Shw & Gst) - No need to check all paging levels; we zero -
trunk/src/VBox/VMM/VMMAll/PGMAllGst.h
r14154 r14364 131 131 PGM_GST_DECL(int, MapCR3)(PVM pVM, RTGCPHYS GCPhysCR3); 132 132 PGM_GST_DECL(int, UnmapCR3)(PVM pVM); 133 #ifndef VBOX_WITH_PGMPOOL_PAGING_ONLY 133 134 PGM_GST_DECL(int, MonitorCR3)(PVM pVM, RTGCPHYS GCPhysCR3); 134 135 PGM_GST_DECL(int, UnmonitorCR3)(PVM pVM); 136 #endif 135 137 PGM_GST_DECL(bool, HandlerVirtualUpdate)(PVM pVM, uint32_t cr4); 136 #ifndef IN_RING3 138 #ifndef VBOX_WITH_PGMPOOL_PAGING_ONLY 139 # ifndef IN_RING3 137 140 PGM_GST_DECL(int, WriteHandlerCR3)(PVM pVM, RTGCUINT uErrorCode, PCPUMCTXCORE pRegFrame, RTGCPTR pvFault, RTGCPHYS GCPhysFault, void *pvUser); 138 # if PGM_GST_TYPE == PGM_TYPE_PAE \141 # if PGM_GST_TYPE == PGM_TYPE_PAE \ 139 142 || PGM_GST_TYPE == PGM_TYPE_AMD64 140 143 PGM_GST_DECL(int, PAEWriteHandlerPD)(PVM pVM, RTGCUINT uErrorCode, PCPUMCTXCORE pRegFrame, RTGCPTR pvFault, RTGCPHYS GCPhysFault, void *pvUser); 144 # endif 141 145 # endif 142 146 #endif … … 619 623 620 624 625 #ifndef VBOX_WITH_PGMPOOL_PAGING_ONLY 626 621 627 #undef LOG_GROUP 622 628 #define LOG_GROUP LOG_GROUP_PGM_POOL … … 798 804 #undef LOG_GROUP 799 805 #define LOG_GROUP LOG_GROUP_PGM 806 807 #endif /* VBOX_WITH_PGMPOOL_PAGING_ONLY */ 800 808 801 809 … … 1006 1014 } 1007 1015 1016 #ifndef VBOX_WITH_PGMPOOL_PAGING_ONLY 1008 1017 1009 1018 #if PGM_GST_TYPE == PGM_TYPE_32BIT && !defined(IN_RING3) … … 1240 1249 #endif /* PGM_TYPE_PAE && !IN_RING3 */ 1241 1250 1251 #endif /* !VBOX_WITH_PGMPOOL_PAGING_ONLY */ -
trunk/src/VBox/VMM/VMMR0/HWSVMR0.cpp
r14109 r14364 759 759 if (pCtx->msrEFER & MSR_K6_EFER_LMA) 760 760 { 761 #if !defined(VBOX_WITH_64_BITS_GUESTS) || HC_ARCH_BITS != 64761 #if !defined(VBOX_WITH_64_BITS_GUESTS) 762 762 return VERR_PGM_UNSUPPORTED_SHADOW_PAGING_MODE; 763 #elif HC_ARCH_BITS == 32 764 pVCpu->hwaccm.s.svm.pfnVMRun = SVMVMSwitcherRun64; 763 765 #else 764 766 pVCpu->hwaccm.s.svm.pfnVMRun = SVMVMRun64; … … 2257 2259 return VINF_SUCCESS; 2258 2260 } 2261 2262 #ifdef HC_ARCH_BITS == 32 2263 /** 2264 * Prepares for and executes VMRUN (64 bits guests). 2265 * 2266 * @returns VBox status code. 2267 * @param pVMCBHostPhys Physical address of host VMCB. 2268 * @param pVMCBPhys Physical address of the VMCB. 2269 * @param pCtx Guest context. 2270 */ 2271 DECLASM(int) SVMVMSwitcherRun64(RTHCPHYS pVMCBHostPhys, RTHCPHYS pVMCBPhys, PCPUMCTX pCtx) 2272 { 2273 return VERR_NOT_IMPLEMENTED; 2274 } 2275 2276 #endif /* HC_ARCH_BITS == 32 */
Note:
See TracChangeset
for help on using the changeset viewer.