Changeset 34219 in vbox
- Timestamp:
- Nov 21, 2010 6:10:39 PM (14 years ago)
- Location:
- trunk
- Files:
-
- 3 added
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/VBox/log.h
r32536 r34219 252 252 /** PDM Async completion group. */ 253 253 LOG_GROUP_PDM_ASYNC_COMPLETION, 254 /** PDM Block cache group. */ 255 LOG_GROUP_PDM_BLK_CACHE, 254 256 /** PDM Device group. */ 255 257 LOG_GROUP_PDM_DEVICE, … … 459 461 "PDM", \ 460 462 "PDM_ASYNC_COMPLETION", \ 463 "PDM_BLK_CACHE", \ 461 464 "PDM_DEVICE", \ 462 465 "PDM_DRIVER", \ -
trunk/src/VBox/VMM/Makefile.kmk
r33935 r34219 167 167 PATM/PATMA.asm \ 168 168 PATM/PATMSSM.cpp \ 169 PATM/VMMAll/PATMAll.cpp 169 PATM/VMMAll/PATMAll.cpp \ 170 PDMBlkCache.cpp 170 171 ifdef VBOX_WITH_VUSB 171 172 VMMR3_SOURCES += PDMUsb.cpp -
trunk/src/VBox/VMM/PDM.cpp
r33595 r34219 344 344 #endif 345 345 if (RT_SUCCESS(rc)) 346 rc = pdmR3BlkCacheInit(pVM); 347 if (RT_SUCCESS(rc)) 346 348 rc = pdmR3DrvInit(pVM); 347 349 if (RT_SUCCESS(rc)) … … 606 608 pdmR3ThreadDestroyAll(pVM); 607 609 610 /* 611 * Destroy the block cache. 612 */ 613 pdmR3BlkCacheTerm(pVM); 614 608 615 #ifdef VBOX_WITH_PDM_ASYNC_COMPLETION 609 616 /* -
trunk/src/VBox/VMM/PDMDriver.cpp
r34207 r34219 660 660 AssertRC(rc); 661 661 662 /* Block caches. */ 663 PDMR3BlkCacheReleaseDriver(pVM, pCur); 664 662 665 /* Finally, the driver it self. */ 663 666 bool fHyperHeap = pCur->Internal.s.fHyperHeap; -
trunk/src/VBox/VMM/PDMInternal.h
r33540 r34219 25 25 #include <VBox/vusb.h> 26 26 #include <VBox/pdmasynccompletion.h> 27 #include <VBox/pdmblkcache.h> 27 28 #include <VBox/pdmcommon.h> 28 29 #include <iprt/assert.h> … … 914 915 typedef struct PDMASYNCCOMPLETIONEPCLASS *PPDMASYNCCOMPLETIONEPCLASS; 915 916 917 /** Pointer to the global block cache structure. */ 918 typedef struct PDMBLKCACHEGLOBAL *PPDMBLKCACHEGLOBAL; 916 919 917 920 /** … … 1052 1055 /** @} */ 1053 1056 1057 R3PTRTYPE(PPDMBLKCACHEGLOBAL) pBlkCacheGlobal; 1058 1054 1059 } PDMUSERPERVM; 1055 1060 /** Pointer to the PDM data kept in the UVM. */ … … 1163 1168 #endif 1164 1169 1170 int pdmR3BlkCacheInit(PVM pVM); 1171 void pdmR3BlkCacheTerm(PVM pVM); 1172 1165 1173 #endif /* IN_RING3 */ 1166 1174
Note:
See TracChangeset
for help on using the changeset viewer.