Changeset 17853 in vbox for trunk/src/VBox/Additions/linux/module/vboxmod.h
- Timestamp:
- Mar 13, 2009 5:42:43 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/linux/module/vboxmod.h
r14218 r17853 27 27 #include <iprt/asm.h> 28 28 29 #define VBOXADD_NAME "vboxadd" 30 29 31 typedef struct VBoxDevice VBoxDevice; 30 32 struct VBoxDevice 31 33 { 32 /** the device name */33 char name[128];34 34 /** file node minor code */ 35 35 unsigned minor; … … 77 77 DECLVBGL (int) vboxadd_cmc_call (void *opaque, uint32_t func, void *data); 78 78 79 #if 080 /**81 * This IOCTL wrapper allows the guest to make an HGCM call from user space. The82 * OS-independant part of the Guest Additions already contain code for making an83 * HGCM call from the guest, but this code assumes that the call is made from the84 * kernel's address space. So before calling it, we have to copy all parameters85 * to the HGCM call from user space to kernel space and reconstruct the structures86 * passed to the call (which include pointers to other memory) inside the kernel's87 * address space.88 *89 * @returns 0 on success or Linux error code on failure90 * @param arg User space pointer to the call data structure91 */92 extern int vbox_ioctl_hgcm_call(unsigned long arg, VBoxDevice *vboxDev);93 94 /**95 * This call is similar to vbox_ioctl_hgcm_call, but for the _TIMEOUT variant96 * of the ioctl.97 *98 * @returns 0 on success or Linux error code on failure99 * @param arg User space pointer to the call data structure100 */101 extern int vbox_ioctl_hgcm_call_timeout(unsigned long arg, VBoxDevice *vboxDev);102 #endif103 104 79 #endif /* !VBOXMOD_H */
Note:
See TracChangeset
for help on using the changeset viewer.