- Timestamp:
- Aug 10, 2009 2:05:44 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/PGM.cpp
r21994 r22137 680 680 { "pgmerror", 0, 1, &g_aPgmErrorArgs[0], 1, NULL, 0, pgmR3CmdError, "", "Enables inject runtime of errors into parts of PGM." }, 681 681 { "pgmerroroff", 0, 1, &g_aPgmErrorArgs[0], 1, NULL, 0, pgmR3CmdError, "", "Disables inject runtime errors into parts of PGM." }, 682 #ifdef VBOX_STRICT 682 #ifdef VBOX_STRICT 683 683 { "pgmassertcr3", 0, 0, NULL, 0, NULL, 0, pgmR3CmdAssertCR3, "", "Check the shadow CR3 mapping." }, 684 #endif 684 #endif 685 685 { "pgmsyncalways", 0, 0, NULL, 0, NULL, 0, pgmR3CmdSyncAlways, "", "Toggle permanent CR3 syncing." }, 686 686 { "pgmphystofile", 1, 2, &g_aPgmPhysToFileArgs[0], 2, NULL, 0, pgmR3CmdPhysToFile, "", "Save the physical memory to file." }, … … 2034 2034 pgmR3PhysRelinkRamRanges(pVM); 2035 2035 } 2036 2037 /* 2038 * Update the pSelfRC pointer of the MMIO2 ram ranges since they might not 2039 * be mapped and thus not included in the above exercise. 2040 */ 2041 for (PPGMMMIO2RANGE pCur = pVM->pgm.s.pMmio2RangesR3; pCur; pCur = pCur->pNextR3) 2042 if (!(pCur->RamRange.fFlags & PGM_RAM_RANGE_FLAGS_FLOATING)) 2043 pCur->RamRange.pSelfRC = MMHyperCCToRC(pVM, &pCur->RamRange); 2036 2044 2037 2045 /* … … 5020 5028 5021 5029 pgmLock(pVM); 5022 for (PPGMRAMRANGE pRam = pVM->pgm.s.pRamRangesR3; 5023 pRam && pRam->GCPhys < GCPhysEnd && RT_SUCCESS(rc); 5030 for (PPGMRAMRANGE pRam = pVM->pgm.s.pRamRangesR3; 5031 pRam && pRam->GCPhys < GCPhysEnd && RT_SUCCESS(rc); 5024 5032 pRam = pRam->pNextR3) 5025 5033 { … … 5040 5048 { 5041 5049 if (fIncZeroPgs) 5042 { 5050 { 5043 5051 rc = RTFileWrite(hFile, abZeroPg, PAGE_SIZE, NULL); 5044 5052 if (RT_FAILURE(rc)) … … 5075 5083 case PGMPAGETYPE_MMIO: 5076 5084 if (fIncZeroPgs) 5077 { 5085 { 5078 5086 rc = RTFileWrite(hFile, abZeroPg, PAGE_SIZE, NULL); 5079 5087 if (RT_FAILURE(rc))
Note:
See TracChangeset
for help on using the changeset viewer.