Changeset 5904 in vbox
- Timestamp:
- Dec 2, 2007 6:51:11 PM (17 years ago)
- Location:
- trunk/src/VBox/VMM
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/MMHeap.cpp
r5525 r5904 601 601 TAG2STR(PDM_QUEUE); 602 602 TAG2STR(PDM_THREAD); 603 TAG2STR(PDM_ASYNC_COMPLETION); 603 604 604 605 TAG2STR(PGM); -
trunk/src/VBox/VMM/PDM.cpp
r5722 r5904 183 183 if (VBOX_SUCCESS(rc)) 184 184 { 185 /* 186 * Register the saved state data unit. 187 */ 188 rc = SSMR3RegisterInternal(pVM, "pdm", 1, PDM_SAVED_STATE_VERSION, 128, 189 NULL, pdmR3Save, NULL, 190 pdmR3LoadPrep, pdmR3Load, NULL); 185 #ifdef VBOX_WITH_PDM_ASYNC_COMPLETION 186 rc = pdmR3AsyncCompletionInit(pVM); 191 187 if (VBOX_SUCCESS(rc)) 188 #endif 192 189 { 193 LogFlow(("PDM: Successfully initialized\n")); 194 return rc; 190 /* 191 * Register the saved state data unit. 192 */ 193 rc = SSMR3RegisterInternal(pVM, "pdm", 1, PDM_SAVED_STATE_VERSION, 128, 194 NULL, pdmR3Save, NULL, 195 pdmR3LoadPrep, pdmR3Load, NULL); 196 if (VBOX_SUCCESS(rc)) 197 { 198 LogFlow(("PDM: Successfully initialized\n")); 199 return rc; 200 } 201 195 202 } 196 197 203 } 198 204 } … … 410 416 pdmR3ThreadDestroyAll(pVM); 411 417 418 #ifdef VBOX_WITH_PDM_ASYNC_COMPLETION 419 /* 420 * Free async completion managers. 421 */ 422 pdmR3AsyncCompletionTerm(pVM); 423 #endif 424 412 425 /* 413 426 * Free modules. -
trunk/src/VBox/VMM/PDMInternal.h
r5812 r5904 922 922 int pdmR3ThreadSuspendAll(PVM pVM); 923 923 924 #ifdef VBOX_WITH_PDM_ASYNC_COMPLETION 925 int pdmR3AsyncCompletionInit(PVM pVM); 926 int pdmR3AsyncCompletionTerm(PVM pVM); 927 #endif 924 928 925 929 #endif /* IN_RING3 */ -
trunk/src/VBox/VMM/testcase/Makefile.kmk
r5898 r5904 33 33 SYSMODS += tstMicroGC 34 34 endif # VBOX_WITH_TESTCASES 35 36 ifdef VBOX_WITH_PDM_ASYNC_COMPLETION 37 PROGRAMS += tstPDMAsyncCompletion 38 endif 35 39 36 40 # … … 178 182 tstMicroGC_SOURCES.win = tstMicroGC.def 179 183 180 181 184 ifdef VBOX_WITH_PDM_ASYNC_COMPLETION 185 tstPDMAsyncCompletion_TEMPLATE = VBOXR3EXE 186 tstPDMAsyncCompletion_SOURCES = tstPDMAsyncCompletion.cpp 187 tstPDMAsyncCompletion_LIBS = $(LIB_VMM) $(LIB_REM) $(LIB_RUNTIME) 188 endif 182 189 183 190 include $(PATH_KBUILD)/subfooter.kmk
Note:
See TracChangeset
for help on using the changeset viewer.