Changeset 26218 in vbox for trunk/src/VBox/VMM
- Timestamp:
- Feb 3, 2010 9:24:13 PM (15 years ago)
- Location:
- trunk/src/VBox/VMM
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/Makefile.kmk
r25946 r26218 32 32 LIBRARIES += VMMR3 33 33 34 VMMR3_TEMPLATE = VB OXR334 VMMR3_TEMPLATE = VBoxR3Dll 35 35 36 36 VMMR3_DEFS = IN_VMM_R3 IN_DIS IN_GMM_R3 IN_DBG … … 208 208 # 209 209 DLLS += VBoxVMM 210 VBoxVMM_TEMPLATE = VB OXR3210 VBoxVMM_TEMPLATE = VBoxR3Dll 211 211 VBoxVMM_DEFS = $(VMMR3_DEFS) 212 212 VBoxVMM_DEFS.$(KBUILD_TARGET) = $(VMMR3_DEFS.$(KBUILD_TARGET)) … … 297 297 # 298 298 LIBRARIES += VMMR0Imp 299 VMMR0Imp_TEMPLATE = VB OXR0299 VMMR0Imp_TEMPLATE = VBoxR0 300 300 VMMR0Imp_SOURCES = $(PATH_VMMR0Imp)/VMMR0.def 301 301 VMMR0Imp_CLEAN = $(PATH_VMMR0Imp)/VMMR0.def … … 437 437 # 438 438 SYSMODS += VMMR0 439 VMMR0_TEMPLATE = VB OXR0439 VMMR0_TEMPLATE = VBoxR0 440 440 VMMR0_SYSSUFF = .r0 441 441 -
trunk/src/VBox/VMM/VMMAll/PGMAllBth.h
r26202 r26218 1052 1052 } 1053 1053 1054 /* Fetch the pgm pool shadow descriptor. */ 1055 PPGMPOOLPAGE pShwPde = pgmPoolGetPage(pPool, pPdptDst->a[iPdpt].u & SHW_PDPE_PG_MASK); 1056 Assert(pShwPde); 1054 /* Fetch the pgm pool shadow descriptor. */ 1055 PPGMPOOLPAGE pShwPde = pgmPoolGetPage(pPool, pPdptDst->a[iPdpt].u & SHW_PDPE_PG_MASK); 1056 Assert(pShwPde); 1057 1057 1058 1058 # endif /* PGM_SHW_TYPE == PGM_TYPE_AMD64 */ … … 2195 2195 Log(("CheckPageFault: real page fault at %RGv (%d)\n", GCPtrPage, uPageFaultLevel)); 2196 2196 2197 if ( 2197 if ( 1 2198 2198 # if PGM_GST_TYPE == PGM_TYPE_AMD64 2199 pPml4eSrc->n.u1Present &&2199 && pPml4eSrc->n.u1Present 2200 2200 # endif 2201 2201 # if PGM_GST_TYPE == PGM_TYPE_AMD64 || PGM_GST_TYPE == PGM_TYPE_PAE 2202 pPdpeSrc->n.u1Present &&2202 && pPdpeSrc->n.u1Present 2203 2203 # endif 2204 2204 && pPdeSrc->n.u1Present) 2205 2205 { 2206 2206 /* Check the present bit as the shadow tables can cause different error codes by being out of sync. */ … … 2218 2218 * Map the guest page table. 2219 2219 */ 2220 PGSTPT pPTSrc ;2221 rc = PGM_GCPHYS_2_PTR(pVM, pPdeSrc->u & GST_PDE_PG_MASK, &pPTSrc );2220 PGSTPT pPTSrc2; 2221 rc = PGM_GCPHYS_2_PTR(pVM, pPdeSrc->u & GST_PDE_PG_MASK, &pPTSrc2); 2222 2222 if (RT_SUCCESS(rc)) 2223 2223 { 2224 PGSTPTE pPteSrc = &pPTSrc->a[(GCPtrPage >> GST_PT_SHIFT) & GST_PT_MASK]; 2225 const GSTPTE PteSrc = *pPteSrc; 2224 PGSTPTE pPteSrc = &pPTSrc2->a[(GCPtrPage >> GST_PT_SHIFT) & GST_PT_MASK]; 2226 2225 if (pPteSrc->n.u1Present) 2227 2226 TRPMSetErrorCode(pVCpu, uErr | X86_TRAP_PF_P); /* page-level protection violation */
Note:
See TracChangeset
for help on using the changeset viewer.