VirtualBox

Changeset 14316 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Nov 18, 2008 4:42:12 PM (16 years ago)
Author:
vboxsync
Message:

VBoxGuest.cpp: build fix.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/common/VBoxGuest/VBoxGuest.cpp

    r14311 r14316  
    841841
    842842/** Worker for VBoxGuestHGCMAsyncWaitCallback*. */
    843 void
    844 VBoxGuestHGCMAsyncWaitCallbackWorker(VMMDevHGCMRequestHeader *pHdrNonVolatile, PVBOXGUESTDEVEXT pDevExt,
    845                                      bool fInterruptible, uint32_t u32Timeout)
    846 {
    847     VMMDevHGCMRequestHeader volatile *pHdr = (VMMDevHGCMRequestHeader volatile *)pHdrNonVolatile;
     843static void VBoxGuestHGCMAsyncWaitCallbackWorker(VMMDevHGCMRequestHeader volatile *pHdr, PVBOXGUESTDEVEXT pDevExt,
     844                                                 bool fInterruptible, uint32_t u32Timeout)
     845{
    848846
    849847    /*
     
    918916 * It operates in a manner similar to VBoxGuestCommonIOCtl_WaitEvent.
    919917 */
    920 static DECLCALLBACK(void) VBoxGuestHGCMAsyncWaitCallback(VMMDevHGCMRequestHeader *pHdrNonVolatile,
    921                                                          void *pvUser, uint32_t u32User)
    922 {
    923     VMMDevHGCMRequestHeader volatile *pHdr = (VMMDevHGCMRequestHeader volatile *)pHdrNonVolatile;
     918static DECLCALLBACK(void) VBoxGuestHGCMAsyncWaitCallback(VMMDevHGCMRequestHeader *pHdr, void *pvUser, uint32_t u32User)
     919{
    924920    const bool fInterruptible = (bool)u32User;
    925921    PVBOXGUESTDEVEXT pDevExt = (PVBOXGUESTDEVEXT)pvUser;
    926922    LogFunc(("requestType=%d\n", pHdr->header.requestType));
    927     VBoxGuestHGCMAsyncWaitCallbackWorker(pHdrNonVolatile, pDevExt, fInterruptible, RT_INDEFINITE_WAIT);
     923    VBoxGuestHGCMAsyncWaitCallbackWorker((VMMDevHGCMRequestHeader volatile *)pHdr, pDevExt, fInterruptible, RT_INDEFINITE_WAIT);
    928924}
    929925
     
    934930 * It operates in a manner similar to VBoxGuestCommonIOCtl_WaitEvent.
    935931 */
    936 static DECLCALLBACK(void) VBoxGuestHGCMAsyncWaitCallbackTimeoutInterruptible(VMMDevHGCMRequestHeader *pHdrNonVolatile,
    937                                                                              void *pvUser, uint32_t u32User)
     932static DECLCALLBACK(void) VBoxGuestHGCMAsyncWaitCallbackTimeoutInterruptible(VMMDevHGCMRequestHeader *pHdr, void *pvUser, uint32_t u32User)
    938933{
    939934    PVBOXGUESTDEVEXT pDevExt = (PVBOXGUESTDEVEXT)pvUser;
    940935    LogFunc(("requestType=%d\n", pHdr->header.requestType));
    941     VBoxGuestHGCMAsyncWaitCallbackWorker(pHdrNonVolatile, pDevExt, true /* fInterruptible */, u32user);
     936    VBoxGuestHGCMAsyncWaitCallbackWorker((VMMDevHGCMRequestHeader volatile *)pHdr, pDevExt, true /* fInterruptible */, u32User);
    942937}
    943938
     
    948943 * It operates in a manner similar to VBoxGuestCommonIOCtl_WaitEvent.
    949944 */
    950 static DECLCALLBACK(void) VBoxGuestHGCMAsyncWaitCallbackTimeout(VMMDevHGCMRequestHeader *pHdrNonVolatile,
    951                                                                 void *pvUser, uint32_t u32User)
     945static DECLCALLBACK(void) VBoxGuestHGCMAsyncWaitCallbackTimeout(VMMDevHGCMRequestHeader *pHdr, void *pvUser, uint32_t u32User)
    952946{
    953947    PVBOXGUESTDEVEXT pDevExt = (PVBOXGUESTDEVEXT)pvUser;
    954948    LogFunc(("requestType=%d\n", pHdr->header.requestType));
    955     VBoxGuestHGCMAsyncWaitCallbackWorker(pHdrNonVolatile, pDevExt, false /* fInterruptible */, u32user);
     949    VBoxGuestHGCMAsyncWaitCallbackWorker((VMMDevHGCMRequestHeader volatile *)pHdr, pDevExt, false /* fInterruptible */, u32User);
    956950}
    957951
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