VirtualBox

Changeset 57389 in vbox for trunk/src/VBox/VMM


Ignore:
Timestamp:
Aug 17, 2015 2:24:02 PM (9 years ago)
Author:
vboxsync
Message:

VMM: DECLCALLBACK

Location:
trunk/src/VBox/VMM/VMMR3
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMR3/CSAM.cpp

    r57358 r57389  
    10361036 *
    10371037 */
    1038 static int CSAMR3AnalyseCallback(PVM pVM, DISCPUSTATE *pCpu, RCPTRTYPE(uint8_t *) pInstrGC, RCPTRTYPE(uint8_t *) pCurInstrGC,
    1039                                  PCSAMP2GLOOKUPREC pCacheRec, void *pUserData)
     1038static DECLCALLBACK(int) CSAMR3AnalyseCallback(PVM pVM, DISCPUSTATE *pCpu, RCPTRTYPE(uint8_t *) pInstrGC, RCPTRTYPE(uint8_t *) pCurInstrGC,
     1039                                               PCSAMP2GLOOKUPREC pCacheRec, void *pUserData)
    10401040{
    10411041    PCSAMPAGE pPage = (PCSAMPAGE)pUserData;
  • trunk/src/VBox/VMM/VMMR3/PATM.cpp

    r57358 r57389  
    17011701 *
    17021702 */
    1703 static int patmRecompileCallback(PVM pVM, DISCPUSTATE *pCpu, RCPTRTYPE(uint8_t *) pInstrGC, RCPTRTYPE(uint8_t *) pCurInstrGC, PPATMP2GLOOKUPREC pCacheRec)
     1703static DECLCALLBACK(int) patmRecompileCallback(PVM pVM, DISCPUSTATE *pCpu, RCPTRTYPE(uint8_t *) pInstrGC, RCPTRTYPE(uint8_t *) pCurInstrGC, PPATMP2GLOOKUPREC pCacheRec)
    17041704{
    17051705    PPATCHINFO pPatch = (PPATCHINFO)pCacheRec->pPatch;
     
    56495649 * @param   pvUser   The refresh state.
    56505650 */
    5651 static int patmR3PatchRefreshFindTrampolinePatch(PAVLU32NODECORE pNode, void *pvUser)
     5651static DECLCALLBACK(int) patmR3PatchRefreshFindTrampolinePatch(PAVLU32NODECORE pNode, void *pvUser)
    56525652{
    56535653    PRECPATCHTOGUEST  pPatch2GuestRec = (PRECPATCHTOGUEST)pNode;
  • trunk/src/VBox/VMM/VMMR3/PDMAsyncCompletionFile.cpp

    r57358 r57389  
    299299}
    300300
    301 void pdmacFileEpTaskCompleted(PPDMACTASKFILE pTask, void *pvUser, int rc)
     301static DECLCALLBACK(void) pdmacFileEpTaskCompleted(PPDMACTASKFILE pTask, void *pvUser, int rc)
    302302{
    303303    PPDMASYNCCOMPLETIONTASKFILE pTaskFile = (PPDMASYNCCOMPLETIONTASKFILE)pvUser;
     
    790790#endif /* VBOX_WITH_DEBUGGER */
    791791
    792 static int pdmacFileInitialize(PPDMASYNCCOMPLETIONEPCLASS pClassGlobals, PCFGMNODE pCfgNode)
     792static DECLCALLBACK(int) pdmacFileInitialize(PPDMASYNCCOMPLETIONEPCLASS pClassGlobals, PCFGMNODE pCfgNode)
    793793{
    794794    PPDMASYNCCOMPLETIONEPCLASSFILE pEpClassFile = (PPDMASYNCCOMPLETIONEPCLASSFILE)pClassGlobals;
     
    874874}
    875875
    876 static void pdmacFileTerminate(PPDMASYNCCOMPLETIONEPCLASS pClassGlobals)
     876static DECLCALLBACK(void) pdmacFileTerminate(PPDMASYNCCOMPLETIONEPCLASS pClassGlobals)
    877877{
    878878    PPDMASYNCCOMPLETIONEPCLASSFILE pEpClassFile = (PPDMASYNCCOMPLETIONEPCLASSFILE)pClassGlobals;
     
    888888}
    889889
    890 static int pdmacFileEpInitialize(PPDMASYNCCOMPLETIONENDPOINT pEndpoint,
    891                                  const char *pszUri, uint32_t fFlags)
     890static DECLCALLBACK(int) pdmacFileEpInitialize(PPDMASYNCCOMPLETIONENDPOINT pEndpoint,
     891                                               const char *pszUri, uint32_t fFlags)
    892892{
    893893    PPDMASYNCCOMPLETIONENDPOINTFILE pEpFile = (PPDMASYNCCOMPLETIONENDPOINTFILE)pEndpoint;
     
    11171117}
    11181118
    1119 static int pdmacFileEpRangesLockedDestroy(PAVLRFOFFNODECORE pNode, void *pvUser)
     1119static DECLCALLBACK(int) pdmacFileEpRangesLockedDestroy(PAVLRFOFFNODECORE pNode, void *pvUser)
    11201120{
    11211121    NOREF(pNode); NOREF(pvUser);
     
    11241124}
    11251125
    1126 static int pdmacFileEpClose(PPDMASYNCCOMPLETIONENDPOINT pEndpoint)
     1126static DECLCALLBACK(int) pdmacFileEpClose(PPDMASYNCCOMPLETIONENDPOINT pEndpoint)
    11271127{
    11281128    PPDMASYNCCOMPLETIONENDPOINTFILE pEpFile      = (PPDMASYNCCOMPLETIONENDPOINTFILE)pEndpoint;
     
    11631163}
    11641164
    1165 static int pdmacFileEpRead(PPDMASYNCCOMPLETIONTASK pTask,
    1166                            PPDMASYNCCOMPLETIONENDPOINT pEndpoint, RTFOFF off,
    1167                            PCRTSGSEG paSegments, size_t cSegments,
    1168                            size_t cbRead)
     1165static DECLCALLBACK(int) pdmacFileEpRead(PPDMASYNCCOMPLETIONTASK pTask,
     1166                                         PPDMASYNCCOMPLETIONENDPOINT pEndpoint, RTFOFF off,
     1167                                         PCRTSGSEG paSegments, size_t cSegments,
     1168                                         size_t cbRead)
    11691169{
    11701170    PPDMASYNCCOMPLETIONENDPOINTFILE pEpFile = (PPDMASYNCCOMPLETIONENDPOINTFILE)pEndpoint;
     
    11851185}
    11861186
    1187 static int pdmacFileEpWrite(PPDMASYNCCOMPLETIONTASK pTask,
    1188                             PPDMASYNCCOMPLETIONENDPOINT pEndpoint, RTFOFF off,
    1189                             PCRTSGSEG paSegments, size_t cSegments,
    1190                             size_t cbWrite)
     1187static DECLCALLBACK(int) pdmacFileEpWrite(PPDMASYNCCOMPLETIONTASK pTask,
     1188                                          PPDMASYNCCOMPLETIONENDPOINT pEndpoint, RTFOFF off,
     1189                                          PCRTSGSEG paSegments, size_t cSegments,
     1190                                          size_t cbWrite)
    11911191{
    11921192    PPDMASYNCCOMPLETIONENDPOINTFILE pEpFile = (PPDMASYNCCOMPLETIONENDPOINTFILE)pEndpoint;
     
    12071207}
    12081208
    1209 static int pdmacFileEpFlush(PPDMASYNCCOMPLETIONTASK pTask,
    1210                             PPDMASYNCCOMPLETIONENDPOINT pEndpoint)
     1209static DECLCALLBACK(int) pdmacFileEpFlush(PPDMASYNCCOMPLETIONTASK pTask,
     1210                                          PPDMASYNCCOMPLETIONENDPOINT pEndpoint)
    12111211{
    12121212    PPDMASYNCCOMPLETIONENDPOINTFILE pEpFile   = (PPDMASYNCCOMPLETIONENDPOINTFILE)pEndpoint;
     
    12311231}
    12321232
    1233 static int pdmacFileEpGetSize(PPDMASYNCCOMPLETIONENDPOINT pEndpoint, uint64_t *pcbSize)
     1233static DECLCALLBACK(int) pdmacFileEpGetSize(PPDMASYNCCOMPLETIONENDPOINT pEndpoint, uint64_t *pcbSize)
    12341234{
    12351235    PPDMASYNCCOMPLETIONENDPOINTFILE pEpFile = (PPDMASYNCCOMPLETIONENDPOINTFILE)pEndpoint;
     
    12401240}
    12411241
    1242 static int pdmacFileEpSetSize(PPDMASYNCCOMPLETIONENDPOINT pEndpoint, uint64_t cbSize)
     1242static DECLCALLBACK(int) pdmacFileEpSetSize(PPDMASYNCCOMPLETIONENDPOINT pEndpoint, uint64_t cbSize)
    12431243{
    12441244    int rc;
  • trunk/src/VBox/VMM/VMMR3/PDMBlkCache.cpp

    r57358 r57389  
    13751375 * @param    pvUser    Opaque user data.
    13761376 */
    1377 static int pdmBlkCacheEntryDestroy(PAVLRU64NODECORE pNode, void *pvUser)
     1377static DECLCALLBACK(int) pdmBlkCacheEntryDestroy(PAVLRU64NODECORE pNode, void *pvUser)
    13781378{
    13791379    PPDMBLKCACHEENTRY  pEntry = (PPDMBLKCACHEENTRY)pNode;
     
    26952695 * @param    pvUser    Opaque user data.
    26962696 */
    2697 static int pdmBlkCacheEntryQuiesce(PAVLRU64NODECORE pNode, void *pvUser)
     2697static DECLCALLBACK(int) pdmBlkCacheEntryQuiesce(PAVLRU64NODECORE pNode, void *pvUser)
    26982698{
    26992699    PPDMBLKCACHEENTRY   pEntry    = (PPDMBLKCACHEENTRY)pNode;
  • trunk/src/VBox/VMM/VMMR3/PDMNetShaper.cpp

    r57358 r57389  
    410410 * @param   pThread     The PDM thread data.
    411411 */
    412 static DECLCALLBACK(int) pdmR3NsTxThread(PVM pVM, PPDMTHREAD pThread)
     412static int pdmR3NsTxThread(PVM pVM, PPDMTHREAD pThread)
    413413{
    414414    PPDMNETSHAPER pShaper = (PPDMNETSHAPER)pThread->pvUser;
     
    435435 * @copydoc FNPDMTHREADWAKEUPINT
    436436 */
    437 static DECLCALLBACK(int) pdmR3NsTxWakeUp(PVM pVM, PPDMTHREAD pThread)
     437static int pdmR3NsTxWakeUp(PVM pVM, PPDMTHREAD pThread)
    438438{
    439439    PPDMNETSHAPER pShaper = (PPDMNETSHAPER)pThread->pvUser;
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette