Changeset 57389 in vbox for trunk/src/VBox/VMM
- Timestamp:
- Aug 17, 2015 2:24:02 PM (9 years ago)
- Location:
- trunk/src/VBox/VMM/VMMR3
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMR3/CSAM.cpp
r57358 r57389 1036 1036 * 1037 1037 */ 1038 static intCSAMR3AnalyseCallback(PVM pVM, DISCPUSTATE *pCpu, RCPTRTYPE(uint8_t *) pInstrGC, RCPTRTYPE(uint8_t *) pCurInstrGC,1039 PCSAMP2GLOOKUPREC pCacheRec, void *pUserData)1038 static DECLCALLBACK(int) CSAMR3AnalyseCallback(PVM pVM, DISCPUSTATE *pCpu, RCPTRTYPE(uint8_t *) pInstrGC, RCPTRTYPE(uint8_t *) pCurInstrGC, 1039 PCSAMP2GLOOKUPREC pCacheRec, void *pUserData) 1040 1040 { 1041 1041 PCSAMPAGE pPage = (PCSAMPAGE)pUserData; -
trunk/src/VBox/VMM/VMMR3/PATM.cpp
r57358 r57389 1701 1701 * 1702 1702 */ 1703 static intpatmRecompileCallback(PVM pVM, DISCPUSTATE *pCpu, RCPTRTYPE(uint8_t *) pInstrGC, RCPTRTYPE(uint8_t *) pCurInstrGC, PPATMP2GLOOKUPREC pCacheRec)1703 static DECLCALLBACK(int) patmRecompileCallback(PVM pVM, DISCPUSTATE *pCpu, RCPTRTYPE(uint8_t *) pInstrGC, RCPTRTYPE(uint8_t *) pCurInstrGC, PPATMP2GLOOKUPREC pCacheRec) 1704 1704 { 1705 1705 PPATCHINFO pPatch = (PPATCHINFO)pCacheRec->pPatch; … … 5649 5649 * @param pvUser The refresh state. 5650 5650 */ 5651 static intpatmR3PatchRefreshFindTrampolinePatch(PAVLU32NODECORE pNode, void *pvUser)5651 static DECLCALLBACK(int) patmR3PatchRefreshFindTrampolinePatch(PAVLU32NODECORE pNode, void *pvUser) 5652 5652 { 5653 5653 PRECPATCHTOGUEST pPatch2GuestRec = (PRECPATCHTOGUEST)pNode; -
trunk/src/VBox/VMM/VMMR3/PDMAsyncCompletionFile.cpp
r57358 r57389 299 299 } 300 300 301 voidpdmacFileEpTaskCompleted(PPDMACTASKFILE pTask, void *pvUser, int rc)301 static DECLCALLBACK(void) pdmacFileEpTaskCompleted(PPDMACTASKFILE pTask, void *pvUser, int rc) 302 302 { 303 303 PPDMASYNCCOMPLETIONTASKFILE pTaskFile = (PPDMASYNCCOMPLETIONTASKFILE)pvUser; … … 790 790 #endif /* VBOX_WITH_DEBUGGER */ 791 791 792 static intpdmacFileInitialize(PPDMASYNCCOMPLETIONEPCLASS pClassGlobals, PCFGMNODE pCfgNode)792 static DECLCALLBACK(int) pdmacFileInitialize(PPDMASYNCCOMPLETIONEPCLASS pClassGlobals, PCFGMNODE pCfgNode) 793 793 { 794 794 PPDMASYNCCOMPLETIONEPCLASSFILE pEpClassFile = (PPDMASYNCCOMPLETIONEPCLASSFILE)pClassGlobals; … … 874 874 } 875 875 876 static voidpdmacFileTerminate(PPDMASYNCCOMPLETIONEPCLASS pClassGlobals)876 static DECLCALLBACK(void) pdmacFileTerminate(PPDMASYNCCOMPLETIONEPCLASS pClassGlobals) 877 877 { 878 878 PPDMASYNCCOMPLETIONEPCLASSFILE pEpClassFile = (PPDMASYNCCOMPLETIONEPCLASSFILE)pClassGlobals; … … 888 888 } 889 889 890 static intpdmacFileEpInitialize(PPDMASYNCCOMPLETIONENDPOINT pEndpoint,891 const char *pszUri, uint32_t fFlags)890 static DECLCALLBACK(int) pdmacFileEpInitialize(PPDMASYNCCOMPLETIONENDPOINT pEndpoint, 891 const char *pszUri, uint32_t fFlags) 892 892 { 893 893 PPDMASYNCCOMPLETIONENDPOINTFILE pEpFile = (PPDMASYNCCOMPLETIONENDPOINTFILE)pEndpoint; … … 1117 1117 } 1118 1118 1119 static intpdmacFileEpRangesLockedDestroy(PAVLRFOFFNODECORE pNode, void *pvUser)1119 static DECLCALLBACK(int) pdmacFileEpRangesLockedDestroy(PAVLRFOFFNODECORE pNode, void *pvUser) 1120 1120 { 1121 1121 NOREF(pNode); NOREF(pvUser); … … 1124 1124 } 1125 1125 1126 static intpdmacFileEpClose(PPDMASYNCCOMPLETIONENDPOINT pEndpoint)1126 static DECLCALLBACK(int) pdmacFileEpClose(PPDMASYNCCOMPLETIONENDPOINT pEndpoint) 1127 1127 { 1128 1128 PPDMASYNCCOMPLETIONENDPOINTFILE pEpFile = (PPDMASYNCCOMPLETIONENDPOINTFILE)pEndpoint; … … 1163 1163 } 1164 1164 1165 static intpdmacFileEpRead(PPDMASYNCCOMPLETIONTASK pTask,1166 PPDMASYNCCOMPLETIONENDPOINT pEndpoint, RTFOFF off,1167 PCRTSGSEG paSegments, size_t cSegments,1168 size_t cbRead)1165 static DECLCALLBACK(int) pdmacFileEpRead(PPDMASYNCCOMPLETIONTASK pTask, 1166 PPDMASYNCCOMPLETIONENDPOINT pEndpoint, RTFOFF off, 1167 PCRTSGSEG paSegments, size_t cSegments, 1168 size_t cbRead) 1169 1169 { 1170 1170 PPDMASYNCCOMPLETIONENDPOINTFILE pEpFile = (PPDMASYNCCOMPLETIONENDPOINTFILE)pEndpoint; … … 1185 1185 } 1186 1186 1187 static intpdmacFileEpWrite(PPDMASYNCCOMPLETIONTASK pTask,1188 PPDMASYNCCOMPLETIONENDPOINT pEndpoint, RTFOFF off,1189 PCRTSGSEG paSegments, size_t cSegments,1190 size_t cbWrite)1187 static DECLCALLBACK(int) pdmacFileEpWrite(PPDMASYNCCOMPLETIONTASK pTask, 1188 PPDMASYNCCOMPLETIONENDPOINT pEndpoint, RTFOFF off, 1189 PCRTSGSEG paSegments, size_t cSegments, 1190 size_t cbWrite) 1191 1191 { 1192 1192 PPDMASYNCCOMPLETIONENDPOINTFILE pEpFile = (PPDMASYNCCOMPLETIONENDPOINTFILE)pEndpoint; … … 1207 1207 } 1208 1208 1209 static intpdmacFileEpFlush(PPDMASYNCCOMPLETIONTASK pTask,1210 PPDMASYNCCOMPLETIONENDPOINT pEndpoint)1209 static DECLCALLBACK(int) pdmacFileEpFlush(PPDMASYNCCOMPLETIONTASK pTask, 1210 PPDMASYNCCOMPLETIONENDPOINT pEndpoint) 1211 1211 { 1212 1212 PPDMASYNCCOMPLETIONENDPOINTFILE pEpFile = (PPDMASYNCCOMPLETIONENDPOINTFILE)pEndpoint; … … 1231 1231 } 1232 1232 1233 static intpdmacFileEpGetSize(PPDMASYNCCOMPLETIONENDPOINT pEndpoint, uint64_t *pcbSize)1233 static DECLCALLBACK(int) pdmacFileEpGetSize(PPDMASYNCCOMPLETIONENDPOINT pEndpoint, uint64_t *pcbSize) 1234 1234 { 1235 1235 PPDMASYNCCOMPLETIONENDPOINTFILE pEpFile = (PPDMASYNCCOMPLETIONENDPOINTFILE)pEndpoint; … … 1240 1240 } 1241 1241 1242 static intpdmacFileEpSetSize(PPDMASYNCCOMPLETIONENDPOINT pEndpoint, uint64_t cbSize)1242 static DECLCALLBACK(int) pdmacFileEpSetSize(PPDMASYNCCOMPLETIONENDPOINT pEndpoint, uint64_t cbSize) 1243 1243 { 1244 1244 int rc; -
trunk/src/VBox/VMM/VMMR3/PDMBlkCache.cpp
r57358 r57389 1375 1375 * @param pvUser Opaque user data. 1376 1376 */ 1377 static intpdmBlkCacheEntryDestroy(PAVLRU64NODECORE pNode, void *pvUser)1377 static DECLCALLBACK(int) pdmBlkCacheEntryDestroy(PAVLRU64NODECORE pNode, void *pvUser) 1378 1378 { 1379 1379 PPDMBLKCACHEENTRY pEntry = (PPDMBLKCACHEENTRY)pNode; … … 2695 2695 * @param pvUser Opaque user data. 2696 2696 */ 2697 static intpdmBlkCacheEntryQuiesce(PAVLRU64NODECORE pNode, void *pvUser)2697 static DECLCALLBACK(int) pdmBlkCacheEntryQuiesce(PAVLRU64NODECORE pNode, void *pvUser) 2698 2698 { 2699 2699 PPDMBLKCACHEENTRY pEntry = (PPDMBLKCACHEENTRY)pNode; -
trunk/src/VBox/VMM/VMMR3/PDMNetShaper.cpp
r57358 r57389 410 410 * @param pThread The PDM thread data. 411 411 */ 412 static DECLCALLBACK(int)pdmR3NsTxThread(PVM pVM, PPDMTHREAD pThread)412 static int pdmR3NsTxThread(PVM pVM, PPDMTHREAD pThread) 413 413 { 414 414 PPDMNETSHAPER pShaper = (PPDMNETSHAPER)pThread->pvUser; … … 435 435 * @copydoc FNPDMTHREADWAKEUPINT 436 436 */ 437 static DECLCALLBACK(int)pdmR3NsTxWakeUp(PVM pVM, PPDMTHREAD pThread)437 static int pdmR3NsTxWakeUp(PVM pVM, PPDMTHREAD pThread) 438 438 { 439 439 PPDMNETSHAPER pShaper = (PPDMNETSHAPER)pThread->pvUser;
Note:
See TracChangeset
for help on using the changeset viewer.