~ubuntu-branches/ubuntu/raring/virtualbox-ose/raring

« back to all changes in this revision

Viewing changes to src/VBox/HostDrivers/Support/SUPDrvIOC.h

  • Committer: Bazaar Package Importer
  • Author(s): Felix Geyer
  • Date: 2009-12-18 16:44:29 UTC
  • mfrom: (0.3.3 upstream) (0.4.6 squeeze)
  • Revision ID: james.westby@ubuntu.com-20091218164429-jd34ccexpv5na11a
Tags: 3.1.2-dfsg-1ubuntu1
* Merge from Debian unstable (LP: #498219), remaining changes:
  - Disable update action
    - debian/patches/u01-disable-update-action.dpatch
  - VirtualBox should go in Accessories, not in System tools (LP: #288590)
    - debian/virtualbox-ose-qt.files/virtualbox-ose.desktop
  - Add Apport hook
    - debian/virtualbox-ose.files/source_virtualbox-ose.py
    - debian/virtualbox-ose.install
  - Add Launchpad integration
    - debian/control
    - debian/lpi-bug.xpm
    - debian/patches/u02-lp-integration.dpatch
* Fixes the following bugs:
  - Kernel module fails to build with Linux >= 2.6.32 (LP: #474625)
  - X.Org drivers need to be rebuilt against X-Server 1.7 (LP: #495935)
  - The *-source packages try to build the kernel modules even though the
    kernel headers aren't available (LP: #473334)
* Replace *-source packages with transitional packages for *-dkms.
* Adapt u01-disable-update-action.dpatch and u02-lp-integration.dpatch for
  new upstream version.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/* $Revision: 49004 $ */
 
1
/* $Revision: 54587 $ */
2
2
/** @file
3
3
 * VirtualBox Support Driver - IOCtl definitions.
4
4
 */
34
34
/*
35
35
 * Basic types.
36
36
 */
37
 
#include <iprt/stdint.h>
 
37
#include <iprt/types.h>
38
38
 
39
39
/*
40
40
 * IOCtl numbers.
183
183
 * When incompatible changes are made, the upper major number has to be changed.
184
184
 *
185
185
 * Update rules:
186
 
 *  -# Only update the major number when incompatible changes has been made.
 
186
 *  -# Only update the major number when incompatible changes have been made to
 
187
 *     the IOC interface or the ABI provided via the functions returned by
 
188
 *     SUPQUERYFUNCS.
187
189
 *  -# When adding new features (new IOC number, new flags, new exports, ++)
188
190
 *     only update the minor number and change SUPLib.cpp to require the
189
191
 *     new IOC version.
190
192
 *  -# When incrementing the major number, clear the minor part and reset
191
193
 *     any IOC version requirements in SUPLib.cpp.
 
194
 *  -# When increment the major number, execute all pending work.
192
195
 *
193
196
 * @todo Pending work on next major version change:
194
197
 *          - Nothing.
 
198
 *
 
199
 * @remarks Major version 0x0011YYYY was consumed by the 3.0.12 release. The
 
200
 *          next major version used on the trunk will be 0x00120000!
195
201
 */
196
 
#define SUPDRV_IOC_VERSION                              0x000e0000
 
202
#define SUPDRV_IOC_VERSION                              0x00100001
197
203
 
198
204
/** SUP_IOCTL_COOKIE. */
199
205
typedef struct SUPCOOKIE
1076
1082
 
1077
1083
/** @} */
1078
1084
 
 
1085
/** @name SUP_IOCTL_VT_CAPS Input.
 
1086
 * @{
 
1087
 */
 
1088
/** Free contious memory. */
 
1089
#define SUP_IOCTL_VT_CAPS                               SUP_CTL_CODE_SIZE(26, SUP_IOCTL_VT_CAPS_SIZE)
 
1090
#define SUP_IOCTL_VT_CAPS_SIZE                          sizeof(SUPVTCAPS)
 
1091
#define SUP_IOCTL_VT_CAPS_SIZE_IN                       sizeof(SUPREQHDR)
 
1092
#define SUP_IOCTL_VT_CAPS_SIZE_OUT                      sizeof(SUPVTCAPS)
 
1093
typedef struct SUPVTCAPS
 
1094
{
 
1095
    /** The header. */
 
1096
    SUPREQHDR               Hdr;
 
1097
    union
 
1098
    {
 
1099
        struct
 
1100
        {
 
1101
            /** The VT capability dword. */
 
1102
            uint32_t        Caps;
 
1103
        } Out;
 
1104
    } u;
 
1105
} SUPVTCAPS, *PSUPVTCAPS;
 
1106
/** @} */
1079
1107
 
1080
1108
#pragma pack()                          /* paranoia */
1081
1109