Changeset 7517 in vbox for trunk/include
- Timestamp:
- Mar 22, 2008 11:15:44 PM (17 years ago)
- svn:sync-xref-src-repo-rev:
- 28986
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/VBox/VBoxGuest.h
r7464 r7517 67 67 /** device name */ 68 68 # define VBOXGUEST_DEVICE_NAME_DOS L"\\DosDevices\\VBoxGuest" 69 70 #elif defined(RT_OS_FREEBSD) 71 /** The support device name. */ 72 # define VBOXGUEST_DEVICE_NAME "/dev/vboxguest" 69 73 70 74 #else … … 1015 1019 # define VBOXGUEST_IOCTL_STRIP_SIZE(Code) VBOXGUEST_IOCTL_CODE(_IOC_NR((Code)), 0) 1016 1020 1017 #elif 0 /* BSD style - needs some adjusting since _IORW takes a type and not a size. */1021 #elif defined(RT_OS_FREEBSD) 1018 1022 # include <sys/ioccom.h> 1019 # define VBOXGUEST_IOCTL_CODE(Function, Size) _IORW('V', (Function) | VBOXGUEST_IOCTL_FLAG, (Size)) 1023 1024 # define VBOXGUEST_IOCTL_CODE(Function, Size) _IOWR('V', (Function) | VBOXGUEST_IOCTL_FLAG, VBGLBIGREQ) 1020 1025 # define VBOXGUEST_IOCTL_CODE_FAST(Function) _IO( 'V', (Function) | VBOXGUEST_IOCTL_FLAG) 1021 1026 # define VBOXGUEST_IOCTL_STRIP_SIZE(Code) IOCBASECMD(Code)
Note:
See TracChangeset
for help on using the changeset viewer.