Changeset 68654 in vbox for trunk/src/VBox/Additions/solaris/Mouse/vboxms.c
- Timestamp:
- Sep 5, 2017 5:22:12 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/solaris/Mouse/vboxms.c
r68640 r68654 472 472 if (RT_SUCCESS(rc)) 473 473 { 474 rc = Vbgl GRAlloc((VMMDevRequestHeader **)474 rc = VbglR0GRAlloc((VMMDevRequestHeader **) 475 475 &pState->pMouseStatusReq, 476 476 sizeof(*pState->pMouseStatusReq), … … 488 488 qprocson(pReadQueue); 489 489 /* Enable our IRQ handler. */ 490 rc2 = VbglSetMouseNotifyCallback(vbmsSolNotify, 491 (void *)pState); 490 rc2 = VbglR0SetMouseNotifyCallback(vbmsSolNotify, (void *)pState); 492 491 if (RT_FAILURE(rc2)) 493 492 /* Log the failure. I may well have not understood what … … 525 524 pState->pMouseStatusReq->pointerXPos = 0; 526 525 pState->pMouseStatusReq->pointerYPos = 0; 527 rc = Vbgl GRPerform(&pState->pMouseStatusReq->header);526 rc = VbglR0GRPerform(&pState->pMouseStatusReq->header); 528 527 if (RT_SUCCESS(rc)) 529 528 { … … 590 589 if (!pState->cInits) 591 590 { 592 Vbgl SetMouseStatus(0);591 VbglR0SetMouseStatus(0); 593 592 /* Disable our IRQ handler. */ 594 Vbgl SetMouseNotifyCallback(NULL, NULL);593 VbglR0SetMouseNotifyCallback(NULL, NULL); 595 594 qprocsoff(pReadQueue); 596 595 … … 600 599 ASMAtomicWriteNullPtr(&pState->pWriteQueue); 601 600 pReadQueue->q_ptr = NULL; 602 Vbgl GRFree(&pState->pMouseStatusReq->header);601 VbglR0GRFree(&pState->pMouseStatusReq->header); 603 602 VbglR0TerminateClient(); 604 603 } … … 1376 1375 pState->cMaxScreenY = pResolution->height - 1; 1377 1376 /* Note: we don't disable this again until session close. */ 1378 rc = Vbgl SetMouseStatus( VMMDEV_MOUSE_GUEST_CAN_ABSOLUTE1379 | VMMDEV_MOUSE_NEW_PROTOCOL);1377 rc = VbglR0SetMouseStatus( VMMDEV_MOUSE_GUEST_CAN_ABSOLUTE 1378 | VMMDEV_MOUSE_NEW_PROTOCOL); 1380 1379 if (RT_SUCCESS(rc)) 1381 1380 return 0;
Note:
See TracChangeset
for help on using the changeset viewer.