VirtualBox

Changeset 68654 in vbox for trunk/src/VBox/Additions/solaris


Ignore:
Timestamp:
Sep 5, 2017 5:22:12 PM (8 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
117885
Message:

VBoxGuestR0Lib: Function prefix and DECL macro cleanups.

Location:
trunk/src/VBox/Additions/solaris/Mouse
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/solaris/Mouse/testcase/solaris.h

    r68550 r68654  
    347347#define VBoxGuestCommonIOCtl(...) VINF_SUCCESS
    348348#define VBoxGuestCommonISR(...) true
    349 #define VbglGRAlloc(...) VINF_SUCCESS
    350 #define VbglGRPerform(...) VINF_SUCCESS
    351 #define VbglGRFree(...) do {} while(0)
     349#define VbglR0GRAlloc(...) VINF_SUCCESS
     350#define VbglR0GRPerform(...) VINF_SUCCESS
     351#define VbglR0GRFree(...) do {} while(0)
    352352#endif
    353353#define VbglR0InitClient(...) VINF_SUCCESS
  • trunk/src/VBox/Additions/solaris/Mouse/vboxms.c

    r68640 r68654  
    472472        if (RT_SUCCESS(rc))
    473473        {
    474             rc = VbglGRAlloc((VMMDevRequestHeader **)
     474            rc = VbglR0GRAlloc((VMMDevRequestHeader **)
    475475                             &pState->pMouseStatusReq,
    476476                             sizeof(*pState->pMouseStatusReq),
     
    488488                qprocson(pReadQueue);
    489489                /* Enable our IRQ handler. */
    490                 rc2 = VbglSetMouseNotifyCallback(vbmsSolNotify,
    491                                                  (void *)pState);
     490                rc2 = VbglR0SetMouseNotifyCallback(vbmsSolNotify, (void *)pState);
    492491                if (RT_FAILURE(rc2))
    493492                    /* Log the failure.  I may well have not understood what
     
    525524    pState->pMouseStatusReq->pointerXPos = 0;
    526525    pState->pMouseStatusReq->pointerYPos = 0;
    527     rc = VbglGRPerform(&pState->pMouseStatusReq->header);
     526    rc = VbglR0GRPerform(&pState->pMouseStatusReq->header);
    528527    if (RT_SUCCESS(rc))
    529528    {
     
    590589    if (!pState->cInits)
    591590    {
    592         VbglSetMouseStatus(0);
     591        VbglR0SetMouseStatus(0);
    593592        /* Disable our IRQ handler. */
    594         VbglSetMouseNotifyCallback(NULL, NULL);
     593        VbglR0SetMouseNotifyCallback(NULL, NULL);
    595594        qprocsoff(pReadQueue);
    596595
     
    600599        ASMAtomicWriteNullPtr(&pState->pWriteQueue);
    601600        pReadQueue->q_ptr = NULL;
    602         VbglGRFree(&pState->pMouseStatusReq->header);
     601        VbglR0GRFree(&pState->pMouseStatusReq->header);
    603602        VbglR0TerminateClient();
    604603    }
     
    13761375            pState->cMaxScreenY = pResolution->height - 1;
    13771376            /* Note: we don't disable this again until session close. */
    1378             rc = VbglSetMouseStatus(  VMMDEV_MOUSE_GUEST_CAN_ABSOLUTE
    1379                                     | VMMDEV_MOUSE_NEW_PROTOCOL);
     1377            rc = VbglR0SetMouseStatus(  VMMDEV_MOUSE_GUEST_CAN_ABSOLUTE
     1378                                      | VMMDEV_MOUSE_NEW_PROTOCOL);
    13801379            if (RT_SUCCESS(rc))
    13811380                return 0;
Note: See TracChangeset for help on using the changeset viewer.

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