Changeset 20567 in vbox for trunk/src/VBox
- Timestamp:
- Jun 14, 2009 8:31:54 PM (16 years ago)
- Location:
- trunk/src/VBox
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Storage/DevATA.cpp
r20374 r20567 5400 5400 } 5401 5401 5402 #ifndef IN_RING0 5402 #ifndef IN_RING0 /** @todo do this in ring-0 as well. */ 5403 5403 /** 5404 5404 * Port I/O Handler for primary port range IN string operations. … … 5435 5435 cbTransfer = cTransAvailable * cb; 5436 5436 5437 #ifdef IN_RC5438 for (uint32_t i = 0; i < cbTransfer; i += cb)5439 MMGCRamWriteNoTrapHandler((char *)GCDst + i, s->CTX_SUFF(pbIOBuffer) + s->iIOBufferPIODataStart + i, cb);5440 #else /* !IN_RC */5441 5437 rc = PGMPhysSimpleDirtyWriteGCPtr(PDMDevHlpGetVMCPU(pDevIns), GCDst, s->CTX_SUFF(pbIOBuffer) + s->iIOBufferPIODataStart, cbTransfer); 5442 5438 Assert(rc == VINF_SUCCESS); 5443 #endif /* IN_RC */5444 5439 5445 5440 if (cbTransfer) … … 5492 5487 cbTransfer = cTransAvailable * cb; 5493 5488 5494 #ifdef IN_RC5495 for (uint32_t i = 0; i < cbTransfer; i += cb)5496 MMGCRamReadNoTrapHandler(s->CTX_SUFF(pbIOBuffer) + s->iIOBufferPIODataStart + i, (char *)GCSrc + i, cb);5497 #else /* !IN_RC */5498 5489 rc = PGMPhysSimpleReadGCPtr(PDMDevHlpGetVMCPU(pDevIns), s->CTX_SUFF(pbIOBuffer) + s->iIOBufferPIODataStart, GCSrc, cbTransfer); 5499 5490 Assert(rc == VINF_SUCCESS); 5500 #endif /* IN_RC */5501 5491 5502 5492 if (cbTransfer) -
trunk/src/VBox/VMM/PGMInternal.h
r20530 r20567 449 449 /** The HC virtual address of the two PAE page table. (i.e 1024 entries instead of 512) */ 450 450 R3PTRTYPE(PX86PTPAE) paPaePTsR3; 451 /** The GC virtual address of the 32-bit page table. */451 /** The RC virtual address of the 32-bit page table. */ 452 452 RCPTRTYPE(PX86PT) pPTRC; 453 /** The GC virtual address of the two PAE page table. */453 /** The RC virtual address of the two PAE page table. */ 454 454 RCPTRTYPE(PX86PTPAE) paPaePTsRC; 455 /** The GCvirtual address of the 32-bit page table. */455 /** The R0 virtual address of the 32-bit page table. */ 456 456 R0PTRTYPE(PX86PT) pPTR0; 457 /** The GCvirtual address of the two PAE page table. */457 /** The R0 virtual address of the two PAE page table. */ 458 458 R0PTRTYPE(PX86PTPAE) paPaePTsR0; 459 459 } aPTs[1]; … … 484 484 /** User argument for R0 handlers. */ 485 485 R0PTRTYPE(void *) pvUserR0; 486 /** Pointer to GC callback function. */486 /** Pointer to RC callback function. */ 487 487 RCPTRTYPE(PFNPGMRCPHYSHANDLER) pfnHandlerRC; 488 488 /** User argument for RC handlers. */ -
trunk/src/VBox/VMM/VMMAll/PGMAll.cpp
r20151 r20567 2231 2231 return VINF_SUCCESS; 2232 2232 } 2233 else 2234 LogFlow(("Out of sync entry %d\n", iPage)); 2233 LogFlow(("Out of sync entry %d\n", iPage)); 2235 2234 } 2236 2235 } … … 2242 2241 * Update the page tables. 2243 2242 */ 2244 registerunsigned iPage = pVM->pgm.s.iDynPageMapLast;2243 unsigned iPage = pVM->pgm.s.iDynPageMapLast; 2245 2244 unsigned i; 2246 for (i =0;i<(MM_HYPER_DYNAMIC_SIZE >> PAGE_SHIFT);i++)2245 for (i = 0; i < (MM_HYPER_DYNAMIC_SIZE >> PAGE_SHIFT); i++) 2247 2246 { 2248 2247 pVM->pgm.s.iDynPageMapLast = iPage = (iPage + 1) & ((MM_HYPER_DYNAMIC_SIZE >> PAGE_SHIFT) - 1); -
trunk/src/VBox/VMM/VMMAll/PGMAllPhys.cpp
r20530 r20567 2146 2146 } 2147 2147 2148 #ifndef IN_RC /* Ring 0 & 3 only. (Just not needed in GC.) */2149 2148 2150 2149 /** … … 2618 2617 } 2619 2618 2620 #endif /* !IN_RC */2621 2619 2622 2620 /**
Note:
See TracChangeset
for help on using the changeset viewer.