- Timestamp:
- Apr 18, 2007 7:52:04 PM (18 years ago)
- Location:
- trunk/src/VBox/Additions/linux/module
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/linux/module/cmc.c
r1067 r2195 33 33 } 34 34 35 static int vboxadd_hgcm_connect (VBoxDevice *dev, VBoxGuestHGCMConnectInfo *info)36 {37 return VbglHGCMConnect (info, vboxadd_hgcm_callback, dev, 0);38 }39 40 static int vboxadd_hgcm_disconnect (VBoxDevice *dev, VBoxGuestHGCMDisconnectInfo *info)41 {42 return VbglHGCMDisconnect (info, vboxadd_hgcm_callback, dev, 0);43 }44 45 static int vboxadd_hgcm_call (VBoxDevice *dev, VBoxGuestHGCMCallInfo *info)46 {47 return VbglHGCMCall (info, vboxadd_hgcm_callback, dev, 0);48 }49 50 35 DECLVBGL (int) vboxadd_cmc_call (void *opaque, uint32_t func, void *data) 51 36 { … … 53 38 { 54 39 case IOCTL_VBOXGUEST_HGCM_CONNECT: 55 return vboxadd_hgcm_connect (opaque, data);40 return VbglHGCMConnect (data, vboxadd_hgcm_callback, opaque, 0); 56 41 57 42 case IOCTL_VBOXGUEST_HGCM_DISCONNECT: 58 return vboxadd_hgcm_disconnect (opaque, data);43 return VbglHGCMDisconnect (data, vboxadd_hgcm_callback, opaque, 0); 59 44 60 45 case IOCTL_VBOXGUEST_HGCM_CALL: 61 return vboxadd_hgcm_call (opaque, data);46 return VbglHGCMCall (data, vboxadd_hgcm_callback, opaque, 0); 62 47 63 48 default: -
trunk/src/VBox/Additions/linux/module/waitcompat.h
r1 r2195 27 27 __wait_event_timeout(wq, condition, __ret); \ 28 28 __ret; \ 29 })29 }) 30 30 31 31 #define __wait_event_timeout(wq, condition, ret) \
Note:
See TracChangeset
for help on using the changeset viewer.