Changeset 21260 in vbox for trunk/src/VBox/Additions/linux
- Timestamp:
- Jul 6, 2009 3:28:14 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/linux/module/cmc.c
r18316 r21260 53 53 int rc = VINF_SUCCESS; 54 54 55 /* this function can handle cancelled requests */56 55 if ( VBOXGUEST_IOCTL_STRIP_SIZE(func) 57 56 == VBOXGUEST_IOCTL_STRIP_SIZE(VBOXGUEST_IOCTL_HGCM_CALL(0))) 58 rc = VbglHGCMCall (data, vboxadd_hgcm_callback_interruptible, opaque, RT_INDEFINITE_WAIT); 59 /* this function can handle cancelled requests */ 57 /* this function can handle cancelled requests */ 58 rc = VbglR0HGCMInternalCall (data, VBGLR0_HGCMCALL_F_KERNEL, 59 vboxadd_hgcm_callback_interruptible, opaque, RT_INDEFINITE_WAIT); 60 60 else if ( VBOXGUEST_IOCTL_STRIP_SIZE(func) 61 61 == VBOXGUEST_IOCTL_STRIP_SIZE(VBOXGUEST_IOCTL_HGCM_CALL_TIMED(0))) … … 64 64 pCallInfo = (VBoxGuestHGCMCallInfoTimed *) data; 65 65 if (pCallInfo->fInterruptible) 66 rc = Vbgl HGCMCall (&pCallInfo->info, vboxadd_hgcm_callback_interruptible,67 opaque, pCallInfo->u32Timeout);66 rc = VbglR0HGCMInternalCall (&pCallInfo->info, VBGLR0_HGCMCALL_F_KERNEL, 67 vboxadd_hgcm_callback_interruptible, opaque, pCallInfo->u32Timeout); 68 68 else 69 rc = Vbgl HGCMCall (&pCallInfo->info, vboxadd_hgcm_callback,70 opaque, pCallInfo->u32Timeout);69 rc = VbglR0HGCMInternalCall (&pCallInfo->info, VBGLR0_HGCMCALL_F_KERNEL, 70 vboxadd_hgcm_callback, opaque, pCallInfo->u32Timeout); 71 71 } 72 72 else switch (func) … … 74 74 /* this function can NOT handle cancelled requests */ 75 75 case VBOXGUEST_IOCTL_HGCM_CONNECT: 76 rc = Vbgl HGCMConnect (data, vboxadd_hgcm_callback, opaque, RT_INDEFINITE_WAIT);76 rc = VbglR0HGCMInternalConnect (data, vboxadd_hgcm_callback, opaque, RT_INDEFINITE_WAIT); 77 77 break; 78 78 79 79 /* this function can NOT handle cancelled requests */ 80 80 case VBOXGUEST_IOCTL_HGCM_DISCONNECT: 81 rc = Vbgl HGCMDisconnect (data, vboxadd_hgcm_callback, opaque, RT_INDEFINITE_WAIT);81 rc = VbglR0HGCMInternalDisconnect (data, vboxadd_hgcm_callback, opaque, RT_INDEFINITE_WAIT); 82 82 break; 83 83
Note:
See TracChangeset
for help on using the changeset viewer.