- Timestamp:
- May 6, 2008 1:24:09 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/PGM.cpp
r8557 r8624 3748 3748 PPGMPHYSHANDLER pPrevPhys; 3749 3749 PPGMVIRTHANDLER pPrevVirt; 3750 PPGMPHYS2VIRTHANDLER pPrevPhys2Virt;3750 PPGMPHYS2VIRTHANDLER pPrevPhys2Virt; 3751 3751 PVM pVM; 3752 3752 } PGMCHECKINTARGS, *PPGMCHECKINTARGS; … … 3886 3886 */ 3887 3887 int cErrors = 0; 3888 PGMCHECKINTARGS Args = { true, NULL, NULL, NULL, pVM }; 3888 const static PGMCHECKINTARGS s_LeftToRight = { true, NULL, NULL, NULL, pVM }; 3889 const static PGMCHECKINTARGS s_RightToLeft = { false, NULL, NULL, NULL, pVM }; 3890 PGMCHECKINTARGS Args = s_LeftToRight; 3889 3891 cErrors += RTAvlroGCPhysDoWithAll(&pVM->pgm.s.pTreesHC->PhysHandlers, true, pgmR3CheckIntegrityPhysHandlerNode, &Args); 3890 Args .fLeftToRight = false;3892 Args = s_RightToLeft; 3891 3893 cErrors += RTAvlroGCPhysDoWithAll(&pVM->pgm.s.pTreesHC->PhysHandlers, false, pgmR3CheckIntegrityPhysHandlerNode, &Args); 3892 Args .fLeftToRight = true;3894 Args = s_LeftToRight; 3893 3895 cErrors += RTAvlroGCPtrDoWithAll( &pVM->pgm.s.pTreesHC->VirtHandlers, true, pgmR3CheckIntegrityVirtHandlerNode, &Args); 3894 Args .fLeftToRight = false;3896 Args = s_RightToLeft; 3895 3897 cErrors += RTAvlroGCPtrDoWithAll( &pVM->pgm.s.pTreesHC->VirtHandlers, false, pgmR3CheckIntegrityVirtHandlerNode, &Args); 3896 Args .fLeftToRight = true;3898 Args = s_LeftToRight; 3897 3899 cErrors += RTAvlroGCPtrDoWithAll( &pVM->pgm.s.pTreesHC->HyperVirtHandlers, true, pgmR3CheckIntegrityVirtHandlerNode, &Args); 3898 Args .fLeftToRight = false;3900 Args = s_RightToLeft; 3899 3901 cErrors += RTAvlroGCPtrDoWithAll( &pVM->pgm.s.pTreesHC->HyperVirtHandlers, false, pgmR3CheckIntegrityVirtHandlerNode, &Args); 3900 Args .fLeftToRight = true;3902 Args = s_LeftToRight; 3901 3903 cErrors += RTAvlroGCPhysDoWithAll(&pVM->pgm.s.pTreesHC->PhysToVirtHandlers, true, pgmR3CheckIntegrityPhysToVirtHandlerNode, &Args); 3902 Args .fLeftToRight = false;3904 Args = s_RightToLeft; 3903 3905 cErrors += RTAvlroGCPhysDoWithAll(&pVM->pgm.s.pTreesHC->PhysToVirtHandlers, false, pgmR3CheckIntegrityPhysToVirtHandlerNode, &Args); 3904 3906
Note:
See TracChangeset
for help on using the changeset viewer.